Run a Workflow
const url = 'https://api.agentaab.com/api/app/example/workflows/run';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"inputs":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.agentaab.com/api/app/example/workflows/run \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "inputs": {} }'Run the exact active Workflow Capability Release with one object-valued inputs payload. Native Workflows return a sanitized execution trace in response metadata.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Public request for an active Workflow Capability Release.
object
object
Examplegenerated
{ "inputs": {}}Responses
Section titled “Responses”Workflow execution completed.
Normalized Workflow result. Native DAG execution also includes an execution identity and sanitized trace.
object
object
object
object
object
Example
{ "metadata": { "trace": [ { "type": "input", "status": "completed", "selected_branch": "true" } ] }}The Workflow request body is invalid.
Public-safe runtime failure. Fields vary by policy and execution phase.
object
object
Example
{ "trace": [ { "type": "input", "status": "completed", "selected_branch": "true" } ]}The public runtime token is missing or invalid.
Public-safe runtime failure. Fields vary by policy and execution phase.
object
object
Example
{ "trace": [ { "type": "input", "status": "completed", "selected_branch": "true" } ]}Runtime quota, credit, or payment is required before execution.
Public-safe runtime failure. Fields vary by policy and execution phase.
object
object
Example
{ "trace": [ { "type": "input", "status": "completed", "selected_branch": "true" } ]}Runtime visibility, origin, authorization, or protection policy denied the request.
Public-safe runtime failure. Fields vary by policy and execution phase.
object
object
Example
{ "trace": [ { "type": "input", "status": "completed", "selected_branch": "true" } ]}An idempotency key or payment receipt cannot be reused.
Public-safe runtime failure. Fields vary by policy and execution phase.
object
object
Example
{ "trace": [ { "type": "input", "status": "completed", "selected_branch": "true" } ]}The bounded Workflow request body is too large.
Public-safe runtime failure. Fields vary by policy and execution phase.
object
object
Example
{ "trace": [ { "type": "input", "status": "completed", "selected_branch": "true" } ]}A Workflow node failed; a sanitized partial trace may be returned.
Public-safe runtime failure. Fields vary by policy and execution phase.
object
object
Example
{ "trace": [ { "type": "input", "status": "completed", "selected_branch": "true" } ]}Runtime rate or usage policy denied the request.
Public-safe runtime failure. Fields vary by policy and execution phase.
object
object
Example
{ "trace": [ { "type": "input", "status": "completed", "selected_branch": "true" } ]}Exact active Capability Release authority could not be proven.
Public-safe runtime failure. Fields vary by policy and execution phase.
object
object
Example
{ "trace": [ { "type": "input", "status": "completed", "selected_branch": "true" } ]}