Claude Platform Docs

Webhooks

Models
BetaWebhookAgentArchivedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the agent that triggered the event.

organization_id: string
type: "agent.archived"
workspace_id: string
BetaWebhookAgentCreatedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the agent that triggered the event.

organization_id: string
type: "agent.created"
workspace_id: string
BetaWebhookAgentDeletedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the agent that triggered the event.

organization_id: string
type: "agent.deleted"
workspace_id: string
BetaWebhookAgentUpdatedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the agent that triggered the event.

organization_id: string
type: "agent.updated"
workspace_id: string
BetaWebhookDeploymentArchivedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the deployment that triggered the event.

organization_id: string
type: "deployment.archived"
workspace_id: string
BetaWebhookDeploymentCreatedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the deployment that triggered the event.

organization_id: string
type: "deployment.created"
workspace_id: string
BetaWebhookDeploymentDeletedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the deployment that triggered the event.

organization_id: string
type: "deployment.deleted"
workspace_id: string
BetaWebhookDeploymentPausedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the deployment that triggered the event.

organization_id: string
type: "deployment.paused"
workspace_id: string
BetaWebhookDeploymentRunFailedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the deployment run that triggered the event.

organization_id: string
type: "deployment_run.failed"
workspace_id: string
BetaWebhookDeploymentRunStartedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the deployment run that triggered the event.

organization_id: string
type: "deployment_run.started"
workspace_id: string
BetaWebhookDeploymentRunSucceededEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the deployment run that triggered the event.

organization_id: string
type: "deployment_run.succeeded"
workspace_id: string
BetaWebhookDeploymentUnpausedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the deployment that triggered the event.

organization_id: string
type: "deployment.unpaused"
workspace_id: string
BetaWebhookDeploymentUpdatedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the deployment that triggered the event.

organization_id: string
type: "deployment.updated"
workspace_id: string
BetaWebhookEnvironmentArchivedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the environment that triggered the event.

organization_id: string
type: "environment.archived"
workspace_id: string
BetaWebhookEnvironmentCreatedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the environment that triggered the event.

organization_id: string
type: "environment.created"
workspace_id: string
BetaWebhookEnvironmentDeletedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the environment that triggered the event.

organization_id: string
type: "environment.deleted"
workspace_id: string
BetaWebhookEnvironmentUpdatedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the environment that triggered the event.

organization_id: string
type: "environment.updated"
workspace_id: string
BetaWebhookEvent object{ id, created_at, data, type }
id: string

Unique event identifier for idempotency.

created_at: string

RFC 3339 timestamp when the event occurred.

formatdate-time
One of the following:
type: "event"

Object type. Always event for webhook payloads.

BetaWebhookEventData = BetaWebhookSessionCreatedEventData { id, organization_id, type, workspace_id } or BetaWebhookSessionPendingEventData { id, organization_id, type, workspace_id } or BetaWebhookSessionRunningEventData { id, organization_id, type, workspace_id } or 41 more
One of the following:
BetaWebhookMemoryStoreArchivedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the memory store that triggered the event.

organization_id: string
type: "memory_store.archived"
workspace_id: string
BetaWebhookMemoryStoreCreatedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the memory store that triggered the event.

organization_id: string
type: "memory_store.created"
workspace_id: string
BetaWebhookMemoryStoreDeletedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the memory store that triggered the event.

organization_id: string
type: "memory_store.deleted"
workspace_id: string
BetaWebhookSessionArchivedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.archived"
workspace_id: string
BetaWebhookSessionBudgetReachedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.budget_reached"
workspace_id: string
BetaWebhookSessionCreatedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.created"
workspace_id: string
BetaWebhookSessionDeletedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.deleted"
workspace_id: string
BetaWebhookSessionIdledEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.idled"
workspace_id: string
BetaWebhookSessionOutcomeEvaluationEndedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.outcome_evaluation_ended"
workspace_id: string
BetaWebhookSessionPendingEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.pending"
workspace_id: string
BetaWebhookSessionRequiresActionEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.requires_action"
workspace_id: string
BetaWebhookSessionRunningEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.running"
workspace_id: string
BetaWebhookSessionStatusIdledEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.status_idled"
workspace_id: string
BetaWebhookSessionStatusRescheduledEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.status_rescheduled"
workspace_id: string
BetaWebhookSessionStatusRunStartedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.status_run_started"
workspace_id: string
BetaWebhookSessionStatusTerminatedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.status_terminated"
workspace_id: string
BetaWebhookSessionThreadCreatedEventData object{ id, organization_id, session_thread_id, 2 more }
id: string

ID of the session that triggered the event.

organization_id: string
session_thread_id: string

ID of the session thread this event refers to.

type: "session.thread_created"
workspace_id: string
BetaWebhookSessionThreadIdledEventData object{ id, organization_id, session_thread_id, 2 more }
id: string

ID of the session that triggered the event.

organization_id: string
session_thread_id: string

ID of the session thread this event refers to.

type: "session.thread_idled"
workspace_id: string
BetaWebhookSessionThreadTerminatedEventData object{ id, organization_id, session_thread_id, 2 more }
id: string

ID of the session that triggered the event.

organization_id: string
session_thread_id: string

ID of the session thread this event refers to.

type: "session.thread_terminated"
workspace_id: string
BetaWebhookSessionUpdatedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the session that triggered the event.

organization_id: string
type: "session.updated"
workspace_id: string
BetaWebhookVaultArchivedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the vault that triggered the event.

organization_id: string
type: "vault.archived"
workspace_id: string
BetaWebhookVaultCreatedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the vault that triggered the event.

organization_id: string
type: "vault.created"
workspace_id: string
BetaWebhookVaultCredentialArchivedEventData object{ id, organization_id, type, 2 more }
id: string

ID of the vault credential that triggered the event.

organization_id: string
type: "vault_credential.archived"
vault_id: string

ID of the vault that owns this credential.

workspace_id: string
BetaWebhookVaultCredentialCreatedEventData object{ id, organization_id, type, 2 more }
id: string

ID of the vault credential that triggered the event.

organization_id: string
type: "vault_credential.created"
vault_id: string

ID of the vault that owns this credential.

workspace_id: string
BetaWebhookVaultCredentialDeletedEventData object{ id, organization_id, type, 2 more }
id: string

ID of the vault credential that triggered the event.

organization_id: string
type: "vault_credential.deleted"
vault_id: string

ID of the vault that owns this credential.

workspace_id: string
BetaWebhookVaultCredentialRefreshFailedEventData object{ id, organization_id, type, 2 more }
id: string

ID of the vault credential that triggered the event.

organization_id: string
type: "vault_credential.refresh_failed"
vault_id: string

ID of the vault that owns this credential.

workspace_id: string
BetaWebhookVaultDeletedEventData object{ id, organization_id, type, workspace_id }
id: string

ID of the vault that triggered the event.

organization_id: string
type: "vault.deleted"
workspace_id: string
UnwrapWebhookEvent object{ id, created_at, data, type }
id: string

Unique event identifier for idempotency.

created_at: string

RFC 3339 timestamp when the event occurred.

formatdate-time
One of the following:
type: "event"

Object type. Always event for webhook payloads.