Flows - Get flow definition
Returns the full definition of a flow, including its dynamic inputs and cost.
Inputs define what values the caller must provide when running the flow:
creationtype: accepts an image/media URL, base64-encoded data, or an existing creation identifiertexttype: accepts a plain text string (prompt, label, etc.)numbertype: accepts a numeric valueselecttype: accepts a value from predefined options
Use each input’s api_key field (recommended, human-friendly node name) as the identifier when calling the run endpoint.
The UUID-based id field is still accepted for backward compatibility.
The tool_metadata.total_cost field indicates the credit cost per execution.
Authorizations
Your Magnific API key. Required for authentication. Learn how to obtain an API key
Path Parameters
Short unique identifier (sqid) of the flow. Discover flow identifiers via GET /v1/ai/flows.
"uqzQLDr2Aw"
Response
OK - Flow definition with inputs and cost.
Full definition of a flow including dynamic inputs and cost.