Account (/v1/me)
GET /v1/me
Shows who the key belongs to, its scopes, the limits and current usage. Use it to test a new key. It works with any scope.
curl https://api.validades.com/v1/me \
-H "Authorization: Bearer vld_live_YOUR_KEY"
200 response
| Field | Type | Description |
|---|---|---|
organization.id | UUID | organization |
organization.name | text | organization name |
workspace.id | UUID | data workspace of the organization |
api_key.id | UUID | key id |
api_key.name | text | name given to the key |
api_key.last_four | text | last 4 characters of the key |
api_key.scopes | list | read, write, delete |
api_key.expires_at | date-time or null | key expiration |
api_key.created_at | date-time | creation |
limits.key_requests_per_minute | number | per-minute limit of the key |
limits.organization_requests_per_minute | number | per-minute limit of the organization |
limits.monthly_quota | number | monthly quota |
usage.month.period | text | quota month (YYYY-MM, UTC) |
usage.month.used | number or null | requests this month, including this one |
usage.month.remaining | number or null | requests left |
usage.month.resets_at | date-time | quota reset |
usage.today.date | date | day (UTC) |
usage.today.used | number or null | requests today, including this one |
Usage numbers may be null if the counter is temporarily unavailable.
See the full example in Getting started.