# anyformat - [Documents in. Data out.](https://docs.anyformat.ai/index.md): Describe the fields you need once. anyformat reads every document you give it and returns structured data, with a confidence and a citation for each value. - [Introduction](https://docs.anyformat.ai/introduction.md): What anyformat does, how a workflow is put together, and where to go next. - [Quickstart](https://docs.anyformat.ai/guides/quickstart.md): Build a workflow in the app and extract data from a document. No code. - [API quickstart](https://docs.anyformat.ai/guides/quickstart-api.md): Create a workflow, run a document through it, and read the extracted values with curl, TypeScript, or Python. - [Connect your agent](https://docs.anyformat.ai/guides/connect-your-agent.md): Give Claude Code, Codex, Cursor, OpenCode or any MCP host a set of document tools, in one config block per client - [Nodes](https://docs.anyformat.ai/guides/nodes/overview.md): The building blocks of every workflow: what each node does, what it returns, and what it costs. - [Parse](https://docs.anyformat.ai/guides/nodes/parse.md): Reads the document and turns it into text, tables and layout that every other node works from. Every workflow starts with one. - [Extract](https://docs.anyformat.ai/guides/nodes/extract.md): Pulls the fields you define out of the parsed document, each with a value, a confidence and the evidence it came from. - [Smart lookup](https://docs.anyformat.ai/guides/nodes/smart-lookup.md): Resolves a field against a reference file you upload instead of reading it off the page, so a name on the document becomes the code your systems use. - [Classify](https://docs.anyformat.ai/guides/nodes/classify.md): Labels the document as one of your categories and routes it down that category's branch. - [Split](https://docs.anyformat.ai/guides/nodes/split.md): Breaks one file that holds several documents into pieces, and extracts each piece on its own. - [Validate](https://docs.anyformat.ai/guides/nodes/validate.md): Checks the values an Extract node produced against your rules and records a verdict per rule. Deterministic checks are free; AI rules cost 5 credits each. - [If/Else](https://docs.anyformat.ai/guides/nodes/if-else.md): Tests a condition on the extracted data and sends the document down a True or a False branch. Free. - [Slack alert](https://docs.anyformat.ai/guides/nodes/slack-alert.md): Posts a message to a Slack channel when a document reaches it, with extracted values and rule verdicts filled in. Free. - [Email alert](https://docs.anyformat.ai/guides/nodes/email-alert.md): Sends an email when a document reaches it. Coming soon: the tile is in the palette, but it cannot be added to a workflow yet. - [Edit](https://docs.anyformat.ai/guides/nodes/edit.md): Fills the blank form it was given and returns the completed PDF. Reads the fields off the document itself; you map nothing by hand. - [Knowledge](https://docs.anyformat.ai/guides/nodes/knowledge.md): Indexes documents from completed workflow runs into a knowledge base you can browse, search, and ask questions of, with answers cited back to the page. - [Workflows](https://docs.anyformat.ai/concepts/workflows.md): A workflow is the set of instructions that tells anyformat what to pull out of your documents. Build it once; it runs on every document you add. - [Studio](https://docs.anyformat.ai/concepts/studio.md): The visual editor where you build a workflow by connecting nodes on a canvas. - [Using Studio](https://docs.anyformat.ai/guides/studio/index.md): Open Studio, add nodes to the canvas, connect them, and build workflows that go beyond Parse → Extract. - [Ask annie](https://docs.anyformat.ai/concepts/annie.md): Describe what you want in plain language. annie builds, runs, and improves your workflows. - [Using Ask annie](https://docs.anyformat.ai/guides/annie.md): Build, run, and improve workflows by chatting with annie, anyformat's AI assistant. - [Creating Workflows](https://docs.anyformat.ai/guides/workflows/creating.md): How to create and configure workflows in anyformat - [Running Workflows](https://docs.anyformat.ai/guides/workflows/running.md): How to run workflows on documents in anyformat - [Runs & results](https://docs.anyformat.ai/concepts/runs-and-results.md): What happens when you run a workflow on a document, and the shape of what comes back: one section per atomic operation. - [Versions](https://docs.anyformat.ai/guides/workflows/versions.md): How anyformat tracks workflow changes so you can always go back. - [Schemas](https://docs.anyformat.ai/concepts/schemas.md): How you describe the shape of the data you want from documents. - [Fields](https://docs.anyformat.ai/concepts/fields.md): What a field is and the three properties every field has. - [Field types](https://docs.anyformat.ai/concepts/field-types.md): Canonical reference for every field type: UI name, API name, example, and when to use it. - [Instructions](https://docs.anyformat.ai/concepts/instructions.md): Plain-English guidance you attach to a field to improve extraction accuracy. - [Document packets](https://docs.anyformat.ai/concepts/document-packets.md): The unit a workflow runs on: a bundle of one or more files anyformat treats as a single document. - [Files](https://docs.anyformat.ai/concepts/files.md): What a file is in anyformat and what happens when you upload one. - [Pages](https://docs.anyformat.ai/concepts/pages.md): How pages work within a file and why page boundaries matter. - [Outputs](https://docs.anyformat.ai/concepts/outputs.md): The formats anyformat produces, when to use each, and how to consume them outside the platform. - [Slack](https://docs.anyformat.ai/integrations/slack.md): Route workflow alerts to a Slack channel: an invoice over a threshold, a failed validation, a document classified as high-priority. - [Coding assistant](https://docs.anyformat.ai/guides/coding-assistant.md): Let Claude Code build and run anyformat workflows from your editor. - [Agents over MCP](https://docs.anyformat.ai/guides/mcp.md): A real end-to-end session against the anyformat MCP server: stage a local file, build a workflow, run it, and read the results. Every payload comes from a live run. - [Verification & Review](https://docs.anyformat.ai/guides/workflows/verification-review.md): Reviewing and verifying extracted data at scale - [Analytics & Quality](https://docs.anyformat.ai/guides/workflows/analytics-quality.md): Understanding and improving processing quality over time - [Health](https://docs.anyformat.ai/guides/health/index.md): The per-workflow home for measuring and improving extraction quality - [Building a dataset](https://docs.anyformat.ai/guides/health/datasets.md): Add documents, author ground truth, and slice with sub-datasets - [Datasets & evaluations](https://docs.anyformat.ai/concepts/evals.md): The vocabulary behind measuring a workflow's quality: datasets, ground truth, sub-datasets, and evaluations - [Running evaluations](https://docs.anyformat.ai/guides/health/evaluations.md): Score a workflow version against your dataset and compare accuracy over time - [Optimizing a workflow](https://docs.anyformat.ai/guides/health/optimizer.md): Automatic, iterative improvement of a workflow's field descriptions, measured against your dataset - [How credits work](https://docs.anyformat.ai/concepts/how-credits-work.md): Credits are anyformat's universal billing unit. This page lists what each node costs, how a run adds up, and what a credit is worth on your plan. - [Usage & Billing](https://docs.anyformat.ai/concepts/usage-and-billing.md): How anyformat measures usage and how it shows up in billing. - [Examples](https://docs.anyformat.ai/examples/index.md): Complete workflows you can copy: the graph, the code to create and run it, and a real response - [Parse-only workflow](https://docs.anyformat.ai/examples/parse-only-workflow.md): Turn a document into markdown and layout blocks on the Flash, Fast, Standard or Agentic tier, with no extraction - [Agentic parse to markdown](https://docs.anyformat.ai/examples/agentic-parse-to-markdown.md): Parse a document on the Agentic tier, pick an effort preset, and read the markdown, tables and per-block confidence it returns - [Ask your filing cabinet](https://docs.anyformat.ai/examples/ask-your-filing-cabinet.md): Index every document a workflow parses, then ask questions across all of them and get answers cited back to the page - [Give your agent a knowledge base](https://docs.anyformat.ai/examples/knowledge-base-over-mcp.md): One real MCP session: build a workflow with a Knowledge node, upload a service note, an invoice and a vendor list, then let the agent list, search, read, ask and download the corpus - [The scan from accounting](https://docs.anyformat.ai/examples/split-a-mixed-scan.md): One file that holds several documents: cut it into pieces by kind, then extract each kind with its own fields - [Sort invoices from receipts](https://docs.anyformat.ai/examples/classify-and-route.md): One workflow for a mailbox that receives both invoices and receipts: Classify decides which is which, and each kind gets its own Extract. - [Receipt scanning](https://docs.anyformat.ai/examples/receipt-scanning.md): Extract merchant, totals and payment method from receipt photos and scans - [Resume parsing](https://docs.anyformat.ai/examples/resume-parsing.md): Pull contact details, skills, education and work history out of PDF and DOCX resumes - [Email lead extraction](https://docs.anyformat.ai/examples/email-lead-extraction.md): Turn an inbound sales email into a structured lead: sender, company, inquiry type, urgency and topics - [Invoice processing](https://docs.anyformat.ai/examples/invoice-processing.md): Extract the header and the line items of an invoice with a Parse to Extract workflow - [Everyone spells your supplier differently](https://docs.anyformat.ai/examples/supplier-code-lookup.md): Read the supplier name off the invoice, then resolve it to the code your ERP actually uses, with a reference CSV you upload once - [Big invoices need a human](https://docs.anyformat.ai/examples/route-on-a-threshold.md): Send the invoices over your approval limit down a second branch, and let the rest through untouched - [Bank statement processing](https://docs.anyformat.ai/examples/bank-statement-processing.md): Extract the statement header and every transaction as a row, run many statements through one workflow, and get the data out - [Contract analysis](https://docs.anyformat.ai/examples/contract-analysis.md): Extract key terms and clauses from a contract, then check them with validation rules - [The form you have filled forty times](https://docs.anyformat.ai/examples/fill-a-blank-form.md): Hand the workflow a blank form and get the completed PDF back, with the fields detected for you - [Daily CSV export](https://docs.anyformat.ai/examples/daily-csv-export.md): Bulk-export a workflow's runs for one local day as a flat CSV. The v2 "download as CSV" behavior, rebuilt on v3 with async concurrency, server-side date filtering and a client-side rate limit - [Evaluating a workflow](https://docs.anyformat.ai/examples/evaluating-a-workflow.md): Score a workflow against ground truth over the v3 API. Upload ground truth, launch an eval, poll its status, and read the accuracy headline - [Introduction](https://docs.anyformat.ai/api-reference-v3/introduction.md): API v3 overview: base URL, resource model, keyset pagination, idempotency, response headers, and the error envelope. - [Authentication](https://docs.anyformat.ai/api-reference-v3/authentication.md): Authenticate your API requests using API keys - [Error Handling](https://docs.anyformat.ai/api-reference-v3/errors.md): Handle API errors with structured error responses and codes - [Check API Key](https://docs.anyformat.ai/api-reference-v3/key-check.md): Verify an API key without triggering a billable operation - [Node schemas](https://docs.anyformat.ai/api-reference-v3/node-schemas.md): Every field the API accepts on each workflow node, the shared types they use, the edge shape, and the topology rules a graph must satisfy. - [List Workflows](https://docs.anyformat.ai/api-reference-v3/workflows/list.md): List your organization's workflows, newest first - [Get Workflow](https://docs.anyformat.ai/api-reference-v3/workflows/get.md): Retrieve a workflow with its complete typed graph inline - [List Workflow Versions](https://docs.anyformat.ai/api-reference-v3/workflows/versions.md): List a workflow's versions, newest first, for comparison and audit - [Create Workflow](https://docs.anyformat.ai/api-reference-v3/workflows/create.md): Create a workflow from a typed graph of nodes (parse, extract, classify, splitter, validate, if_else, slack_alert, edit, knowledge) in a single atomic transaction - [Update Workflow](https://docs.anyformat.ai/api-reference-v3/workflows/update.md): Replace a workflow's typed graph atomically, echoing persistent_id to keep field identity across renames - [Delete Workflow](https://docs.anyformat.ai/api-reference-v3/workflows/delete.md): Delete a workflow and all associated document packets and runs - [Upload Document Packet](https://docs.anyformat.ai/api-reference-v3/workflows/upload.md): Upload one or more files as a single document packet, without running it - [Upload and Run](https://docs.anyformat.ai/api-reference-v3/workflows/upload-and-run.md): Upload a document packet and start a run in a single call - [Upload from URL](https://docs.anyformat.ai/api-reference-v3/workflows/upload-from-url.md): Create a document packet by importing 1–100 HTTPS URLs server-side, all-or-nothing - [List Document Packets](https://docs.anyformat.ai/api-reference-v3/document-packets/list.md): List a workflow's document packets, newest first - [Get Document Packet](https://docs.anyformat.ai/api-reference-v3/document-packets/get.md): Retrieve one document packet: status, files, and its latest run id - [Run Document Packet](https://docs.anyformat.ai/api-reference-v3/document-packets/run.md): Run (or re-run) a document packet on the latest version of its workflow - [Delete Document Packet](https://docs.anyformat.ai/api-reference-v3/document-packets/delete.md): Delete a document packet, its files, and its extraction results - [List Workflow Runs](https://docs.anyformat.ai/api-reference-v3/runs/list.md): List a workflow's runs, newest first - [Get Run](https://docs.anyformat.ai/api-reference-v3/runs/get.md): Fetch a single run flat: lifecycle status plus the results envelope inline - [Download a split](https://docs.anyformat.ai/api-reference-v3/splits/download.md): Get one splitter sub-document's pages as a PDF - [Parse a Document](https://docs.anyformat.ai/api-reference-v3/parse/parse.md): Parse one document with the platform's fast lite parse - [Parse a Document from a URL](https://docs.anyformat.ai/api-reference-v3/parse/parse-from-url.md): Parse one document fetched from a URL with the platform's fast lite parse - [Ask](https://docs.anyformat.ai/api-reference-v3/knowledge/ask.md): Answer a question from the content of a workflow's documents, with citations - [List](https://docs.anyformat.ai/api-reference-v3/knowledge/list.md): List a workflow's knowledge corpus tree of documents - [Search](https://docs.anyformat.ai/api-reference-v3/knowledge/search.md): Rank a workflow's knowledge corpus by relevance to a query - [Read](https://docs.anyformat.ai/api-reference-v3/knowledge/read.md): Read one document's text from a workflow's knowledge corpus - [Download](https://docs.anyformat.ai/api-reference-v3/knowledge/download.md): Get a presigned URL for a workflow's whole knowledge corpus, as a tar - [Upload to Dataset](https://docs.anyformat.ai/api-reference-v3/datasets/upload.md): Upload one document (+ optional ground truth) into a workflow dataset - [Get Ground Truth](https://docs.anyformat.ai/api-reference-v3/datasets/get-ground-truth.md): One dataset document's ground truth, keyed by field persistent_id - [Set Ground Truth](https://docs.anyformat.ai/api-reference-v3/datasets/set-ground-truth.md): Create or replace one dataset document's complete ground truth - [Launch Eval](https://docs.anyformat.ai/api-reference-v3/evals/launch.md): Launch a graded eval over a workflow's dataset, or a tagged subset of it, on a target version - [List Evals](https://docs.anyformat.ai/api-reference-v3/evals/list.md): List a workflow's evals, newest first - [Get Eval](https://docs.anyformat.ai/api-reference-v3/evals/get.md): Fetch one eval's frozen headline: grading status plus accuracy - [Get Eval Accuracy](https://docs.anyformat.ai/api-reference-v3/evals/accuracy.md): An eval's accuracy per field, per document and per dataset tag - [Get Eval Document Fields](https://docs.anyformat.ai/api-reference-v3/evals/document-packet-fields.md): One eval document's extracted values beside its ground truth - [List Dataset Tags](https://docs.anyformat.ai/api-reference-v3/datasets/tags.md): A workflow's dataset tags, the ids the tag filters on evals and accuracy take - [SDKs and tools](https://docs.anyformat.ai/api-reference-v3/sdks.md): The official Python and TypeScript clients for API v3, the afx command line, the MCP server, and the Claude Code skill. - [Python SDK](https://docs.anyformat.ai/api-reference-v3/sdks/python.md): The anyformat Python package: a fluent builder over the typed workflow graph, run and result handles, and the afx command line. - [TypeScript SDK](https://docs.anyformat.ai/api-reference-v3/sdks/typescript.md): The @anyformat/sdk package: a fluent builder over the typed workflow graph, run and result handles, and typed errors. - [Command line (afx)](https://docs.anyformat.ai/api-reference-v3/cli.md): Parse a file, extract fields, run and manage workflows from the terminal with afx, the command the Python package installs. - [MCP server](https://docs.anyformat.ai/api-reference-v3/mcp.md): Connect an AI agent host to anyformat over the Model Context Protocol: endpoint, auth, client setup, and the tools available today. - [SDK migration: 0.x to 1.0](https://docs.anyformat.ai/api-reference-v3/sdk-migration.md): Upgrade the AnyFormat Python and TypeScript SDKs from the v2-based 0.x releases to the v3-based 1.0 release. - [Migrating from v2](https://docs.anyformat.ai/api-reference-v3/migrating-from-v2.md): Path-by-path mapping from the v2 surface to v3, plus the semantic changes: keyset pagination, inline run status, persistent_id round-tripping, and idempotency. - [Introduction](https://docs.anyformat.ai/api-reference/introduction.md): API v2 is retired. See the API introduction on API v3. - [Authentication](https://docs.anyformat.ai/api-reference/authentication.md): API v2 is retired. See Authentication on API v3. - [Check API Key](https://docs.anyformat.ai/api-reference/key-check.md): API v2 is retired. See Check API Key on API v3. - [Response Formats](https://docs.anyformat.ai/api-reference/response-formats.md): API v2 is retired. See Get Run on API v3. - [Error Handling](https://docs.anyformat.ai/api-reference/errors.md): API v2 is retired. See Errors on API v3. - [v2 → v3 migration](https://docs.anyformat.ai/api-reference/v2-migration.md): API v2 is retired. See Migrating from v2 on API v3. - [SDKs](https://docs.anyformat.ai/api-reference/sdks/overview.md): API v2 is retired. See SDKs and tools on API v3. - [TypeScript SDK Guide](https://docs.anyformat.ai/api-reference/sdks/typescript.md): API v2 is retired. See the TypeScript SDK on API v3. - [Python SDK Guide](https://docs.anyformat.ai/api-reference/sdks/python.md): API v2 is retired. See the Python SDK on API v3. - [List Workflows](https://docs.anyformat.ai/api-reference/workflows/list.md): API v2 is retired. See List Workflows on API v3. - [Get Workflow](https://docs.anyformat.ai/api-reference/workflows/get.md): API v2 is retired. See Get Workflow on API v3. - [Create Workflow](https://docs.anyformat.ai/api-reference/workflows/create.md): API v2 is retired. See Create Workflow on API v3. - [Edit a Workflow](https://docs.anyformat.ai/api-reference/workflows/update.md): API v2 is retired. See Update Workflow on API v3. - [Run Workflow](https://docs.anyformat.ai/api-reference/workflows/run.md): API v2 is retired. See Upload and Run on API v3. - [Upload File](https://docs.anyformat.ai/api-reference/workflows/upload.md): API v2 is retired. See Upload Document Packet on API v3. - [Run Uploaded File](https://docs.anyformat.ai/api-reference/workflows/run-staged.md): API v2 is retired. See Run Document Packet on API v3. - [List Workflow Runs](https://docs.anyformat.ai/api-reference/workflows/runs.md): API v2 is retired. See List Workflow Runs on API v3. - [Delete Workflow](https://docs.anyformat.ai/api-reference/workflows/delete.md): API v2 is retired. See Delete Workflow on API v3. - [List Files](https://docs.anyformat.ai/api-reference/files/list.md): API v2 is retired. See List Document Packets on API v3. - [Upload File](https://docs.anyformat.ai/api-reference/files/create.md): API v2 is retired. See Upload Document Packet on API v3. - [Upload File from URL](https://docs.anyformat.ai/api-reference/files/create-from-url.md): API v2 is retired. See Upload from URL on API v3. - [Get File Results](https://docs.anyformat.ai/api-reference/files/results.md): API v2 is retired. See Get Run on API v3. - [Delete File](https://docs.anyformat.ai/api-reference/files/delete.md): API v2 is retired. See Delete Document Packet on API v3. - [Overview](https://docs.anyformat.ai/api-reference/webhooks/overview.md): API v2 is retired. See the API introduction on API v3. - [List Webhooks](https://docs.anyformat.ai/api-reference/webhooks/list.md): API v2 is retired. See the API introduction on API v3. - [Create Webhook](https://docs.anyformat.ai/api-reference/webhooks/create.md): API v2 is retired. See the API introduction on API v3. - [Delete Webhook](https://docs.anyformat.ai/api-reference/webhooks/delete.md): API v2 is retired. See the API introduction on API v3. - [Changelog](https://docs.anyformat.ai/changelog/overview.md): Stay up to date with the latest changes and improvements to the anyformat API. - [October 2026](https://docs.anyformat.ai/changelog/2026-10.md): Changes shipped in October 2026. - [September 2026](https://docs.anyformat.ai/changelog/2026-09.md): Changes shipped in September 2026. - [August 2026](https://docs.anyformat.ai/changelog/2026-08.md): Changes shipped in August 2026. - [July 2026](https://docs.anyformat.ai/changelog/2026-07.md): Changes shipped in July 2026. - [June 2026](https://docs.anyformat.ai/changelog/2026-06.md): Changes shipped in June 2026. - [May 2026](https://docs.anyformat.ai/changelog/2026-05.md): Changes shipped in May 2026. - [April 2026](https://docs.anyformat.ai/changelog/2026-04.md): Changes shipped in April 2026. - [March 2026](https://docs.anyformat.ai/changelog/2026-03.md): Changes shipped in March 2026. - [February 2026](https://docs.anyformat.ai/changelog/2026-02.md): Changes shipped in February 2026. - [January 2026](https://docs.anyformat.ai/changelog/2026-01.md): Changes shipped in January 2026. - [December 2025](https://docs.anyformat.ai/changelog/2025-12.md): Changes shipped in December 2025. - [November 2025](https://docs.anyformat.ai/changelog/2025-11.md): Changes shipped in November 2025. - [October 2025](https://docs.anyformat.ai/changelog/2025-10.md): Changes shipped in October 2025. ## OpenAPI Specs - [?format=json](https://api.anyformat.ai/schema/?format=json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.