cURL
curl --request POST \ --url https://control-plane.kubiya.ai/api/v1/analytics/tasks \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "execution_id": "<string>", "task_description": "<string>", "task_number": 123, "task_id": "<string>", "task_type": "<string>", "status": "pending", "started_at": "<string>", "completed_at": "<string>", "duration_ms": 123, "result": "<string>", "error_message": "<string>", "metadata": {} } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Create a task record.
This endpoint is called by workers to persist task tracking information.
Schema for creating a task record
Successful Response
Was this page helpful?