LogoFreestyle
API ReferenceVm

List_vms

List VMs

GET
/v1/vms

Response Body

application/json

application/json

curl -X GET "https://api.freestyle.sh/v1/vms"
{
  "vms": [
    {
      "id": "string",
      "state": "starting",
      "metrics": {},
      "createdAt": "2019-08-24T14:15:22Z",
      "lastNetworkActivity": "2019-08-24T14:15:22Z",
      "cpuTimeSeconds": 0
    }
  ],
  "totalCount": 0,
  "runningCount": 0,
  "startingCount": 0,
  "stoppedCount": 0,
  "userId": "string"
}
{
  "error": "string",
  "message": "string"
}

Freestyle AI

Documentation assistant

Experimental: AI responses may not always be accurate—please verify important details with the official documentation.

How can I help?

Ask me about Freestyle while you browse the docs.