Skip to main content
GET
/
client
/
usage
Get usage history
curl --request GET \
  --url https://api.circular.rosetta.sh/api/v1/client/usage \
  --header 'Authorization: Bearer <token>'
[
  {
    "day": "2023-12-25",
    "endpoint": "<string>",
    "total_requests": 123,
    "error_count": 123
  }
]

Authorizations

Authorization
string
header
required

Supabase JWT with client_id claim

Response

200 - application/json

Usage history

day
string<date>
endpoint
string
total_requests
integer
error_count
integer