Claude Platform Docs

Webhook

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

ID of the agent that triggered the event.

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

ID of the agent that triggered the event.

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

ID of the agent that triggered the event.

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

ID of the agent that triggered the event.

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

ID of the deployment that triggered the event.

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

ID of the deployment that triggered the event.

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

ID of the deployment that triggered the event.

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

ID of the deployment that triggered the event.

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

ID of the deployment run that triggered the event.

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

ID of the deployment run that triggered the event.

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

ID of the deployment run that triggered the event.

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

ID of the deployment that triggered the event.

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

ID of the deployment that triggered the event.

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

ID of the environment that triggered the event.

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

ID of the environment that triggered the event.

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

ID of the environment that triggered the event.

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

ID of the environment that triggered the event.

organization_id: string
workspace_id: string
BetaWebhookEvent object{ type, id, created_at, data }
type: "event"

Object type. Always event for webhook payloads.

id: string

Unique event identifier for idempotency.

created_at: string

RFC 3339 timestamp when the event occurred.

formatdate-time
One of the following:
BetaWebhookEventData = BetaWebhookSessionCreatedEventData { type, id, organization_id, workspace_id } or BetaWebhookSessionPendingEventData { type, id, organization_id, workspace_id } or BetaWebhookSessionRunningEventData { type, id, organization_id, workspace_id } or 41 more
One of the following:
BetaWebhookMemoryStoreArchivedEventData object{ type, id, organization_id, workspace_id }
type: "memory_store.archived"
id: string

ID of the memory store that triggered the event.

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

ID of the memory store that triggered the event.

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

ID of the memory store that triggered the event.

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

ID of the session that triggered the event.

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

ID of the session that triggered the event.

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

ID of the session that triggered the event.

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

ID of the session that triggered the event.

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

ID of the session that triggered the event.

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

ID of the session that triggered the event.

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

ID of the session that triggered the event.

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

ID of the session that triggered the event.

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

ID of the session that triggered the event.

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

ID of the session that triggered the event.

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

ID of the session that triggered the event.

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

ID of the session that triggered the event.

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

ID of the session that triggered the event.

organization_id: string
workspace_id: string
BetaWebhookSessionThreadCreatedEventData object{ type, id, organization_id, 2 more }
type: "session.thread_created"
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.

workspace_id: string
BetaWebhookSessionThreadIdledEventData object{ type, id, organization_id, 2 more }
type: "session.thread_idled"
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.

workspace_id: string
BetaWebhookSessionThreadTerminatedEventData object{ type, id, organization_id, 2 more }
type: "session.thread_terminated"
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.

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

ID of the session that triggered the event.

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

ID of the vault that triggered the event.

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

ID of the vault that triggered the event.

organization_id: string
workspace_id: string
BetaWebhookVaultCredentialArchivedEventData object{ type, id, organization_id, 2 more }
type: "vault_credential.archived"
id: string

ID of the vault credential that triggered the event.

organization_id: string
vault_id: string

ID of the vault that owns this credential.

workspace_id: string
BetaWebhookVaultCredentialCreatedEventData object{ type, id, organization_id, 2 more }
type: "vault_credential.created"
id: string

ID of the vault credential that triggered the event.

organization_id: string
vault_id: string

ID of the vault that owns this credential.

workspace_id: string
BetaWebhookVaultCredentialDeletedEventData object{ type, id, organization_id, 2 more }
type: "vault_credential.deleted"
id: string

ID of the vault credential that triggered the event.

organization_id: string
vault_id: string

ID of the vault that owns this credential.

workspace_id: string
BetaWebhookVaultCredentialRefreshFailedEventData object{ type, id, organization_id, 2 more }
type: "vault_credential.refresh_failed"
id: string

ID of the vault credential that triggered the event.

organization_id: string
vault_id: string

ID of the vault that owns this credential.

workspace_id: string
BetaWebhookVaultDeletedEventData object{ type, id, organization_id, workspace_id }
type: "vault.deleted"
id: string

ID of the vault that triggered the event.

organization_id: string
workspace_id: string