Create Turn Metrics
API Reference
Create Turn Metrics
Create a turn metrics record.
This endpoint is called by workers to persist per-turn LLM metrics including tokens, cost, duration, and tool usage.
POST
Create Turn Metrics
Documentation Index
Fetch the complete documentation index at: https://docs.kubiya.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Enter your Kubiya API token (format: Bearer )
Body
application/json
Schema for creating a turn metrics record
Response
Successful Response