Skip to main content
GET
/
v1
/
usage
Get Usage
curl --request GET \
  --url https://api.upriver.ai/v1/usage \
  --header 'X-API-Key: <api-key>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Query Parameters

start_date
string<date> | null

Start of custom date range (YYYY-MM-DD, UTC inclusive)

end_date
string<date> | null

End of custom date range (YYYY-MM-DD, UTC inclusive)

Response

Successful Response