curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/auth/keys' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"keys": [
{
"created_at": "2026-08-31T14:22:05Z",
"expires_at": "2026-08-31T14:22:05Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_used_at": "2026-08-31T14:22:05Z",
"name": "Two-Person Tent",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"prefix": "string",
"rate_limit_per_minute": 8,
"revoked_at": "2026-08-31T14:22:05Z",
"scopes": []
}
],
"total": 102
}
List API keys for the current org.
Required scope: admin
GET
/
api
/
v1
/
auth
/
keys
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/auth/keys' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"keys": [
{
"created_at": "2026-08-31T14:22:05Z",
"expires_at": "2026-08-31T14:22:05Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_used_at": "2026-08-31T14:22:05Z",
"name": "Two-Person Tent",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"prefix": "string",
"rate_limit_per_minute": 8,
"revoked_at": "2026-08-31T14:22:05Z",
"scopes": []
}
],
"total": 102
}
Required scope:
admin
Response
ApiKeyListResponse
ApiKeyListItem[]
required
integer
required
Status codes
| Code | Meaning |
|---|---|
200 | API keys |
401 | Unauthorized — missing or invalid credentials |
403 | Forbidden — the key/token lacks the required scope |
429 | Rate limited — see Retry-After / X-RateLimit-Reset |
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/auth/keys' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"keys": [
{
"created_at": "2026-08-31T14:22:05Z",
"expires_at": "2026-08-31T14:22:05Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_used_at": "2026-08-31T14:22:05Z",
"name": "Two-Person Tent",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"prefix": "string",
"rate_limit_per_minute": 8,
"revoked_at": "2026-08-31T14:22:05Z",
"scopes": []
}
],
"total": 102
}
Last modified on August 31, 2026