Context Documents

Get the latest context document tree

Get the most recent context document tree for the authenticated app.

The sync daemon polls this endpoint to fetch updated files. Use ?status=published to only get published trees (daemon default). Without a status filter, returns the latest tree of any status.

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.

get/context-documents/tree/latest

Query parameters

statusstring nullable

Response

Successful Response

tree_idstring required
statusstring required
versioninteger required
errorstring nullable required
created_atstring date-time required
completed_atstring date-time nullable required
metaobject required

Changes