Projects

Get project graph

Returns a sanitized graph snapshot for a project. Internal metadata, execution history, and private storage paths are intentionally omitted.

get/api/v1/projects/{project_id}/graph

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}/graph
  • Auth: HTTP bearer

Path parameters

project_idstring required

Headers

authorizationstring nullable

Response

A sanitized project graph snapshot.

projectIdstring required

Project identifier for this graph snapshot.

versioninteger required

Project version used to build this graph snapshot.

Example response

{
  "connections": [],
  "nodes": [
    {
      "id": "node_123",
      "inputs": [],
      "outputs": [
        {
          "exposed": false,
          "name": "outputPrompt",
          "type": "string"
        }
      ],
      "position": {
        "x": 120,
        "y": 240
      },
      "title": "Text Prompt",
      "type": "builtin/utils/text_prompt"
    }
  ],
  "projectId": "proj_123",
  "version": 7
}

Changes

No recorded changes to this operation across all 1 revision of this API.