curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/machines' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"machines": [
{
"has_snapshot": true,
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"programs_learned": 1,
"status": "pending",
"successful_inferences": 1,
"training_examples": 1,
"vocabulary_size": 1
}
],
"total": 102
}
List machines handlers
Required scope: read
GET
/
api
/
v1
/
machines
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/machines' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"machines": [
{
"has_snapshot": true,
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"programs_learned": 1,
"status": "pending",
"successful_inferences": 1,
"training_examples": 1,
"vocabulary_size": 1
}
],
"total": 102
}
Required scope:
read
Response
MachinesListResponse
MachineInfo[]
required
integer
required
Status codes
| Code | Meaning |
|---|---|
200 | List of provisioned NSR machines |
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/machines' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"machines": [
{
"has_snapshot": true,
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"programs_learned": 1,
"status": "pending",
"successful_inferences": 1,
"training_examples": 1,
"vocabulary_size": 1
}
],
"total": 102
}
Last modified on August 31, 2026