usage

Get Inference Usage Aggregate

Changed on

Aggregate the team's inference usage into time buckets, optionally grouped.

get/v2/usage/inference

Request

  • Base URL
    https://api.hud.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.hud.ai/v2/usage/inference
  • Auth
    none declared

Query parameters

startstring date-time nullable

Window start; defaults to end-7d

endstring date-time nullable

Window end; defaults to now

bucket_width'1h' | '1d'
group_bystring[] nullable

Grouping dimensions; repeat the parameter to group by several at once

user_idstring uuid nullable
api_key_idstring uuid nullable
byok_credential_idstring uuid nullable

Response

Successful Response

startstring date-time required
endstring date-time required
bucket_width'1h' | '1d' required
group_bystring[]
total_requestsinteger required
total_costnumber required

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property //// to the response with the status