Run Flow
Run a flow and get the result.
The flow ID. Learn how to get it.
Version of the flow
-1
Return the full model
true
Input parameters for the flow
Successful Response
Validation Error
POST /inference/v0/run/{org_id}/{flow_id} HTTP/1.1
Host:
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.
-1
Add a prefix to the output
false
Stream deltas instead of full output
true
Use server sent events instead of streaming response
false
Return the full model
true
Run the draft version of the flow instead of the published one.
false
Input parameters for the flow
Successful Response
Validation Error
POST /inference/v0/stream/{org_id}/{flow_id} HTTP/1.1
Host:
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.
-1
Add a prefix to the output
false
Stream deltas instead of full output
true
Use server sent events instead of streaming response
false
Return the full model
true
Run the draft version of the flow instead of the published one.
false
Token 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:
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:
Content-Type: application/json
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": 1
}
Was this helpful?