Run Flow
Run a flow and get the result.
The flow ID. Learn how to get it.
Version of the flow
-1Return the full model
trueInput parameters for the flow
Successful Response
Validation Error
POST /inference/v0/run/{org_id}/{flow_id} HTTP/1.1
Host: api.stack-ai.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}No content
Run a flow and get the result streamed while the flow is running.
The flow ID. Learn how to get it.
Version of the flow. -1 for the latest published version.
-1Add a prefix to the output
falseStream deltas instead of full output
trueUse server sent events instead of streaming response
falseReturn the full model
trueRun the draft version of the flow instead of the published one.
falseInput parameters for the flow
Successful Response
Validation Error
POST /inference/v0/stream/{org_id}/{flow_id} HTTP/1.1
Host: api.stack-ai.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}No content
Run a flow and get the result streamed while the flow is running.
The organization ID. Learn how to get it.
The flow ID. Learn how to get it.
Version of the flow. -1 for the latest published version.
-1Add a prefix to the output
falseStream deltas instead of full output
trueUse server sent events instead of streaming response
falseReturn the full model
trueRun the draft version of the flow instead of the published one.
falseToken for authorization
Input parameters for the flow
Successful Response
Validation Error
POST /inference/v0/sso/stream/{org_id}/{flow_id}?token=text HTTP/1.1
Host: api.stack-ai.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}No content
Send a feedback message for a given run.
The flow ID. Learn how to get it.
Input parameters: feedback, inputs, outputs
Successful Response
Validation Error
POST /inference/v0/feedback/{org_id}/{flow_id} HTTP/1.1
Host: api.stack-ai.com
Content-Type: application/json
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": 1
}Was this helpful?

