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

# List program versions for the current org.

> **Required scope:** read

**Required scope:** `read`

### Query parameters

<ParamField query="limit" type="integer">
  Max versions to return (default 50)
</ParamField>

### Response

`NSRLProgramVersionsResponse`

<ResponseField name="total" type="integer" required />

<ResponseField name="versions" type="NSRLProgramVersion[]" required>
  <Expandable title="NSRLProgramVersion">
    <ResponseField name="created_at" type="string" required />

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

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

### Status codes

| Code  | Meaning                                            |
| ----- | -------------------------------------------------- |
| `200` | Program versions                                   |
| `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/versions' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "total": 102,
    "versions": [
      {
        "created_at": "2026-08-31T14:22:05Z",
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "message": "Two-person tent, green — replacement for damaged pole set."
      }
    ]
  }
  ```
</ResponseExample>
