Try our new Setup Skill to automatically integrate Hyperspell into your project
curl --request GET \
--url https://api.hyperspell.com/context-documents/tree/latest \
--header 'Authorization: Bearer <token>'{
"tree_id": "<string>",
"status": "<string>",
"version": 123,
"files": [
{
"path": "<string>",
"content": "<string>",
"tier": "<string>",
"team": "<string>",
"updated_at": "<string>"
}
],
"error": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"meta": {}
}Get the most recent context document tree for the authenticated app.
The sync daemon polls this endpoint to fetch updated files. Default
behaviour returns the latest tree of any status. ?status=<value>
filters to a specific status (case-insensitive). The legacy
?status=published query value is accepted as an alias for
COMPLETED so existing daemon clients continue to work without a
coordinated rollout.
When the caller is authenticated with a user JWT (from device login), personal docs are generated lazily on first pull and merged into the response.
curl --request GET \
--url https://api.hyperspell.com/context-documents/tree/latest \
--header 'Authorization: Bearer <token>'{
"tree_id": "<string>",
"status": "<string>",
"version": 123,
"files": [
{
"path": "<string>",
"content": "<string>",
"tier": "<string>",
"team": "<string>",
"updated_at": "<string>"
}
],
"error": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"meta": {}
}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.
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.
Was this page helpful?