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

# Chronological NDJSON export of the org's durable decision log for

> compliance/SIEM pipelines. One DecisionRecord JSON object per line; x-export-count carries the row count…

compliance/SIEM pipelines. One `DecisionRecord` JSON object per line;
`x-export-count` carries the row count. Requires database persistence —
there is deliberately no in-memory fallback (a bounded ring would silently
truncate an export), so without a configured database this returns 503.

**Required scope:** `read`

### Query parameters

<ParamField query="since" type="string">
  RFC3339 lower bound (inclusive).
</ParamField>

<ParamField query="until" type="string">
  RFC3339 upper bound (exclusive).
</ParamField>

<ParamField query="limit" type="integer">
  Max rows (default 1000, cap 10000).
</ParamField>

### Response

No response body. NDJSON stream of decision records, oldest first.

### Status codes

| Code  | Meaning                                            |
| ----- | -------------------------------------------------- |
| `200` | NDJSON stream of decision records, oldest first    |
| `400` | Malformed since/until bound                        |
| `401` | Unauthorized — missing or invalid credentials      |
| `403` | Forbidden — the key/token lacks the required scope |
| `429` | Rate limited — see Retry-After / X-RateLimit-Reset |
| `503` | Durable decision store unavailable                 |

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