All functions

getMeta

Extract metadata from a PDF file, including page count and document information. The PDF is sent as a base64-encoded string in the request body. Nothing is stored on the server.

POST/fx/pdf/metaAPI docs

1 credit / 1 execution / asset

Use cases

Pre-upload validation

Validate PDF files before processing. Check page count to enforce limits (e.g. max 50 pages for free tier) or estimate costs before running expensive operations.

Document pipeline quality gates

Use metadata in document pipelines to route files—reject empty PDFs, split large documents, or flag documents missing expected metadata fields.

Parameters

NameTypeDescription
organizationIdstringrequiredThe ID of the organization making the request
pdfBase64stringrequiredThe PDF file encoded as a base64 string

Response

NameTypeDescription
pageCountnumberTotal number of pages in the PDF
infoobjectDocument information (title, author, creator, producer, creation date, modification date)
metadataobject | nullRaw PDF metadata if available