> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Return the current authenticated API session context.

> **Required scope:** read

**Required scope:** `read`

### Response

`AuthSessionResponse`

<ResponseField name="auth_type" type="string" required />

<ResponseField name="email" type="string" />

<ResponseField name="name" type="string" />

<ResponseField name="org_id" type="string" />

<ResponseField name="rate_limit_per_minute" type="integer (int32)" />

<ResponseField name="scopes" type="ApiScope[]" required />

<ResponseField name="user_id" type="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 |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.nsr.stateset.com/api/v1/auth/session' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "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"
  }
  ```
</ResponseExample>
