cURL
curl --request PATCH \ --url https://control-plane.kubiya.ai/api/v1/executions/{execution_id} \ --header 'Content-Type: application/json' \ --data '{ "status": "<string>", "started_at": "<string>", "completed_at": "<string>", "response": "<string>", "error_message": "<string>", "usage": {}, "execution_metadata": {} }'
{ "id": "<string>", "organization_id": "<string>", "execution_type": "<string>", "entity_id": "<string>", "entity_name": "<string>", "prompt": "<string>", "system_prompt": "<string>", "status": "<string>", "response": "<string>", "error_message": "<string>", "usage": {}, "execution_metadata": {}, "runner_name": "<string>", "user_id": "<string>", "user_name": "<string>", "user_email": "<string>", "user_avatar": "<string>", "created_at": "<string>", "started_at": "<string>", "completed_at": "<string>", "updated_at": "<string>", "participants": [ { "id": "<string>", "user_id": "<string>", "user_name": "<string>", "user_email": "<string>", "user_avatar": "<string>", "role": "<string>", "joined_at": "<string>", "last_active_at": "<string>" } ] }
Update execution status and results.
This endpoint is primarily used by workers to update execution status, results, usage metrics, and metadata during execution.
Update execution fields - used by workers to update execution status
Successful Response
Show child attributes
Was this page helpful?