Read a document

Ask the Document Extractor to read a PDF, a scan or a workbook in a thread: pick one of the three ways on its card, say what to pull out, and know how far each way reads.

The Document Extractor is the SPARK agent that gets the data out of your files. It reads a file into the thread, or batch extracts its tables and entities into data objects, with OCR when the file is a scan or when where each value sits on the page matters. Then it answers your questions on what it read.

Ask it in a thread

Attach the file to a message, pick it from Files, or tag it, and name the agent: @Document Extractor can you ingest the prospectus. See Add context.

You can also start with Spark. A file brought to Spark with no clear ask gets a card asking what to do with it, with Extract the data, Build a referential and Create a workflow. Extract the data hands the thread to the Document Extractor, which takes up your request where Spark left it.

Pick how it reads

Before the agent reads anything, the run asks you how, on a card in the thread: How should I read Kestrel_Prospectus_2026.pdf? (or How should I read these 3 files?). The agent never asks this itself, and never picks for you. The card offers three ways, always in this order, and marks the one the file suggests Suggested:

WayWhat it doesBest for
Continue chat and read file content directlyThe agent reads the file here, part by part or by searching it for named values, and answers in the thread. If you want rows in a table, it loads them into a data object.Most files: Recommended for most files
Batch extract documentsPulls every table and entity out of the whole file and saves them as data objects.Recommended for larger files
Batch extract documents with OCRReads every value of the file, each table cell and text block, with its page, its place on that page and a confidence.Recommended for larger files or when OCR lineage is important, and for scans

The last row, Something else, lets you answer in your own words. The way you pick holds for the whole turn: if it fails, the agent says what failed and why, and never switches to another way on its own. A way your message already names ("extract it with OCR"), or one an earlier turn used on the file, holds as surely as a pick on the card.

Document ExtractorAgentjust nowHow should I read Kestrel_Prospectus_2026.pdf?1Continue chat and read file content directlyRecommended for most files2Batch extract documentsRecommended for larger filesSuggested3Batch extract documents with OCROCRRecommended for larger files or when OCR lineage is important4Something else
The reading card: three ways, the one the file suggests marked.

Say what to pull out

The two batch ways ask a second question once picked:

  • Batch extract documents asks What should I pull out?: Tables (Every table, saved one row per value.), Entities (The funds, share classes, companies and people, saved with their details.), or both. Tick at least one.
  • Batch extract documents with OCR asks What else should I extract?: tick Entities (Every fund, company and person, each linked to where it was read.), or leave it empty for Only the source data.

Your message reaches the reading models as an instruction: name a part to focus on ("only the share class table", "sub-fund II") or keep it general.

What each way saves, and where

Every object a batch reading makes is named after the way, the kind and the time it was read (in UTC), and the file: for example Extract-OCR-Source-202611241030 (Kestrel_Prospectus_2026.pdf). They are filed in Data under the group Extract (OCR) or Extract (Parse).

WaySavesOpens beside the thread
Batch extract documentsExtract-Parse-Tables-… and Extract-Parse-Entities-…The newest of them
Batch extract documents with OCRExtract-OCR-Source-…, and Extract-OCR-Entities-… when you asked for entitiesThe Document Extraction view, which stays open
Continue chat and read file content directlyOnly the data objects you asked it to load rows intoThe file it read

Each object joins the thread's context, so you, the agent and anyone in the thread can open it from the panel beside the thread.

How far each way reads

WayReads
Batch extract documentsThe whole file, up to 2,000 pages, or 100,000 rows and 50,000 filled cells, and 100 MB. A bigger file is refused: split it, or load a sheet as a table as it is.
Batch extract documents with OCRUp to 150 PDF pages a call, and a document's first 1,000 pages at most. A workbook is read a sheet at a time.

A long file takes a few calls. In a thread the run carries the reading on for you, call after call; when the turn's time runs out it pauses, says how far it got, and keeps what it found so far in the objects beside the thread. Write carry on to read the rest. Nothing reads between turns.

A value that moves money (a capital call, a distribution, wire instructions, a settlement amount) needs a second person's check whatever its confidence. The agent says so, and offers to create a review task for a colleague.

Where to go next