Machines

List visible project machines

Changed on

Items are ordered by machine created_at descending, then machine id descending.

get/orgs/{orgID}/projects/{projectID}/machines

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session

Path parameters

orgID, string required

Organization ID (org_...).

projectID, string required

Project ID (proj_...).

Query parameters

name, string

Case-insensitive glob over the list's logical name. * matches zero or more characters, ? matches one character, and \ escapes a wildcard.

source_kind, 'byo' | 'pool'

Filter machines by source kind. Omit to include both BYO and pooled machines.

machine_pool_id, string

Machine pool ID (mpo_...).

Return only machines provisioned by this machine pool.

sort, 'name' | '-name' | '-updated_at' | 'updated_at' | '-created_at' | 'created_at'

Field to sort by; prefix with - for descending order. Defaults to -created_at (newest first).

limit, integer

Maximum number of items to return in one page.

cursor, string

Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.

Response

Machines visible in the project.

ListVisibleMachinesResponse required
data, VisibleMachine[] required
next_cursor, string nullable required

Changes

    • info

      added the new optional query request parameter machine_pool_id

    • info

      added the optional property current_digest to the response with the status

    • info

      added the optional property current_digest to the response with the status

    157 more changes in this revision