Skip to main content
Cross-analyze lets the agent reason across 2-5 documents simultaneously. Unlike /analyze/batch (which processes documents independently), cross-analyze compares, validates, and reconciles data between documents.

Use cases

  • Validate an invoice against a contract or purchase order
  • Check that a report’s numbers match a source spreadsheet
  • Compare terms across multiple agreements
  • Reconcile data from different sources

Example

Works with Pydantic and Zod too — see Schemas.

Providing documents

You can mix uploaded files and URLs in a single request:

URL formats

Document labels

Each document gets a label used in source citations ([invoice] "...", [contract] "..."). Labels are auto-generated from filenames, or you can set them explicitly via document_labels (for uploaded files) or URL object keys (for URLs).

Response

Same structure as /analyze, plus per-document metadata:

Limits

Pricing

5 credits per document + 3 credits per page (minimum 10).