Projects
Get project document
Returns the canonical editable project document. This shape is designed for developer round trips and uses input maps plus from/to connection tuples, unlike the read-only /graph inspection shape.
get/api/v1/projects/{project_id}/document
Request
- Base URL: https://api.studio.kaitoi.io (the document declares no server; this is the origin it was published from)
- URL: https://api.studio.kaitoi.io/api/v1/projects/{project_id}/document
- Auth: HTTP bearer
Path parameters
project_idstring required
Headers
authorizationstring nullable
Response
An editable project document.
Example response
{
"createdAt": "2026-05-21T14:21:52.152049+00:00",
"document": {
"graph": {
"connections": [
{
"from": [
"node_123",
"text"
],
"to": [
"node_456",
"prompt"
]
}
],
"nodes": [
{
"id": "node_123",
"inputs": {
"inputPrompt": {
"type": "string",
"value": "A cinematic wide shot"
}
},
"position": {
"x": 120,
"y": 240
},
"title": "Text Prompt",
"type": "builtin/utils/text_prompt"
}
]
}
},
"externalId": "workspace_123",
"externalUserId": "user_789",
"externalWorkspaceId": "team_456",
"metadata": {
"plan": "pro"
},
"name": "Machine",
"projectId": "proj_123",
"updatedAt": "2026-05-21T15:10:03.000000+00:00",
"version": 7,
"warnings": []
}Changes
No recorded changes to this operation across all 1 revision of this API.