API Reference
Log In
API Reference

Get cost breakdown by agent

Returns cost metrics grouped by AI agent over time for the specified date range. Data is bucketed by an automatically determined interval (hourly, daily, or monthly) based on the time span. Useful for tracking agent cost trends and identifying spending patterns.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
date-time
date-time
string
enum
integer | null
≥ 0
Defaults to 0
integer
0 to 100
Defaults to 20
agents
array of strings | null
agents
costSource
array of strings | null
costSource
Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
API Key
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json