---
title: "List project machine pool grants"
method: GET
path: "/orgs/{orgID}/projects/{projectID}/machine-pool-grants"
tags: ["Machine Pools"]
---

# List project machine pool grants

`GET /orgs/{orgID}/projects/{projectID}/machine-pool-grants`

## Request

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

Lists the machine pools a project can create machines from, one grant per pool, most recently granted first by default.

## Path parameters

- `orgID` string, required
- `projectID` string, required

## Query parameters

- `name` string
- `machine_pool_id` string: Machine pool ID (mpo_...).
- `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`

Project machine pool grants.

- ListProjectMachinePoolGrantsResponse
  - `data` ProjectMachinePoolGrantListItem[], required
    - `grant` ProjectMachinePoolGrant, required
      - `id` string, required: Identifies the pool grant.
      - `org_id` string, required: Organization that owns the grant.
      - `project_id` string, required: Project the grant lets create machines from the pool.
      - `machine_pool_id` string, required: Pool the project may create machines from.
      - `description` string, required: Free-form note about the grant; empty if none was set.
      - `default_machine_cpu` integer, nullable, required: Default vCPUs for this project's machines from the pool; null uses the pool default.
      - `default_machine_memory_mb` integer, nullable, required: Default memory in MB for this project's machines from the pool; null uses the pool default.
      - `default_machine_env_overlay` object, required: Env overlay merged over the pool's default_machine_env for machines materialized through this grant; a null entry removes the key.
      - `default_machine_secret_env_overlay` object, required: Secret env overlay merged over the pool's default_machine_secret_env for machines materialized through this grant; a null entry removes the key.
      - `default_machine_provider_options_overlay` object, required: Provider options layered over the pool's for this project's machines.
      - `default_cwd` string, required: Working directory for this project's machines from the pool; empty uses the pool default.
      - `max_total_machines` integer, nullable, required: Most live machines this project can have from the pool; null means only the pool limit applies.
      - `max_total_cpu` integer, nullable, required: Most vCPUs across this project's live pool machines; null means only the pool limit applies.
      - `max_total_memory_mb` integer, nullable, required: Most memory in MB across this project's live pool machines; null means only the pool limit applies.
      - `min_machine_cpu` integer, nullable, required: Fewest vCPUs one of this project's machines can request; null uses the pool minimum.
      - `min_machine_memory_mb` integer, nullable, required: Least memory in MB one of this project's machines can request; null uses the pool minimum.
      - `max_machine_cpu` integer, nullable, required: Most vCPUs one of this project's machines can request; null uses the pool maximum.
      - `max_machine_memory_mb` integer, nullable, required: Most memory in MB one of this project's machines can request; null uses the pool maximum.
      - `delete_after_idle_minutes` union, required: Idle minutes before deleting a machine created through this grant. Zero disables deletion for this grant; null inherits the pool default.
        - 0
        - integer
      - `metadata` Metadata, required: Key-value metadata attached to the grant.
      - `created_at` string, date-time, required: When the grant was created.
      - `updated_at` string, date-time, required: When the grant last changed.
    - `machine_pool` MachinePoolSummary, 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
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, 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-13** `95bac40627a1`: 1 info
  - added the new optional `query` request parameter `machine_pool_id`
- **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/projects/:projectID/machine-pool-grants/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)
