Pachca icon

Pachca

Interact with Pachca API

File → Get

AI-generated

Summary

Fetches a Pachca file by its ID. Optionally returns a file variant and a simplified response containing only key fields.

Inputs

  • ID (required) — File ID from the attachment object.
  • Simplify — Defaults to true; returns a simplified response instead of all fields.
  • Target — Selects a file variant: image, PDF first page, PDF preview, or thumbnail. If omitted, requests the original file. Requesting a variant the file does not have can result in a 400 error.

Output shape

A single file record or file response.

The exact fields depend on the selected target and whether Simplify is enabled.

Links

Discussion