Get credit usage for agents in a space
Get credit usage for agents in a space.
workflows:read
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The Admin API version to use for this request.
2026-06-01 Path Parameters
Query Parameters
Cursor for the agent page. Nested cursors continue one agent's billing periods through the single-agent endpoint.
Number of agents per page. Defaults to 100, maximum 100.
1 <= x <= 100Set to "true" to include soft-deleted agents and their retained credit usage; included deleted agents have status "deleted". Omit this parameter or set it to "false" to return only live agents. Permanently deleted tombstones are never returned.
false, true Epoch ms, inclusive. When either bound is set, an agent is returned only if its latest credit usage is inside the [from, to] window; agents with no in-window usage are excluded entirely, and last_credit_usage_time on each result reflects the most recent credit usage within the window.
Epoch ms, inclusive. See credit_usage_time_from for the window semantics.
Response
Whether more agents are available.
The page of agents with their credit usage, up to 100 agents per request. Every agent starts at its most recent billing period; a nested result's next_cursor paginates that agent's billing periods through the single-agent credit-usage endpoint.
Cursor to pass as cursor on the next request to fetch the next page of agents; omitted when has_more is false.