Skip to main content
GET
/
context-documents
/
tree
/
{tree_id}
/
progress
Get tree generation progress
curl --request GET \
  --url https://api.hyperspell.com/context-documents/tree/{tree_id}/progress \
  --header 'Authorization: Bearer <token>'
{
  "tree_id": "<string>",
  "status": "<string>",
  "phase": "<string>",
  "completed_docs": 123,
  "total_docs": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.hyperspell.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

tree_id
string
required

Response

Successful Response

Response shape for GET /context-documents/tree/{tree_id}/progress.

tree_id
string
required
status
string
required
phase
string | null

Workflow phase. Values: discover, search, select, synthesize, finalize, done. Null for terminal trees and trees whose workflow is no longer queryable.

completed_docs
integer | null
total_docs
integer | null