Skip to main content
PATCH
/
api
/
v1
/
analytics
/
tasks
/
{task_id}
Update Task
curl --request PATCH \
  --url https://control-plane.kubiya.ai/api/v1/analytics/tasks/{task_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "<string>",
  "completed_at": "<string>",
  "duration_ms": 123,
  "result": "<string>",
  "error_message": "<string>"
}'
"<any>"

Path Parameters

task_id
string
required

Body

application/json

Schema for updating a task's status

status
string | null
completed_at
string | null
duration_ms
integer | null
result
string | null
error_message
string | null

Response

Successful Response

The response is of type any.