Returns the full definition of a workflow app, including its dynamic inputs and cost.
Inputs define what values the caller must provide when running the app:
creation type: accepts an image/media URL, base64-encoded data, or an existing creation identifiertext type: accepts a plain text string (prompt, label, etc.)number type: accepts a numeric valueselect type: accepts a value from predefined optionsUse each input’s id field (UUID format) as the identifier when calling the run endpoint.
The tool_metadata.total_cost field indicates the credit cost per execution.
Enterprise exclusive. This endpoint is only available to Enterprise customers. Contact sales for access.
Your Magnific API key. Required for authentication. Learn how to obtain an API key
Short unique identifier (sqid) of the workflow app. Discover app identifiers via GET /v1/ai/apps.
"uqzQLDr2Aw"
OK - Workflow app definition with inputs and cost.
Full definition of a workflow app including dynamic inputs and cost.
{
"inputs": [
{
"presentation": { "mode": "textarea", "type": "text" },
"default": "",
"id": "input-4050c3f3-8a26-4953-97a8-cb97bceb4816-1",
"label": "Text #1",
"type": "text",
"config": { "mediaType": "image" },
"nodeId": "4050c3f3-8a26-4953-97a8-cb97bceb4816",
"key": "text",
"required": true
},
{
"presentation": { "mode": "textarea", "type": "text" },
"default": "",
"id": "input-4050c3f3-8a26-4953-97a8-cb97bceb4816-1",
"label": "Text #1",
"type": "text",
"config": { "mediaType": "image" },
"nodeId": "4050c3f3-8a26-4953-97a8-cb97bceb4816",
"key": "text",
"required": true
}
],
"name": "Sketch to Realism",
"tool_metadata": {
"total_cost": 5,
"icon": "workflow",
"translation_key": "translation_key",
"description_key": "description_key",
"category": "general",
"sort_order": 999
},
"sqid": "uqzQLDr2Aw"
}