List fleet agents with usage
Returns the top agents in the workspace with cost data for the given time window. Defaults to sorting by cost descending; pass sort_by and sort_order to change. Data is sourced entirely from ClickHouse run metadata.
Query parameters
Max results (max 100)
Start of cost window (ISO8601)
End of cost window (ISO8601)
Sort field (cost, runs, last_used, first_used)
Sort direction (asc, desc)
Response
OK
Changes
Changed in 3 of the 48 revisions of this API.15
- ●
removed the optional property
agents/items/week_to_date_costfrom the response with the200statusresponse-optional-property-removed
- ○
added the new optional
queryrequest parametersort_bynew-optional-request-parameter
- ○
added the new optional
queryrequest parametersort_ordernew-optional-request-parameter
- ○
added the optional property
agents/items/model_nameto the response with the200statusresponse-optional-property-added
This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
agents/items/agent_nameto the response with the200statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○