---
title: "List machine pools"
method: GET
path: "/orgs/{orgID}/machine-pools"
tags: ["Machine Pools"]
---

# List machine pools

`GET /orgs/{orgID}/machine-pools`

## Request

- Base URL: `https://api.omnara.com/v1`
- URL: `https://api.omnara.com/v1/orgs/{orgID}/machine-pools`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-omnara_session`

List machine pools with server-side filtering, sorting, and cursor pagination.

## Path parameters

- `orgID` string, required

## Query parameters

- `name` string
- `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
- `cursor` string

## Response `200`

Machine pools.

- ListMachinePoolsResponse
  - `data` MachinePool[], required
    - `id` string, required: Machine pool ID (mpo_...).
    - `org_id` string, required
    - `name` string, required: Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.
    - `management_kind` 'tenant' | 'cluster', required: Lifecycle owner. Tenant-managed resources can be changed through tenant APIs. Cluster-managed resources are installed and lifecycle-managed by the control plane; individual APIs may explicitly expose tenant-editable settings.
    - `description` string, required
    - `provider` string, required
    - `default_machine_cpu` integer, nullable, required
    - `default_machine_memory_mb` integer, nullable, required
    - `default_machine_env` object, required: Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch.
    - `default_machine_secret_env` object, required: Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied.
    - `default_machine_provider_options` object, required
    - `default_cwd` string, required
    - `provider_auth_secret_id` string: Secret ID (sec_...).
    - `provider_config` object, required
    - `runtime_protection_enabled` boolean, required: Whether Omnara deletes this pool's machines when the provider remains running after the daemon becomes inactive.
    - `max_total_machines` integer, required
    - `max_total_cpu` integer, nullable, required
    - `max_total_memory_mb` integer, nullable, required
    - `min_machine_cpu` integer, nullable, required
    - `min_machine_memory_mb` integer, nullable, required
    - `max_machine_cpu` integer, nullable, required
    - `max_machine_memory_mb` integer, nullable, required
    - `delete_after_idle_minutes` integer, nullable, required: Idle minutes before deleting a machine from this pool, or null when the pool default is unset.
    - `metadata` Metadata, required: Arbitrary key-value labels stored with the resource.
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `usage` MachinePoolUsage: Current quota-consuming usage. Populated when the machine pool is returned by the list or get endpoint.
      - `machines` integer, required
      - `cpu` integer, required
      - `memory_mb` integer, required
  - `next_cursor` string, nullable, required

## Other responses

- `400`: The request was invalid.
- `401`: Authentication is required or invalid.
- `403`: The authenticated principal is not authorized.
- `404`: The requested resource was not found or is not visible.
- `409`: The request conflicts with current resource state or idempotency history.
- `503`: The service dependency required to satisfy the request is unavailable.
- `4XX`: Any other client error. The body carries the shared Error envelope restricted to client error codes; statuses with a dedicated response above are documented precisely.
- `5XX`: Any other server error. The body carries the shared Error envelope restricted to server error codes.

## Changes

- **2026-10-05** `3d9e2cf46e07`: 159 info
  - added the optional property `current_digest` to the response with the `400` status
  - added the optional property `current_digest` to the response with the `401` status
  - added the optional property `current_digest` to the response with the `403` status
  - added the optional property `current_digest` to the response with the `404` status
  - …155 more
  - …this revision’s changelog is incomplete
- **2026-09-28** `acddeb8fc6a5`: 7 warning, 7 info
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `400`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `401`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `403`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `404`
  - …10 more
- **2026-09-01** `e4978b047d7a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/orgs/:orgID/machine-pools/get.md)

---

[API](https://skmtc.dev/omnara/apis/omnara-api-2.md) - [All operations](https://skmtc.dev/omnara/apis/omnara-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/omnara/apis/omnara-api-2/revisions/343aebb1dff1?raw)
