curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/nsrl/program' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"code": "string",
"updated_at": "2026-08-31T14:22:05Z"
}
Fetch the persisted NSR-L program for the current org.
Required scope: read
GET
/
api
/
v1
/
nsrl
/
program
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/nsrl/program' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"code": "string",
"updated_at": "2026-08-31T14:22:05Z"
}
Required scope:
read
Response
NSRLProgramResponse
string
required
Full NSR-L program source (facts + rules).
string
Last update time (RFC3339), if available.
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 |
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/nsrl/program' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"code": "string",
"updated_at": "2026-08-31T14:22:05Z"
}
Last modified on August 31, 2026