Skip to main content

Overview

The Extract → Schema pipeline adds structured data extraction on top of the base extraction. You define a JSON Schema describing the fields you want, and Pulse extracts them from the entire document as structured JSON with citations.

When to Use

  • Invoice processing — extract vendor name, invoice number, line items, totals
  • Form extraction — pull fields from applications, tax forms, insurance claims
  • Contract parsing — extract parties, dates, clauses, obligations
  • Single-structure documents — any document where one schema covers the entire content
If your document has distinct sections that need different schemas (e.g., an annual report with Financials, Leadership, and Outlook), use Extract → Split → Schema instead.

How to Use in the Playground


What You Get Back

Everything from Extract, plus:

Schema Tips

The description property in your JSON Schema helps Pulse understand what to look for. Be specific:
Mark fields as required when you know they’ll always be present. Optional fields are returned as null if not found.
For tables or lists in the document (line items, attendees, clauses), use "type": "array" with an items schema.
The schema prompt gives the extraction model additional context. Use it to clarify ambiguities or specify preferences.
If your schema has many nested fields or the document layout is complex, enable Effort mode in the extraction settings for higher accuracy.

API Usage


Iterating on Your Schema

You don’t need to re-extract the document to try a different schema. Use a Schema-Only Rerun — see Reruns for details.

Schema API Reference

Full API documentation for the /schema endpoint

Schema Guidelines

Best practices for writing effective schemas