REST API - Tasks
Get Task LLM Usage
Get LLM token usage for a specific task
GET
Get Task Llm Usage
Retrieve LLM token usage statistics for a specific task, including input/output token counts and the number of tool actions performed.
Path Parameters
Response
Estimated USD cost for non-BYOK executions in this task, rounded to 5 decimal places.
0.0 means no billable usage (empty task or fully BYOK).Example Request
Example Response
Use Cases
- Track token consumption - Monitor LLM token usage for individual tasks
- Cost tracking -
costis returned directly in USD, rounded to 5 decimal places (excludes BYOK executions) - Usage auditing - Review resource consumption across tasks
- BYOK tracking - Identify which tasks ran with your own API keys vs. platform-provided keys

