fleet usage

List fleet users with usage

Returns the top users with aggregated cost data for the given time window. Defaults to sorting by cost descending; pass sort_by and sort_order to change.

get/v1/platform/fleet/usage/users

Query parameters

limitinteger

Max results (max 100)

start_timestring required

Start of cost window (ISO8601)

end_timestring required

End of cost window (ISO8601)

sort_bystring

Sort field (cost, runs, agent_count, last_used, first_used)

sort_orderstring

Sort direction (asc, desc)

Response

OK

Changes

Changed in 2 of the 48 revisions of this API.13

  • 99490d1e837e12See the full diff
    • removed the optional property users/items/week_to_date_cost from the response with the 200 status

      response-optional-property-removed

    • added the new optional query request parameter sort_by

      new-optional-request-parameter

    • added the new optional query request parameter sort_order

      new-optional-request-parameter

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added