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

# Fetch the persisted NSR-L program for the current org.

> **Required scope:** read

**Required scope:** `read`

### Response

`NSRLProgramResponse`

<ResponseField name="code" type="string" required>
  Full NSR-L program source (facts + rules).
</ResponseField>

<ResponseField name="updated_at" type="string">
  Last update time (RFC3339), if available.
</ResponseField>

### Status codes

| Code  | Meaning                                            |
| ----- | -------------------------------------------------- |
| `200` | NSR-L program                                      |
| `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/nsrl/program' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "code": "string",
    "updated_at": "string"
  }
  ```
</ResponseExample>
