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.
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
| Name | Type | Description | |
|---|---|---|---|
| organizationId | string | required | The ID of the organization making the request |
| pdfBase64 | string | required | The PDF file encoded as a base64 string |
Response
| Name | Type | Description |
|---|---|---|
| pageCount | number | Total number of pages in the PDF |
| info | object | Document information (title, author, creator, producer, creation date, modification date) |
| metadata | object | null | Raw PDF metadata if available |