remagicaDocs home
API referenceWorkflows

Name a version

PATCH
/workflow-revisions/{revisionId}

Needs a key withworkflows:write

Names a version (or clears its name with an empty title).

Requires scope workflows:write.

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

revisionId*string
Length1 <= length <= 128

Request Body

application/json
  1. body
title*string
Lengthlength <= 200

Response Body

The version.

application/json
  1. response
author?|

Who saved it (who started the run, for auto).

createdAt*string
Formatdate-time
id*string
kind*string
Value in"auto""manual""restore"
runId*string|null
runNodeCount?integer|null
title*string|null
Example Request
curl -X PATCH 'https://api.remagica.com/api/v1/workflow-revisions/6c46ebd8-5b3d-4f60-8e2a-1d9c6b4f7e05' \  -H 'Content-Type: application/json' \  -d '{  "title": "Autumn campaign"}'
Example Response
{  "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"}