Get Workflow Definition

Get a workflow's record together with its current draft graph (blocks, edges, loops, parallels) and variables. For deployment metadata only, use Get Workflow Status. For a summary that includes limits, use the /api/v1/workflows/{id} endpoint.

GET/api/workflows/{id}
X-API-Key<token>

Your SteelEngine API key (personal, workspace, or organization). Create personal and workspace keys under Settings > API Keys. Create organization keys under Organization Settings > API Keys.

In: header

Path Parameters

id*string

The unique identifier of the workflow.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/workflows/string"
{  "data": {    "id": "wf_1a2b3c4d5e",    "name": "Weather assistant",    "description": "Answers weather questions",    "workspaceId": "wsp_abc123",    "isDeployed": true,    "deployedAt": "2026-01-15T10:30:00Z",    "state": {      "blocks": {},      "edges": [],      "loops": {},      "parallels": {},      "isDeployed": true,      "deployedAt": "2026-01-15T10:30:00Z",      "lastSaved": 1768473000000,      "metadata": {        "name": "Weather assistant",        "description": "Answers weather questions"      }    },    "variables": {}  }}