Context Documents

Get tree generation progress

Return the generation progress for a single tree.

Temporal-backed trees expose live phase/counter data via workflow query. Legacy BackgroundTask trees surface the textual progress message they wrote into tree.meta.progress.

get/context-documents/tree/{tree_id}/progress

Path parameters

tree_idstring required

Response

Successful Response

tree_idstring required
statusstring required
phasestring nullable

Workflow phase (discover/generate/finalize/done) when Temporal-gated.

completed_docsinteger nullable
total_docsinteger nullable
messagestring nullable

Changes