Get usage
cURL
GET /management/v1/agents/{agentId}/usage
GET /management/v1/projects/{projectId}/usage
Same parameters and response for both — the project variant aggregates across
every agent in the project.
Query parameters
Start of the usage window (RFC 3339). Omit for no lower bound.
End of the usage window (RFC 3339). Omit for no upper bound.
Response
Number of interactions in the window.
Total input tokens.
Total output tokens.
Total cached (read) input tokens.
Total reasoning tokens.
Sum of input, output, cache-read, and reasoning tokens.