Claude Platform Docs

Eksekusi Deployment

Daftar Eksekusi Deployment
$client->beta->deploymentRuns->list(?\Datetime createdAtGt, ?\Datetime createdAtGte, ?\Datetime createdAtLt, ?\Datetime createdAtLte, ?string deploymentID, ?bool hasError, ?int limit, ?string page, ?BetaManagedAgentsTriggerType triggerType, ?list<AnthropicBeta> betas, ?string workspaceID): PageCursor<BetaManagedAgentsDeploymentRun>
GET/v1/deployment_runs
Requires anthropic-beta: managed-agents-2026-04-01. How to send beta headers
Dapatkan Eksekusi Deployment
$client->beta->deploymentRuns->retrieve(string deploymentRunID, ?list<AnthropicBeta> betas, ?string workspaceID): BetaManagedAgentsDeploymentRun
GET/v1/deployment_runs/{deployment_run_id}
Requires anthropic-beta: managed-agents-2026-04-01. How to send beta headers
Models
class BetaManagedAgentsAgentArchivedRunError { $type = 'agent_archived_error'; $message; }
"agent_archived_error" type
string message

Human-readable error description.

class BetaManagedAgentsDeploymentRun { $type = 'deployment_run'; $id; $agent; /* 5 more */ }
"deployment_run" type
string id

Unique identifier for this run (drun_...).

Snapshot of the agent at fire time. Always fully resolved — deployments pin agent + version.

\Datetime createdAt

Time this run record was persisted.

string deploymentID

ID of the deployment that produced this run.

?Error error

Populated on creation failure. Null on success. Exactly one of session_id or error is non-null.

?string sessionID

Populated on success. Null on creation failure. Exactly one of session_id or error is non-null.

What triggered this run and trigger-specific metadata.

class BetaManagedAgentsEnvironmentArchivedRunError { $type = 'environment_archived_error'; $message; }
"environment_archived_error" type
string message

Human-readable error description.

class BetaManagedAgentsEnvironmentNotFoundRunError { $type = 'environment_not_found_error'; $message; }
"environment_not_found_error" type
string message

Human-readable error description.

class BetaManagedAgentsFileNotFoundRunError { $type = 'file_not_found_error'; $message; }
"file_not_found_error" type
string message

Human-readable error description.

class BetaManagedAgentsManualTriggerContext { $type = 'manual'; }
"manual" type
class BetaManagedAgentsMCPEgressBlockedRunError { $type = 'mcp_egress_blocked_error'; $message; }
"mcp_egress_blocked_error" type
string message

Human-readable error description.

class BetaManagedAgentsMemoryStoreArchivedRunError { $type = 'memory_store_archived_error'; $message; }
"memory_store_archived_error" type
string message

Human-readable error description.

class BetaManagedAgentsOrganizationDisabledRunError { $type = 'organization_disabled_error'; $message; }
"organization_disabled_error" type
string message

Human-readable error description.

class BetaManagedAgentsScheduleTriggerContext { $type = 'schedule'; $scheduledAt; }
"schedule" type
\Datetime scheduledAt

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.

class BetaManagedAgentsSelfHostedResourcesUnsupportedRunError { $type = 'self_hosted_resources_unsupported_error'; $message; }
"self_hosted_resources_unsupported_error" type
string message

Human-readable error description.

class BetaManagedAgentsSessionCreationRejectedRunError { $type = 'session_creation_rejected_error'; $message; }
"session_creation_rejected_error" type
string message

Human-readable error description.

class BetaManagedAgentsSessionRateLimitedRunError { $type = 'session_rate_limited_error'; $message; }
"session_rate_limited_error" type
string message

Human-readable error description.

class BetaManagedAgentsSessionResourceNotFoundRunError { $type = 'session_resource_not_found_error'; $message; }
"session_resource_not_found_error" type
string message

Human-readable error description.

class BetaManagedAgentsSkillNotFoundRunError { $type = 'skill_not_found_error'; $message; }
"skill_not_found_error" type
string message

Human-readable error description.

One of the following:
class BetaManagedAgentsScheduleTriggerContext { $type = 'schedule'; $scheduledAt; }
"schedule" type
\Datetime scheduledAt

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.

class BetaManagedAgentsManualTriggerContext { $type = 'manual'; }
"manual" type
One of the following:
"schedule"

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

"manual"

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

class BetaManagedAgentsUnknownRunError { $type = 'unknown_error'; $message; }
"unknown_error" type
string message

Human-readable error description.

class BetaManagedAgentsVaultArchivedRunError { $type = 'vault_archived_error'; $message; }
"vault_archived_error" type
string message

Human-readable error description.

class BetaManagedAgentsVaultNotFoundRunError { $type = 'vault_not_found_error'; $message; }
"vault_not_found_error" type
string message

Human-readable error description.

class BetaManagedAgentsWorkspaceArchivedRunError { $type = 'workspace_archived_error'; $message; }
"workspace_archived_error" type
string message

Human-readable error description.