API referenceTemplates
List presets
GET
Needs a key withtemplates:read
The presets for the canvas's Presets panel, by tab and search, each with the graph to insert and its example results.
Requires scope templates: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.
category?stringOnly presets in this tab.
Value in
"marketing""branding""ecommerce"search?stringOnly those whose title or description contains this (any case).
Length
length <= 200The presets, in panel order.
application/json- response
presets*array<>curl -X GET 'https://api.remagica.com/api/v1/presets'Example Response
{ "presets": [ { "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", "category": "marketing", "description": "Product shots for the autumn campaign.", "fragment": { "edges": [ { "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "source": "string", "sourceHandle": "string", "target": "string", "targetHandle": "string" } ], "nodes": [ { "data": { "results": [], "settings": {}, "status": "default" }, "height": 1280, "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "parentId": "eb290249-5b3d-4f60-8e2a-1d9c6b4f7e05", "position": { "x": 1, "y": 1 }, "type": "string", "width": 1024 } ], "results": {} }, "slug": "string", "title": "Autumn campaign" } ]}