デプロイメント実行
デプロイメント実行の一覧を取得
$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>anthropic-beta: managed-agents-2026-04-01. How to send beta headersデプロイメント実行を取得
$client->beta->deploymentRuns->retrieve(string deploymentRunID, ?list<AnthropicBeta> betas, ?string workspaceID): BetaManagedAgentsDeploymentRunanthropic-beta: managed-agents-2026-04-01. How to send beta headersModels
class BetaManagedAgentsAgentArchivedRunError { $type = 'agent_archived_error'; $message; }
Human-readable error description.
class BetaManagedAgentsDeploymentRun { $type = 'deployment_run'; $id; $agent; /* 5 more */ }
Unique identifier for this run (drun_...).
Snapshot of the agent at fire time. Always fully resolved — deployments pin agent + version.
Time this run record was persisted.
ID of the deployment that produced this run.
Populated on creation failure. Null on success. Exactly one of session_id or error is non-null.
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; }
Human-readable error description.
class BetaManagedAgentsEnvironmentNotFoundRunError { $type = 'environment_not_found_error'; $message; }
Human-readable error description.
class BetaManagedAgentsFileNotFoundRunError { $type = 'file_not_found_error'; $message; }
Human-readable error description.
class BetaManagedAgentsManualTriggerContext { $type = 'manual'; }
class BetaManagedAgentsMCPEgressBlockedRunError { $type = 'mcp_egress_blocked_error'; $message; }
Human-readable error description.
class BetaManagedAgentsMemoryStoreArchivedRunError { $type = 'memory_store_archived_error'; $message; }
Human-readable error description.
class BetaManagedAgentsOrganizationDisabledRunError { $type = 'organization_disabled_error'; $message; }
Human-readable error description.
class BetaManagedAgentsScheduleTriggerContext { $type = 'schedule'; $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; }
Human-readable error description.
class BetaManagedAgentsSessionCreationRejectedRunError { $type = 'session_creation_rejected_error'; $message; }
Human-readable error description.
class BetaManagedAgentsSessionRateLimitedRunError { $type = 'session_rate_limited_error'; $message; }
Human-readable error description.
class BetaManagedAgentsSessionResourceNotFoundRunError { $type = 'session_resource_not_found_error'; $message; }
Human-readable error description.
class BetaManagedAgentsSkillNotFoundRunError { $type = 'skill_not_found_error'; $message; }
Human-readable error description.
class BetaManagedAgentsScheduleTriggerContext { $type = 'schedule'; $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'; }
The run was fired by the deployment's cron schedule.
The run was started manually by creating a session directly against the deployment.
class BetaManagedAgentsUnknownRunError { $type = 'unknown_error'; $message; }
Human-readable error description.
class BetaManagedAgentsVaultArchivedRunError { $type = 'vault_archived_error'; $message; }
Human-readable error description.
class BetaManagedAgentsVaultNotFoundRunError { $type = 'vault_not_found_error'; $message; }
Human-readable error description.
class BetaManagedAgentsWorkspaceArchivedRunError { $type = 'workspace_archived_error'; $message; }
Human-readable error description.