V Ms

List an org's VMs (cursor-paginated)

GET
/v1/orgs/{orgId}/vms
AuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer vl_….

In: header

Path Parameters

orgId*string

Query Parameters

limit?integer
cursor?string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/vms"
{
  "items": [
    {
      "id": "string",
      "organizationId": "string",
      "name": "string",
      "status": "string",
      "statusReason": "string",
      "gpuModelId": "string",
      "gpuCount": 0,
      "endpointUrl": "string",
      "createdAt": "string",
      "provisioningStage": "string",
      "resourceSize": "string",
      "tier": "string",
      "diskSizeGb": 0,
      "gpuModelName": "string",
      "pricePerHourCents": 0
    }
  ],
  "nextCursor": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}