cURL
curl --request PATCH \ --url https://control-plane.kubiya.ai/api/v1/analytics/tasks/{task_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "status": "<string>", "completed_at": "<string>", "duration_ms": 123, "result": "<string>", "error_message": "<string>" } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Update a task’s status and completion information.
This endpoint is called by workers to update task progress.
Enter your Kubiya API token (format: Bearer )
Schema for updating a task's status
Successful Response
Was this page helpful?