Retrieve the machine definition
GET
/machines/{machineSlug}
curl \
--request GET 'https://api.statebacked.dev/machines/my-machine' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"machine": {
"createdAt": "2026-05-04T09:42:00Z",
"currentVersion": {
"id": "string",
"createdAt": "2026-05-04T09:42:00Z",
"clientInfo": "string"
},
"indexes": [
"string"
]
}
}
Response examples (403)
{
"error": "string",
"code": "missing-scope"
}