curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/machines' \
--header 'X-API-Key: YOUR_API_KEY'
{
"machines": [
{
"has_snapshot": true,
"org_id": "string",
"programs_learned": 1,
"status": "string",
"successful_inferences": 1,
"training_examples": 1,
"vocabulary_size": 1
}
],
"total": 1
}
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: YOUR_API_KEY'
{
"machines": [
{
"has_snapshot": true,
"org_id": "string",
"programs_learned": 1,
"status": "string",
"successful_inferences": 1,
"training_examples": 1,
"vocabulary_size": 1
}
],
"total": 1
}
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: YOUR_API_KEY'
{
"machines": [
{
"has_snapshot": true,
"org_id": "string",
"programs_learned": 1,
"status": "string",
"successful_inferences": 1,
"training_examples": 1,
"vocabulary_size": 1
}
],
"total": 1
}