Get a template
Needs a key withtemplates:read
A template with its canvas, read-only: each node's box, title and example image.
Requires scope templates:read.
apiKeyx-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.
slug*string1 <= length <= 80The template.
application/json- response
coverThumbnailUrl*|A small WebP of the cover (download URL) for cards and tiles; null where none was made, so show coverUrl.
coverUrl*|The card's image at full size (download URL), once previews are made.
outputKind*stringWhat it mainly makes.
"image""video""audio"previewUrl*|A short clip the card plays on hover (video templates).
canDelete*booleanYou saved it, so you can delete it.
categories*array<>description*stringownerName*|Who saved it (a workspace's own); null for ours.
slug*stringtitle*stringvisibility*|A workspace's own: personal (its maker only) or team. Null for ours, which everyone sees.
canvas*The canvas as boxes, for a preview: each node's absolute rectangle, title, short text and newest image, and the edges between them.
nodeCount*integerworkflow*The template as a workflow, read-only: its document with each example result as a finished result (files with download URLs), for the canvas to open it as it is.
curl -X GET 'https://api.remagica.com/api/v1/templates/string'{ "coverThumbnailUrl": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.jpg", "coverUrl": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.jpg", "outputKind": "image", "previewUrl": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png", "canDelete": true, "categories": [ "cinematic" ], "description": "Product shots for the autumn campaign.", "ownerName": "string", "slug": "string", "title": "Autumn campaign", "visibility": "personal", "canvas": { "bounds": { "h": 1, "w": 1, "x": 1, "y": 1 }, "edges": [ { "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "source": "string", "target": "string" } ], "nodes": [ { "h": 1, "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "image": "string", "label": "string", "parentId": "eb290249-5b3d-4f60-8e2a-1d9c6b4f7e05", "text": "string", "type": "string", "w": 1, "x": 1, "y": 1 } ] }, "nodeCount": 1, "workflow": { "createdAt": "2026-10-21T12:00:00.000Z", "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "name": "Autumn campaign", "nodeCount": 1, "updatedAt": "2026-10-21T12:00:00.000Z", "version": 3, "activeRuns": [ { "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" } ], "creditsSpent": 12, "document": { "pages": [ { "id": "page-1", "name": "Page 1", "edges": [], "nodes": [] } ], "schemaVersion": 2, "variables": [] }, "files": {} }}