Agent use case
Office and PDF conversion
Convert DOCX, XLSX, PPTX, ODF, PDF/A, and editable exports through an isolated container.
Recommended pipeline
Check media-type support and capability status, use a project credential for container operations, and validate the returned artifact rather than assuming perfect layout fidelity.
- Read the live capability detail and project limits.
- Upload and complete an immutable input.
- Submit the operation with a stable idempotency key and hard cost ceiling.
- Read terminal job state, artifact records, hashes, and receipt.
Relevant operations
Start with the SDK
const pdf = new PDFCentralClient({ apiKey: process.env.PDF_CENTRAL_API_KEY });
const input = await pdf.upload(bytes, { filename: "input.pdf" });
const job = await pdf.run("office_to_pdf", {
fileIds: [input.file_id],
maxCostMicrousd: 200000
});Availability and parameters may differ by operation. Use the linked capability detail as the source of truth.