curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/auth/session' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"auth_type": "string",
"email": "ada.lovelace@example.com",
"name": "Two-Person Tent",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"rate_limit_per_minute": 8,
"scopes": [
"read"
],
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Return the current authenticated API session context.
Required scope: read
GET
/
api
/
v1
/
auth
/
session
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/auth/session' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"auth_type": "string",
"email": "ada.lovelace@example.com",
"name": "Two-Person Tent",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"rate_limit_per_minute": 8,
"scopes": [
"read"
],
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Required scope:
read
Response
AuthSessionResponse
string
required
string
string
string
integer (int32)
ApiScope[]
required
string
Status codes
| Code | Meaning |
|---|---|
200 | Authenticated session context |
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/session' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"auth_type": "string",
"email": "ada.lovelace@example.com",
"name": "Two-Person Tent",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"rate_limit_per_minute": 8,
"scopes": [
"read"
],
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Last modified on August 31, 2026