Skip to main content
GET
Get project machine pool grant

Authorizations

Authorization
string
header
required

An opaque Omnara personal or organization bearer token.

Path Parameters

orgID
string
required

Organization ID (org_...).

Pattern: ^org_[a-z2-7]{26}$
projectID
string
required

Project ID (proj_...).

Pattern: ^proj_[a-z2-7]{26}$
poolGrantID
string
required

Project machine pool grant ID (pmpg_...).

Pattern: ^pmpg_[a-z2-7]{26}$

Response

Project machine pool grant.

id
string
required

Identifies the pool grant.

Pattern: ^pmpg_[a-z2-7]{26}$
org_id
string
required

Organization that owns the grant.

Pattern: ^org_[a-z2-7]{26}$
project_id
string
required

Project the grant lets create machines from the pool.

Pattern: ^proj_[a-z2-7]{26}$
machine_pool_id
string
required

Pool the project may create machines from.

Pattern: ^mpo_[a-z2-7]{26}$
description
string
required

Free-form note about the grant; empty if none was set.

default_machine_cpu
integer<int32> | null
required

Default vCPUs for this project's machines from the pool; null uses the pool default.

Required range: 1 <= x <= 2147483647
default_machine_memory_mb
integer<int32> | null
required

Default memory in MB for this project's machines from the pool; null uses the pool default.

Required range: 1 <= x <= 2147483647
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<int32> | null
required

Most live machines this project can have from the pool; null means only the pool limit applies.

Required range: 0 <= x <= 2147483647
max_total_cpu
integer<int32> | null
required

Most vCPUs across this project's live pool machines; null means only the pool limit applies.

Required range: 0 <= x <= 2147483647
max_total_memory_mb
integer<int32> | null
required

Most memory in MB across this project's live pool machines; null means only the pool limit applies.

Required range: 0 <= x <= 2147483647
min_machine_cpu
integer<int32> | null
required

Fewest vCPUs one of this project's machines can request; null uses the pool minimum.

Required range: 0 <= x <= 2147483647
min_machine_memory_mb
integer<int32> | null
required

Least memory in MB one of this project's machines can request; null uses the pool minimum.

Required range: 0 <= x <= 2147483647
max_machine_cpu
integer<int32> | null
required

Most vCPUs one of this project's machines can request; null uses the pool maximum.

Required range: 1 <= x <= 2147483647
max_machine_memory_mb
integer<int32> | null
required

Most memory in MB one of this project's machines can request; null uses the pool maximum.

Required range: 1 <= x <= 2147483647
delete_after_idle_minutes
required

Idle minutes before deleting a machine created through this grant. Zero disables deletion for this grant; null inherits the pool default.

Required range: 0 <= x <= 2147483647
metadata
object
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.