POST
/
inference
/
v0
/
run
/
{org_id}
/
{flow_id}
curl -X POST "https://api.stack-ai.com/inference/v0/run/{org_id}/{flow_id}" \
  -H "Authorization: Bearer <your-public-key>" \
  -H "Content-Type: application/json" \
  -d '{"in-0": "value for in-0", "in-1": "value for in-1"}'
"<any>"
curl -X POST "https://api.stack-ai.com/inference/v0/run/{org_id}/{flow_id}" \
  -H "Authorization: Bearer <your-public-key>" \
  -H "Content-Type: application/json" \
  -d '{"in-0": "value for in-0", "in-1": "value for in-1"}'

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

org_id
string
required
flow_id
string
required

The flow ID. Learn how to get it.

Query Parameters

version
integer
default:
-1

Version of the flow

verbose
boolean
default:
true

Return the full model

Body

application/json · object

Input parameters for the flow

Response

200
application/json
Successful Response

The response is of type any.