curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/constraints/{id}' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"description": "Two-person tent, green — replacement for damaged pole set.",
"expression": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"source": "string",
"strength": {
"type": "hard"
}
}
Get a specific constraint by ID
Required scope: read
GET
/
api
/
v1
/
constraints
/
{id}
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/constraints/{id}' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"description": "Two-person tent, green — replacement for damaged pole set.",
"expression": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"source": "string",
"strength": {
"type": "hard"
}
}
Required scope:
read
Path parameters
string
required
Constraint ID
Response
ConstraintResponse
string
required
string
required
string
required
string
required
Status codes
| Code | Meaning |
|---|---|
200 | Constraint details |
401 | Unauthorized — missing or invalid credentials |
403 | Forbidden — the key/token lacks the required scope |
404 | Constraint not found |
429 | Rate limited — see Retry-After / X-RateLimit-Reset |
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/constraints/{id}' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"description": "Two-person tent, green — replacement for damaged pole set.",
"expression": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"source": "string",
"strength": {
"type": "hard"
}
}
Last modified on August 31, 2026