v7

OpenAPI 3.0.12026-08-03158127387.0 KB
Virtual machines

List VMs

Show all Team's Virtual Machines.

get/virtual_machines

Query parameters

filter[project]string

The project ID or Slug to filter by

filter[tags]string

The tag IDs to filter by, separated by comma, e.g. filter[tags]=tag_1,tag_2 will return VMs with tag_1 AND tag_2.

extra_fields[virtual_machines]string

Comma-separated extra attributes that are lazy-loaded. Supported values: credentials, pending_restart. Example: extra_fields[virtual_machines]=credentials,pending_restart.

sortstring

Comma-separated sort fields. Prefix a field with - for descending order. Supported fields: created_at, name, hostname, status. Example: sort=status,-created_at sorts by status ascending, then by creation date descending.

page[size]integer

Number of items to return per page

page[number]integer

Page number to return (starts at 1)

stats[total]string

Request aggregate stats in the response meta. Use count to get the total number of records, returned as meta.stats.total.count.

Response

Success