Skip to main content
POST
/
executions
/
{executionId}
/
status
Update execution status
curl --request POST \
  --url https://odyssey.asteroid.ai/agents/v2/executions/{executionId}/status \
  --header 'Content-Type: application/json' \
  --header 'X-Asteroid-Agents-Api-Key: <api-key>' \
  --data '
{
  "status": "running"
}
'
"Execution status updated."

Authorizations

X-Asteroid-Agents-Api-Key
string
header
required

Path Parameters

executionId
string<uuid>
required

The unique identifier of the execution

Body

application/json

The status update request

status
enum<string>
required

The new status to set for the execution

Available options:
running,
paused,
cancelled

Response

The request has succeeded.

The response is of type enum<string>.

Available options:
Execution status updated.