Skip to content

Get your identity and quota

GET /users/me

https://api.voygr.tech/users/me

Open in playground

Overview

Returns the identity and quota for this API key, with key metadata. It is lighter than GET /v1/usage.

Authentication

  • API key in header X-API-Key: Your customer API key (pk_live_...), sent on every request. Self-serve at https://api.voygr.tech/checkout.

Responses

200

Successful Response

application/json

Schema: MeDTO

401

Missing or invalid X-API-Key.

application/json

X-API-Key header absent

{
  "detail": {
    "error": "API key required"
  }
}

X-API-Key doesn't resolve to an active key

{
  "detail": {
    "error": "invalid API key"
  }
}

Schemas

MeDTO

Type: object

The calling API key's own identity, quota and limits.

FieldTypeRequiredDescription and constraints
anchoredbooleanoptionalTrue when the credit lives on the account rather than on this key: quota_limit and current_usage are then markers, not a balance. Read credits_available.
default False
api_key_idstringrequired
api_key_last_4string | nullrequired
ask_user_webhook_configuredbooleanrequired
ask_user_webhook_urlstring | nullrequired
credits_availableinteger | nulloptionalCredits you can spend now. Null when unknown.
credits_charge_per_successful_callintegeroptionalWhat a charged call costs.
default 0
credits_heldinteger | nulloptionalCredits frozen behind calls in flight. Null while calls placed through api.voygr.tech are in flight (the gateway holds them) or when unknown.
credits_hold_per_callintegeroptionalWhat one call holds while it runs.
default 0
current_usageintegerrequired
customer_idstringrequired
customer_namestringrequired
maintenanceobject | nulloptionalThe current maintenance window, when one is set.
max_calls_per_dayintegerrequiredCalls this key may create per UTC day; over it, POST /calls answers 429 daily_call_ceiling_reached. Set by support, not by the key.
max_concurrent_callsintegerrequiredCalls this key may have in flight at once; more wait as queued.
max_concurrent_calls_ceilingintegeroptionalThe most PUT /users/me/limits accepts.
default 100
quota_limitintegerrequired
quota_periodstringrequired
statusstringrequired
webhook_eventsarray of string (one of ask_user, call_completed)optionalWhich webhooks the endpoint receives; ['ask_user'] until you set events.