The Knowledge node is in alpha and appears once the feature is switched on for your organization. Ask us to enable it.
The agent asks
→
It gets back
NodesToolsCredits
The session in order:
create_workflowbuilds a parse → knowledge graph.stage_filesandupload_documentsput three local files into the workflow.run_document_packetandget_runparse them; the corpus indexes on its own right after.ask_knowledgeanswers questions with citations, and keeps a thread for follow-ups.list_knowledge,search_knowledgeandread_knowledgework the corpus without a model.download_knowledgehands over the whole corpus as one archive.
1. Create the workflow
The Knowledge node has no options. Its presence opts the workflow into indexing: every completed run adds its parsed documents to the corpus.mode: "lite" on the parse is enough for text documents; use standard when the pages are scans.
2. Stage and upload the files
A tool call carries JSON, not bytes.stage_files returns one upload form per file plus a short object_id to refer to it by. Send the real byte length as declared_size.
upload.fields entry first, then the file. All three answered 204.
upload_documents then registers the three as one document packet, atomically. A CSV or a spreadsheet goes in exactly like a PDF.
3. Run it, then let the index catch up
get_run with wait_seconds long-polls; three small text documents were processed in about three seconds. Indexing starts on its own when the run completes and takes a few more seconds. An ask_knowledge call in that window is refused with a retryable error, not a wrong answer:
4. Ask, and keep the thread
A question that spans two documents, with athread_id so the next question can build on it. Mint the id yourself with the prefix kb-.
page and bbox are null and the block id locates the row inside the rendered table.
The follow-up carries the same thread_id and no restated context:
ask_knowledge call is billed and runs an agent over the corpus, so it takes seconds to a couple of minutes. The three tools below cost nothing and answer in about a second; reach for them first when the agent already knows what it is looking for.
5. List, search and read, without a model
list_knowledge returns the corpus tree. Documents are filed by upload month unless a Classify node runs before Knowledge, in which case the category names the folder. The .kb/ pages are generated navigation (kind: "index"), never evidence.
next_cursor back as cursor to continue. search_knowledge ranks documents for a query with the same index the agent’s own search uses. The snippet marks the matched term:
read_knowledge returns one document as the corpus stores it: a frontmatter block, then the parsed markdown with an anchor before every block. Those anchors are the block_id values the citations use.
truncated: true; download_knowledge below is the way to get the whole text. A path that is not in the corpus is a plain NOT_FOUND:
6. Download the corpus
download_knowledge takes only the workflow id and returns a presigned URL for the current corpus as one tar.gz, valid for 15 minutes. It is the way to hand the whole corpus to something outside anyformat: a local search index, a backup, another agent.
list_knowledge shows, plus the structure the citations resolve against:
When to use which tool
Every read tool answers
KNOWLEDGE_NOT_ENABLED on a workflow without the node, KNOWLEDGE_NOT_READY while the first corpus is still building, and a flat 404 when the caller cannot see the workflow.
Related
- Agents over MCP: staging, the typed graph, retry-safe runs and reading extraction results.
- Ask your filing cabinet: the same node from the app and the REST API, with the credit model.
- MCP server reference: connection setup, scopes and the full tool table.
- Knowledge endpoints: the REST routes behind these tools.

