Retrieve the current status of a run by its ID.
This endpoint allows you to quickly check the status of a run without retrieving all the detailed information.
run_id: The unique identifier of the batch run (UUID format)
Returns the run ID and its current status.
{
"run_id": "123e4567-e89b-12d3-a456-426614174000",
"status": "completed"
}queued: The run is queuedcompleted: The run has completed successfullyfailed: The run has failed
| Code | Meaning |
|---|---|
| 200 OK | Run status retrieved successfully |
| 400 Bad Request | Invalid run ID format |
| 404 Not Found | Run not found |
| 500 Internal Server Error | Server error occurred while retrieving status |
Security
BearerAuth
- Lantern API serverhttps://api-gateway.agenthq.withlantern.com/v1/agents/runs/{run_id}/status
- Local API serverhttp://localhost:8000/v1/agents/runs/{run_id}/status
curl -i -X GET \
'https://api-gateway.agenthq.withlantern.com/v1/agents/runs/{run_id}/status' \
-H 'Authorization: Bearer <YOUR_ApiToken_HERE>'Response
{ "run_id": "123e4567-e89b-12d3-a456-426614174000", "status": "completed" }