---
title: "Get machine lifecycle status"
method: GET
path: "/api/v1/machines/status"
tags: ["Machines"]
---

# Get machine lifecycle status

`GET /api/v1/machines/status`

Get machine lifecycle status.

Auth: Required (bearer token).
Scope: Organization-scoped in authenticated context.
Side effects: Read-only operation.

## Headers

- `Accept` string

## Response `200`

OK

- MachineStateResponse — MachineStateResponse schema
  - `data` object, nullable
    - `active` boolean
    - `pid` integer
    - `state` string
    - `uptime_sec` integer
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request _(validation or deserialization error)_
- `500` — Internal Server Error _(panics)_
- `default`

---

[API](https://skmtc.net/nixopus/apis/openapi.md) · [All operations](https://skmtc.net/nixopus/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nixopus/openapi/versions/c5bacaea7239/schema)
