Get tree generation progress
Return the generation progress for a single tree.
Live phase/counter data comes from the Temporal workflow query. Terminal trees and trees whose workflow is no longer queryable (e.g. completed workflows that have aged out, cron-driven refreshes) return just the DB-level status with no phase data.
Authorizations
API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Path Parameters
Response
Successful Response
Response shape for GET /context-documents/tree/{tree_id}/progress.
Workflow phase. Values: discover, search, select, synthesize, finalize, personal, done. Null for terminal trees and trees whose workflow is no longer queryable.