remagicaDocs home
API referenceApps

Get an app

GET
/apps/{appId}

Needs a key withapps:read

Returns an app: its form (the inputs a run takes, with the app's own values), its outputs and an estimate of a run's cost.

Requires scope apps: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

appId*string

The app's id, or its slug.

Length1 <= length <= 128

Response Body

The app.

application/json
  1. response
canEdit*boolean

Whether you can change it (you can edit its workflow).

coverUrl*string|null
createdAt*string
Formatdate-time
description*string
id*string
metrics*

How much it's used: runs (by everyone), the last one, and remixes.

ownerName*string|null
publishedAt*|null
remixable*boolean
slug*|

Its address on the Apps page (/apps/<slug>).

status*string

draft → published; a public app goes in_review first and ends published or rejected.

Value in"draft""in_review""published""rejected"
title*string
updatedAt*string
Formatdate-time
visibility*string
Value in"personal""team""public"
coverKey*string|null
creditsEstimate*|

What a run with the app's own values would cost, or null when it couldn't run as it is.

draft*|

The inputs and outputs being edited (people who can edit only); a run uses the published ones.

form*array<>

The inputs a run takes: the published ones, or the draft's for a test run.

outputs*array<>
pageId*string
reviewNote*string|null
testOnly*boolean

Not published yet: only a test run (test: true) can run it.

workflowId*|

Its workflow (people who can edit it only).

Example Request
curl -X GET 'https://api.remagica.com/api/v1/apps/5d1e8a42-7b9c-4f30-a2d6-0c3e9b7f1a54'
Example Response
{  "canEdit": true,  "coverUrl": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.jpg",  "createdAt": "2026-10-21T12:00:00.000Z",  "description": "Product shots for the autumn campaign.",  "id": "5d1e8a42-7b9c-4f30-a2d6-0c3e9b7f1a54",  "metrics": {    "lastRunAt": "2026-10-21T12:00:00.000Z",    "remixes": 1,    "runs": 1  },  "ownerName": "string",  "publishedAt": "2026-10-21T12:00:00.000Z",  "remixable": true,  "slug": "string",  "status": "draft",  "title": "Autumn campaign",  "updatedAt": "2026-10-21T12:00:00.000Z",  "visibility": "personal",  "coverKey": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.jpg",  "creditsEstimate": 12,  "draft": {    "inputs": [      {        "description": "Product shots for the autumn campaign.",        "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png",        "label": "string",        "nodeId": "7b79be4b-5b3d-4f60-8e2a-1d9c6b4f7e05",        "type": "text"      }    ],    "outputs": [      {        "nodeId": "7b79be4b-5b3d-4f60-8e2a-1d9c6b4f7e05"      }    ]  },  "form": [    {      "description": "Product shots for the autumn campaign.",      "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png",      "label": "string",      "nodeId": "7b79be4b-5b3d-4f60-8e2a-1d9c6b4f7e05",      "type": "text",      "control": {        "kind": "number",        "max": 1,        "min": 1,        "step": 1      },      "defaultUrl": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png",      "defaultValue": "string",      "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05"    }  ],  "outputs": [    {      "label": "string",      "nodeId": "7b79be4b-5b3d-4f60-8e2a-1d9c6b4f7e05"    }  ],  "pageId": "c5dd13a6-5b3d-4f60-8e2a-1d9c6b4f7e05",  "reviewNote": null,  "testOnly": true,  "workflowId": "cb35dcdb-5b3d-4f60-8e2a-1d9c6b4f7e05"}