Machines

List visible machines

Changed on

Lists the machines the caller can see, both BYO and pooled, newest first by default, with each one's connection state. Items are summaries without execution defaults or metadata.

get/orgs/{orgID}/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_...).

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 to the authenticated user.

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