curl --request POST \
--url https://control-plane.kubiya.ai/api/v1/analytics/tool-calls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"execution_id": "<string>",
"tool_name": "<string>",
"started_at": "<string>",
"turn_id": "<string>",
"tool_use_id": "<string>",
"completed_at": "<string>",
"duration_ms": 123,
"tool_input": {},
"tool_output": "<string>",
"tool_output_size": 123,
"success": true,
"error_message": "<string>",
"error_type": "<string>",
"metadata": {}
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Create a tool call record.
This endpoint is called by workers to persist tool execution details including timing, success/failure, and error information.
curl --request POST \
--url https://control-plane.kubiya.ai/api/v1/analytics/tool-calls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"execution_id": "<string>",
"tool_name": "<string>",
"started_at": "<string>",
"turn_id": "<string>",
"tool_use_id": "<string>",
"completed_at": "<string>",
"duration_ms": 123,
"tool_input": {},
"tool_output": "<string>",
"tool_output_size": 123,
"success": true,
"error_message": "<string>",
"error_type": "<string>",
"metadata": {}
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Enter your Kubiya API token (format: Bearer
Schema for creating a tool call record
Successful Response
Was this page helpful?