Skip to main content
GET
/
context-documents
/
tree
/
{tree_id}
/
edits
List persisted user edits for an app
curl --request GET \
  --url https://api.hyperspell.com/context-documents/tree/{tree_id}/edits \
  --header 'Authorization: Bearer <token>'
{
  "edits": [
    {
      "id": 123,
      "path": "<string>",
      "edit_kind": "<string>",
      "original_path": "<string>",
      "content": "<string>",
      "llm_baseline": "<string>",
      "reviewed_baseline": "<string>",
      "weight": 123,
      "age_days": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "author_user_id": "<string>"
    }
  ]
}

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

edits
TreeEditResponse · object[]
required