Skip to Content
Homemade
Dashboard

Get service health

GET
/api/vms/{vmId}/services/health

Each service of a running computer: starting, healthy, failed (with its last log lines) or manual. With waitSeconds, waits until nothing is starting.

Authorization

apiKey
headerAuthorizationBearer <hmk_…>

An API key from the dashboard or homemade api-key create.

Path Parameters

vmId*string

Query Parameters

waitSeconds?integer

Wait up to this long for every service to be healthy or failed.

Range0 <= value <= 60

Response Body

Each service's health.

application/json
  1. response
failed*array<string>

Services that failed.

ready*boolean

Every service that starts by itself is healthy.

services*array<>
Example Request
curl -X GET 'https://api.homemade.dev/api/vms/string/services/health'
Example Response
{  "failed": [    "string"  ],  "ready": true,  "services": [    {      "exitCode": -9007199254740991,      "log": [        "string"      ],      "name": "string",      "port": 1,      "state": "starting",      "url": "string"    }  ]}