TaskUsageV1
Fields
6 fields
cost_usd- number
duration_ms- integer
input_tokens- integer
llm_calls- integer
output_tokens- integer
total_tokens- integer
Raw schema (JSON)
{
"additionalProperties": false,
"properties": {
"cost_usd": {
"default": 0,
"minimum": 0,
"title": "Cost Usd",
"type": "number"
},
"duration_ms": {
"default": 0,
"minimum": 0,
"title": "Duration Ms",
"type": "integer"
},
"input_tokens": {
"default": 0,
"minimum": 0,
"title": "Input Tokens",
"type": "integer"
},
"llm_calls": {
"default": 0,
"minimum": 0,
"title": "Llm Calls",
"type": "integer"
},
"output_tokens": {
"default": 0,
"minimum": 0,
"title": "Output Tokens",
"type": "integer"
},
"total_tokens": {
"default": 0,
"minimum": 0,
"title": "Total Tokens",
"type": "integer"
}
},
"title": "TaskUsageV1",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
GET/api/v1/agents/pipelines/{pipeline_id}/agentic-runtime— Get Agentic Runtime
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON