Actions42
- Bulk Render Actions
- Document Actions
- Document Tool Actions
- File Actions
- Render Actions
Document Tool → Get Metadata
AI-generatedSummary
Extract PDF metadata (page count, title, author) for a given file ID.
Inputs
- fileId (required) — ID of the file uploaded via the File resource. Use File > Upload to get a file ID.
- waitForCompletion — Whether to wait for the tool job to complete before returning. Defaults to true.
- downloadOutput — Whether to automatically download the output file as binary data after completion. Requires waitForCompletion to be true.
Output shape
PDF metadata as a JSON object containing details such as page count, title, and author. If waitForCompletion is true and downloadOutput is true, binary data of the output file is also returned alongside the metadata.
The operation sends a POST request to /tools/pdf/metadata with the provided fileId. Job status polling and optional binary download are handled via the waitForCompletion and downloadOutput parameters.