POST

授權

x-api-key
string
header
必填

路徑參數

environment_id
string
必填

回應

Success.

Unified Environment resource for both cloud and self-hosted environments.

id
string
必填

Environment identifier (e.g., 'env_...')

archived_at
string | null
必填

RFC 3339 timestamp when environment was archived, or null if not archived

config
object
必填

Environment configuration (either Anthropic Cloud or self-hosted)

created_at
string
必填

RFC 3339 timestamp when environment was created

description
string | null
必填

User-provided description for the environment; null when unset

metadata
object
必填

User-provided metadata key-value pairs

name
string
必填

Human-readable name for the environment

type
string
必填

The type of object (always 'environment')

Allowed value: "environment"
updated_at
string
必填

RFC 3339 timestamp when environment was last updated

scope
enum<string>

The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account.

可用選項:
organization,
account