Agent use case

Detect and redact sensitive PDF data

Separate detection from irreversible redaction and return auditable artifacts.

Recommended pipeline

Treat detection output as a proposal, bind reviewed regions to the source hash, redact through the isolated adapter, and verify that hidden metadata and attachments are handled.

  1. Read the live capability detail and project limits.
  2. Upload and complete an immutable input.
  3. Submit the operation with a stable idempotency key and hard cost ceiling.
  4. 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("detect_pdf_sensitive_data", {
  fileIds: [input.file_id],
  maxCostMicrousd: 200000
});

Availability and parameters may differ by operation. Use the linked capability detail as the source of truth.

Run the quick start