remagicaDocs home
API referenceWorkflows

List versions

GET
/workflows/{workflowId}/revisions

Needs a key withworkflows:read

A workflow's 100 most recent versions, newest first.

Requires scope workflows:read.

Authorization

apiKey
headerx-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.

Path Parameters

workflowId*string
Length1 <= length <= 128

Response Body

The versions.

application/json
  1. response
revisions*array<>
Example Request
curl -X GET 'https://api.remagica.com/api/v1/workflows/2c9a7f10-6b3e-4d21-9f8a-5e7c1b0d4a36/revisions'
Example Response
{  "revisions": [    {      "author": {        "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",        "image": "string",        "name": "Autumn campaign"      },      "createdAt": "2026-10-21T12:00:00.000Z",      "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",      "kind": "auto",      "runId": "599e5591-5b3d-4f60-8e2a-1d9c6b4f7e05",      "runNodeCount": 1,      "title": "Autumn campaign"    }  ]}