Context Documents
Generate a tree via Temporal (parallel endpoint for A/B comparison)
Same contract as POST /context-documents/tree but always dispatches via Temporal — no PostHog flag, no legacy fallback.
Exists so the legacy and Temporal paths can be exercised side-by-side against the same app data and their outputs compared. The progress endpoint (GET /context-documents/tree/{tree_id}/progress) works for both since both write to the same ContextDocTree table.
post/context-documents/tree-temporal
Request body
Response
Successful Response