> ## 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.

# Get session info

> Fetch an existing reasoning session. **Required scope:** read

Fetch an existing reasoning session.

**Required scope:** `read`

### Path parameters

<ParamField path="session_id" type="string" required>
  Session id returned by POST /api/v1/sessions
</ParamField>

### Response

`SessionResponse`

<ResponseField name="context" type="object" required>
  Current context variables
</ResponseField>

<ResponseField name="created_at" type="string" required>
  Session creation time
</ResponseField>

<ResponseField name="focus_entities" type="string[]" required>
  Current focus entities
</ResponseField>

<ResponseField name="last_activity" type="string" required>
  Last activity time
</ResponseField>

<ResponseField name="session_id" type="string" required>
  Session ID
</ResponseField>

### Status codes

| Code  | Meaning                                            |
| ----- | -------------------------------------------------- |
| `200` | Session info                                       |
| `401` | Unauthorized — missing or invalid credentials      |
| `403` | Forbidden — the key/token lacks the required scope |
| `404` | Session not found or aged out                      |
| `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/sessions/{session_id}' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "context": {},
    "created_at": "2026-08-31T14:22:05Z",
    "focus_entities": [
      "string"
    ],
    "last_activity": "string",
    "session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  }
  ```
</ResponseExample>
