Get workflow head files
Get the editable head rendered as a directory of files. Structural files carry inline content; the workflow's own files are referenced by id. The returned rev can be supplied as baseRev to patch without a second fetch.
Request
- Base URLhttps://odyssey.asteroid.ai
- URLhttps://odyssey.asteroid.ai/agents/v2/workflows/{workflowId}/head/files
- AuthAPI key in header X-Api-Key
Path parameters
Query parameters
Which file contents a tree read carries inline.
Which contents come inline: none (a pure manifest), structural (the default), or all (structural plus file bytes within the response budget).
Return only the files at these exact tree paths. A path that names nothing yields no entry. The inline budget applies to the filtered set, so a narrow read can inline files a whole-tree read would have to skip.
Narrow which variants/<key>/ files the tree carries: "none" strips every variant, a comma-separated list keeps only those variant keys. Files outside variants/ are always kept, and the response's variantKeys still names every variant. Ignored unless the workflow has variant mode enabled; absent keeps every variant.
Per-file ceiling, in bytes, for inlined file contents. Clamped to the server maximum. Files above the ceiling stay references.
Ceiling, in bytes, on the total inlined file contents in one response. Clamped to the server maximum. Files are admitted in path order until the ceiling is reached; the rest stay references.
Response
The request has succeeded.
Changes
No recorded changes to this operation across all 1 revision of this API.