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

**since** `string`

RFC3339 lower bound (inclusive).

**until** `string`

RFC3339 upper bound (exclusive).

**limit** `integer`

Max rows (default 1000, cap 10000).

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

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.