curl --request GET \
--url 'https://api.nsr.stateset.com/v1/decisions/export' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
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…
GET
/
v1
/
decisions
/
export
curl --request GET \
--url 'https://api.nsr.stateset.com/v1/decisions/export' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
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
string
RFC3339 lower bound (inclusive).
string
RFC3339 upper bound (exclusive).
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 |
curl --request GET \
--url 'https://api.nsr.stateset.com/v1/decisions/export' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
Last modified on August 31, 2026