GET /inference/v0/runs/{org_id}/{run_id}
Get the status of a run, including the human-in-the-loop pause when waiting.
How to use
Use this to observe a legacy run or retrieve its pause context. Read state and pause from this response, not the v2 data.status/pending_input fields. Terminal legacy success is COMPLETED.
Authentication and permissions
Required permissions: projects.read. Resource and owner access checks also apply.
Personal API key or the endpoint-specific legacy organization API key. Legacy inference uses the public organization key; legacy analytics uses the private organization key. This is not a password-grant login flow.
The run ID to fetch the status for.
Successful Response
Public run status, surfacing the pause context when the run is awaiting a response.
Enum representing the possible states of a workflow.
Run not found or does not belong to this organization
Validation Error
curl --fail-with-body -sS \
"$STACKAI_BASE_URL/inference/v0/runs/${ORG_ID}/${RUN_ID}" \
-H "Authorization: Bearer $STACKAI_API_KEY"{
"run_id": "text",
"state": "PENDING",
"error": "text",
"pause": {
"run_id": "text",
"node_id": "text",
"question": "",
"context": "text",
"response_type": "text",
"choices": [
"text"
],
"resume_token": "text",
"resume_endpoint": "text",
"expires_at": "2026-01-01T00:00:00.000Z",
"response_schema": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
}Last updated
Was this helpful?

