Skip to main content

List virtual machines

GET 

/organizations/organization/virtual_machines

Returns a list of all virtual machines for a given organization

Scopes

  • virtual_machines
  • virtual_machines:read

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Query Parameters

    organization[id] string

    All 'organization[]' params are mutually exclusive, only one can be provided.

    organization[sub_domain] string

    All 'organization[]' params are mutually exclusive, only one can be provided.

    annotations[][key] string[]

    An array of annotations to filter by.

    All annotations[] params should have the same amount of elements.

    annotations[][value] string[]

    An array of annotations to filter by.

    All annotations[] params should have the same amount of elements.

    page integer

    Possible values: >= 1

    Default value: 1

    The page number to request. If not provided, the first page will be returned.

    per_page integer

    Possible values: >= 1

    Default value: 30

    The number of items to return per page. If not provided, the default value will be used.

Responses

Returns a list of all virtual machines for a given organization

Schema

    pagination

    object

    required

    current_page integer

    The current page

    total_pages integernullable

    The total number of pages

    total integernullable

    The total number of items across all pages

    per_page integer

    The number of items per page

    large_set boolean

    Is this a large set and therefore the total number of records cannot be returned?

    virtual_machines

    object[]

    required

  • Array [

  • id string
    name string
    hostname string
    fqdn string
    created_at integer

    zone

    object

    id string
    name string
    permalink stringnullable

    data_center

    object

    id string
    name string
    permalink string

    country

    object

    id string
    name string
    iso_code2 string
    iso_code3 string
    time_zone stringnullable
    eu boolean

    package

    object

    nullable

    name string

    gpu_type

    object

    nullable

    id string
    name string
    permalink string

    ip_addresses

    object[]

  • Array [

  • address string
  • ]

  • hypervisor

    object

    nullable

    id string
    name string
  • ]

Loading...