curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/machines/status' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"has_snapshot": true,
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"programs_learned": 1,
"status": "pending",
"successful_inferences": 1,
"training_examples": 1,
"vocabulary_size": 1
}
Machine status handler
Required scope: read
GET
/
api
/
v1
/
machines
/
status
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/machines/status' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"has_snapshot": true,
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"programs_learned": 1,
"status": "pending",
"successful_inferences": 1,
"training_examples": 1,
"vocabulary_size": 1
}
Required scope:
read
Response
MachineInfo
boolean
required
string
required
integer
required
string
required
One of
'active', 'activating', 'activation_failed', 'compiled', 'training', or 'not_provisioned'.integer
required
integer
required
integer
required
Status codes
| Code | Meaning |
|---|---|
200 | Machine status for the org |
401 | Unauthorized — missing or invalid credentials |
403 | Forbidden — the key/token lacks the required scope |
404 | Machine not provisioned |
429 | Rate limited — see Retry-After / X-RateLimit-Reset |
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/machines/status' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"has_snapshot": true,
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"programs_learned": 1,
"status": "pending",
"successful_inferences": 1,
"training_examples": 1,
"vocabulary_size": 1
}
Last modified on August 31, 2026