Skip to main content
The Knowledge node is in alpha and appears in the palette once the feature is switched on for your organization. Ask us to enable it.
Extraction answers “what is on this document”. This answers “what do these documents say about X”, across every document the workflow has ever parsed. Add a Knowledge node and the corpus builds itself; then ask it questions over the API. Every answer comes back with the quotes it rests on, each resolved to a page and a region of the original PDF.
You ask
It answers
NodesCredits27 per pageYou get

The workflow

The node has no options. Its presence is the switch: every document this workflow parses is folded into one corpus.
The corpus is workflow-scoped, not version-scoped. It accumulates the latest parse of every live file across every run and every version, so a document parsed months ago under an older version is still answerable.

Ask it

Upload and run documents as you would with any workflow. Then ask.

Response

The answer is markdown, written to be shown to a person. The citations are the point: each one carries the exact quote, the page, and a bbox in normalized page coordinates, so you can draw the box on the PDF instead of asking anyone to trust the answer. path shows which tools the agent used to get there, and steps_used how many it took.

Follow-up questions

Mint a thread_id yourself, starting with kb-, and pass it to ask in the context of what came before. Reuse the same id to continue the conversation; omit it and every question stands alone.

When it goes wrong

409 KNOWLEDGE_NOT_ENABLED. The workflow has no Knowledge node. This is permanent until you add one: do not retry. 409 KNOWLEDGE_NOT_READY. The first index is still building after your first run. Retry in a few seconds. Expect this on the very first question against a new workflow. The answer is right but you cannot prove it. Read the citations, not the prose. Each bbox is normalized to the page, so multiply by the rendered page size to draw it. An answer whose citations do not support it is the one to escalate. It answers about the wrong document. The corpus holds every file the workflow ever ran, which is the feature and occasionally the surprise. Give the question the scope you mean: name the supplier, the month or the file. The bill is bigger than you expected. Questions are metered on the text the agent actually reads, so a broad sweep over a large corpus costs more than a narrow question. Ask narrowly.

Next steps

Knowledge

The node, the corpus, and what it costs

Ask

The endpoint, its errors and its rate limit