Fuser

Read a canvas

A compact view of a canvas: a summary, then pages of nodes (id, type, label, socket keys, literal values, result links) and their edges. On a big canvas, find nodes with search or read specific ones with nodeIds instead of paging through everything.

GET/v1/canvas_get
MCP tool canvas_get

Try it

GETapi.fuser.studio/v1/canvas_get
QueryJSON
ResponseExample
{
  "canvasId": "3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c",
  "title": "Coral reef poster",
  "url": "https://media.fuser.studio/9c2a5d6e7f8a.png",
  "revision": 1,
  "summary": {
    "nodeCount": 1,
    "edgeCount": 1,
    "nodesByType": {
      "prompt": 1
    },
    "bounds": {
      "x": 1,
      "y": 1,
      "width": 1,
      "height": 1
    }
  },
  "nodes": [
    {
      "id": "aB3dE5",
      "type": "OpenAIGPTImageNode",
      "label": "Prompt",
      "x": 1,
      "y": 1,
      "width": 1,
      "height": 1,
      "group": "kZ3qP1",
      "in": [
        "example in"
      ],
      "out": [
        "example out"
      ],
      "values": {
        "prompt": "aB3dE5"
      },
      "results": [
        "https://media.fuser.studio/9c2a5d6e7f8a.png"
      ]
    }
  ],
  "edges": [
    {
      "from": "prompt.text",
      "to": "image.prompt"
    }
  ],
  "nextCursor": null
}

Example

curl "https://api.fuser.studio/v1/canvas_get?canvasId=3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c" \
  -H "x-api-key: $FUSER_API_KEY"
const result = await fuser.canvas.get({
  canvasId: '3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c',
});

See the TypeScript SDK.

Input

  • canvasIdstringrequired

    The canvas id. Pass it to canvas_get, canvas_edit and run_start.

  • cursorstring
  • nodeIdsstring[]
  • searchstring

Output

  • canvasIdstring

    The canvas id. Pass it to canvas_get, canvas_edit and run_start.

  • titlestring
  • urlstring
  • revisionnumber

    The canvas revision after this call. Pass it as expectedRevision on your next canvas_edit.

  • nextCursorstring | null

    Pass it back as cursor for the next page; null when there are no more.

On this page