Get usage for the provided API key
cURL
curl --request GET \ --url https://api.upriver.ai/v1/usage \ --header 'X-API-Key: <api-key>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Start of custom date range (YYYY-MM-DD, UTC inclusive)
End of custom date range (YYYY-MM-DD, UTC inclusive)
Successful Response