Analytics
Get credit usage by user
get/analytics/v0/credit-usage-by-user
Request
- Base URL: https://api.augmentcode.com
- URL: https://api.augmentcode.com/analytics/v0/credit-usage-by-user
- Auth: one of:
- OAuth 2 (authorization code, authorization URL https://auth.augmentcode.com/authorize, token URL https://auth.augmentcode.com/token, scopes: read)
- HTTP bearer
Query parameters
start_datestring date
Inclusive start date in UTC. Defaults depend on the endpoint.
end_datestring date
Inclusive end date in UTC. Defaults depend on the endpoint.
by_dateboolean
Include a per-date breakdown.
by_modelboolean
Include a per-model breakdown.
cursorstring
Opaque cursor from the previous response.
page_sizeinteger
Number of records to return. Endpoint-specific maximums apply.
Response
Successful response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.