Fs Cat
Return the rendered body of a Nowledge FS file.
For .md files this returns YAML-frontmatter markdown. For
messages.jsonl it returns one JSON object per line. Fragment
selectors (:page/N, :section/<name>, etc.) are documented in
the design doc but land in Phase 2; passing one returns
ENOTSUP for now. line / lines are Phase 1 progressive-read
controls for agents: they work for every rendered text body, including
thread messages.jsonl where one line is one message.
Query Parameters
Nowledge FS file path
One-based line to start reading from
Number of lines to return
Fragment selector (page|section|sheet|slide|chunk) — Phase 2
For .source.* files: return original bytes (501 in Phase 1)
Agent identity id/slug for /context/* files
Calling app provenance hint for /context/* files
Host-local long-running agent id for /context/* files
Active space override for /context/* files
Include Working Memory preview in /context/* files
Response Body
application/json
application/json
curl -X GET "https://example.com/fs/cat?path=string"null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}