GET

인증

x-api-key
string
header
필수

헤더

bma-workspace-id
string

Project scope. Required when the API key can access more than one project. Also accepted as anthropic-workspace-id; headers sent together must agree, otherwise the request is a 400 workspace_id_conflict.

경로 매개변수

pool_id
string
필수
grant_id
string
필수

쿼리 매개변수

project_id
string

응답

Success.

type
string
필수

Always machine_pool_grant.

Allowed value: "machine_pool_grant"
id
string
필수
Pattern: ^pmpg_[a-z2-7]{26}$
org_id
string
필수
Pattern: ^org_[a-z2-7]{26}$
project_id
string
필수

Project ID (proj_...).

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

Machine pool ID (mpo_...), or env_... for a cloud environment's own pool, which shares the environment's ID.

Pattern: ^(mpo|env)_[a-z2-7]{26}$
description
string
필수
default_machine_cpu
integer<int32> | null
필수
필수 범위: 1 <= x <= 2147483647
default_machine_memory_mb
integer<int32> | null
필수
필수 범위: 1 <= x <= 2147483647
default_machine_env_overlay
object
필수

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
필수

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
필수
default_cwd
string
필수
max_total_machines
integer<int32> | null
필수
필수 범위: 0 <= x <= 2147483647
max_total_cpu
integer<int32> | null
필수
필수 범위: 0 <= x <= 2147483647
max_total_memory_mb
integer<int32> | null
필수
필수 범위: 0 <= x <= 2147483647
min_machine_cpu
integer<int32> | null
필수
필수 범위: 0 <= x <= 2147483647
min_machine_memory_mb
integer<int32> | null
필수
필수 범위: 0 <= x <= 2147483647
max_machine_cpu
integer<int32> | null
필수
필수 범위: 1 <= x <= 2147483647
max_machine_memory_mb
integer<int32> | null
필수
필수 범위: 1 <= x <= 2147483647
delete_after_idle_minutes
필수

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

필수 범위: 0 <= x <= 2147483647
metadata
object
필수

Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.

created_at
string<date-time>
필수
updated_at
string<date-time>
필수
machine_pool
object

Present on list items.