GET
/
manage
/
apikey
/
{api_key_id}
curl --request GET \
  --url https://api.requesty.ai/manage/apikey/{api_key_id} \
  --header 'Authorization: Bearer <token>'
{
  "completions_requests": 123,
  "spend": 123
}

Authorizations

Authorization
string
header
required

API key with manage permissions (read/write)

Path Parameters

api_key_id
string
required

Query Parameters

start_date
string
required

(Inclusive) Start date for usage data (YYYY-MM-DD).

end_date
string

(Exclusive) End date for usage data (YYYY-MM-DD). Defaults to tomorrow if not specified

Response

200
application/json

Successfully retrieved usage data

The response is of type object.