Tally Files

Preview a visible workspace file

Revalidates current access and returns bounded preview content without exposing stored-object keys. For a PDF or image the inline kind carries a stable, session-authorized relative app path (/api/v1/tally/files/{fileId}/preview?content=inline), not a signed or expiring URL; it is fetched with the same session and re-authorizes on every request. Other kinds return a CSV/XLSX row window, text excerpt, safe ZIP listing, or a download-only result.

get/tally/files/{fileId}/preview

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/tally/files/{fileId}/preview
  • Auth: HTTP bearer

Path parameters

fileIdstring uuid required

Stable workspace file UUID

Query parameters

content'inline'

Streams authorized PDF/image bytes from the same origin (allowlist: pdf, png, jpeg, gif, webp) with X-Content-Type-Options: nosniff for browser preview rendering.

sheetstring
startRowinteger
rowLimitinteger

Response

Bounded workspace file preview

Changes

No recorded changes to this operation across all 5 revisions of this API.