API referenceWorkflows
List runs
GET
Needs a key withworkflows:read
A workflow's 100 most recent runs, newest first.
Requires scope workflows:read.
apiKeyheader
x-api-key<token>An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.
workflowId*stringLength
1 <= length <= 128The runs.
application/json- response
runs*array<>curl -X GET 'https://api.remagica.com/api/v1/workflows/2c9a7f10-6b3e-4d21-9f8a-5e7c1b0d4a36/runs'Example Response
{ "runs": [ { "completedAt": "2026-10-21T12:00:00.000Z", "count": 1, "createdAt": "2026-10-21T12:00:00.000Z", "creditsEstimated": 12, "creditsSpent": 12, "error": null, "id": "8e41b2d7-0c5f-4a93-b6e2-1f7d9a3c5b08", "nodeIds": [ "string" ], "pageId": "c5dd13a6-5b3d-4f60-8e2a-1d9c6b4f7e05", "results": [ { "createdAt": "string", "credits": 12, "error": null, "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "outputs": {}, "provider": "string", "runId": "599e5591-5b3d-4f60-8e2a-1d9c6b4f7e05", "settings": {}, "status": "pending", "stop": "kept", "item": 1, "nodeId": "7b79be4b-5b3d-4f60-8e2a-1d9c6b4f7e05", "variation": 1 } ], "runType": "node", "status": "running", "workflowId": "cb35dcdb-5b3d-4f60-8e2a-1d9c6b4f7e05" } ]}