Claude Platform Docs

배포 실행

배포 실행 목록 조회
client.Beta.DeploymentRuns.List(ctx, params) (*PageCursor[BetaManagedAgentsDeploymentRun], error)
GET/v1/deployment_runs
Requires anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.
배포 실행 조회
client.Beta.DeploymentRuns.Get(ctx, deploymentRunID, query) (*BetaManagedAgentsDeploymentRun, error)
GET/v1/deployment_runs/{deployment_run_id}
Requires anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.
Models
type BetaManagedAgentsAgentArchivedRunErrorObject struct { Type: "agent_archived_error"; Message }

The deployment's agent was archived.

Type AgentArchivedError
Message string

Human-readable error description.

type BetaManagedAgentsDeploymentRun struct { Type: "deployment_run"; ID; Agent; /* 5 more */ }

A persistent, append-only record of a single deployment execution. Records session creation success or failure — no session lifecycle tracking.

type BetaManagedAgentsEnvironmentArchivedRunErrorObject struct { Type: "environment_archived_error"; Message }

The deployment's environment was archived.

Type EnvironmentArchivedError
Message string

Human-readable error description.

type BetaManagedAgentsEnvironmentNotFoundRunErrorObject struct { Type: "environment_not_found_error"; Message }

The deployment's environment no longer exists.

Type EnvironmentNotFoundError
Message string

Human-readable error description.

type BetaManagedAgentsFileNotFoundRunErrorObject struct { Type: "file_not_found_error"; Message }

A file resource referenced by the deployment no longer exists.

Type FileNotFoundError
Message string

Human-readable error description.

type BetaManagedAgentsManualTriggerContext struct { Type: "manual" }

The run was started manually by creating a session directly against the deployment.

Type Manual
type BetaManagedAgentsMCPEgressBlockedRunErrorObject struct { Type: "mcp_egress_blocked_error"; Message }

An MCP server host used by the deployment's agent is blocked by the environment's network policy.

Type MCPEgressBlockedError
Message string

Human-readable error description.

type BetaManagedAgentsMemoryStoreArchivedRunErrorObject struct { Type: "memory_store_archived_error"; Message }

A memory store referenced by the deployment is archived.

Type MemoryStoreArchivedError
Message string

Human-readable error description.

type BetaManagedAgentsOrganizationDisabledRunErrorObject struct { Type: "organization_disabled_error"; Message }

The deployment's organization is disabled.

Type OrganizationDisabledError
Message string

Human-readable error description.

type BetaManagedAgentsScheduleTriggerContext struct { Type: "schedule"; ScheduledAt }

The run was fired by the deployment's cron schedule.

Type Schedule
ScheduledAt Time

The UTC instant at which the cron expression matched in the configured timezone, before jitter is applied. At most one run is recorded per (deployment_id, scheduled_at) pair.

formatdate-time
type BetaManagedAgentsSelfHostedResourcesUnsupportedRunErrorObject struct { Type: "self_hosted_resources_unsupported_error"; Message }

The deployment configures resources, but its environment is self-hosted and cannot mount them.

Type SelfHostedResourcesUnsupportedError
Message string

Human-readable error description.

type BetaManagedAgentsSessionCreationRejectedRunErrorObject struct { Type: "session_creation_rejected_error"; Message }

The session create request was rejected with a non-retryable validation error.

Type SessionCreationRejectedError
Message string

Human-readable error description.

type BetaManagedAgentsSessionRateLimitedRunErrorObject struct { Type: "session_rate_limited_error"; Message }

Session creation was rejected due to rate limiting. The schedule keeps firing; subsequent runs may succeed.

Type SessionRateLimitedError
Message string

Human-readable error description.

type BetaManagedAgentsSessionResourceNotFoundRunErrorObject struct { Type: "session_resource_not_found_error"; Message }

A referenced resource no longer exists and its kind was not reported.

Type SessionResourceNotFoundError
Message string

Human-readable error description.

type BetaManagedAgentsSkillNotFoundRunErrorObject struct { Type: "skill_not_found_error"; Message }

A skill referenced by the deployment's agent no longer exists.

Type SkillNotFoundError
Message string

Human-readable error description.

type BetaManagedAgentsTriggerContextUnion interface{…}

Describes what triggered a deployment run, with trigger-specific metadata.

One of the following:
type BetaManagedAgentsScheduleTriggerContext struct { Type: "schedule"; ScheduledAt }

The run was fired by the deployment's cron schedule.

Type Schedule
ScheduledAt Time

The UTC instant at which the cron expression matched in the configured timezone, before jitter is applied. At most one run is recorded per (deployment_id, scheduled_at) pair.

formatdate-time
type BetaManagedAgentsManualTriggerContext struct { Type: "manual" }

The run was started manually by creating a session directly against the deployment.

Type Manual
type BetaManagedAgentsTriggerType string

What triggered a deployment run.

One of the following:
const BetaManagedAgentsTriggerTypeSchedule BetaManagedAgentsTriggerType = "schedule"

The run was fired by the deployment's cron schedule.

const BetaManagedAgentsTriggerTypeManual BetaManagedAgentsTriggerType = "manual"

The run was started manually by creating a session directly against the deployment.

type BetaManagedAgentsUnknownRunErrorObject struct { Type: "unknown_error"; Message }

An unknown or unexpected error caused the run to fail. A fallback variant; clients that do not recognize a new error type can match on message alone.

Type UnknownError
Message string

Human-readable error description.

type BetaManagedAgentsVaultArchivedRunErrorObject struct { Type: "vault_archived_error"; Message }

A vault referenced by the deployment is archived.

Type VaultArchivedError
Message string

Human-readable error description.

type BetaManagedAgentsVaultNotFoundRunErrorObject struct { Type: "vault_not_found_error"; Message }

A vault referenced by the deployment no longer exists.

Type VaultNotFoundError
Message string

Human-readable error description.

type BetaManagedAgentsWorkspaceArchivedRunErrorObject struct { Type: "workspace_archived_error"; Message }

The deployment's workspace was archived.

Type WorkspaceArchivedError
Message string

Human-readable error description.