Webhook
Models
BetaWebhookAgentArchivedEventData object{ type, id, organization_id, workspace_id }
ID of the agent that triggered the event.
BetaWebhookAgentCreatedEventData object{ type, id, organization_id, workspace_id }
ID of the agent that triggered the event.
BetaWebhookAgentDeletedEventData object{ type, id, organization_id, workspace_id }
ID of the agent that triggered the event.
BetaWebhookAgentUpdatedEventData object{ type, id, organization_id, workspace_id }
ID of the agent that triggered the event.
BetaWebhookDeploymentArchivedEventData object{ type, id, organization_id, workspace_id }
ID of the deployment that triggered the event.
BetaWebhookDeploymentCreatedEventData object{ type, id, organization_id, workspace_id }
ID of the deployment that triggered the event.
BetaWebhookDeploymentDeletedEventData object{ type, id, organization_id, workspace_id }
ID of the deployment that triggered the event.
BetaWebhookDeploymentPausedEventData object{ type, id, organization_id, workspace_id }
ID of the deployment that triggered the event.
BetaWebhookDeploymentRunFailedEventData object{ type, id, organization_id, workspace_id }
ID of the deployment run that triggered the event.
BetaWebhookDeploymentRunStartedEventData object{ type, id, organization_id, workspace_id }
ID of the deployment run that triggered the event.
BetaWebhookDeploymentRunSucceededEventData object{ type, id, organization_id, workspace_id }
ID of the deployment run that triggered the event.
BetaWebhookDeploymentUnpausedEventData object{ type, id, organization_id, workspace_id }
ID of the deployment that triggered the event.
BetaWebhookDeploymentUpdatedEventData object{ type, id, organization_id, workspace_id }
ID of the deployment that triggered the event.
BetaWebhookEnvironmentArchivedEventData object{ type, id, organization_id, workspace_id }
ID of the environment that triggered the event.
BetaWebhookEnvironmentCreatedEventData object{ type, id, organization_id, workspace_id }
ID of the environment that triggered the event.
BetaWebhookEnvironmentDeletedEventData object{ type, id, organization_id, workspace_id }
ID of the environment that triggered the event.
BetaWebhookEnvironmentUpdatedEventData object{ type, id, organization_id, workspace_id }
ID of the environment that triggered the event.
BetaWebhookEvent object{ type, id, created_at, data }
Object type. Always event for webhook payloads.
Unique event identifier for idempotency.
created_at: stringRFC 3339 timestamp when the event occurred.
RFC 3339 timestamp when the event occurred.
data: BetaWebhookEventData
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
BetaWebhookMemoryStoreArchivedEventData object{ type, id, organization_id, workspace_id }
ID of the memory store that triggered the event.
BetaWebhookMemoryStoreCreatedEventData object{ type, id, organization_id, workspace_id }
ID of the memory store that triggered the event.
BetaWebhookMemoryStoreDeletedEventData object{ type, id, organization_id, workspace_id }
ID of the memory store that triggered the event.
BetaWebhookSessionArchivedEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookSessionBudgetReachedEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookSessionCreatedEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookSessionDeletedEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookSessionIdledEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookSessionOutcomeEvaluationEndedEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookSessionPendingEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookSessionRequiresActionEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookSessionRunningEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookSessionStatusIdledEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookSessionStatusRescheduledEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookSessionStatusRunStartedEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookSessionStatusTerminatedEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookSessionThreadCreatedEventData object{ type, id, organization_id, 2 more }
ID of the session that triggered the event.
ID of the session thread this event refers to.
BetaWebhookSessionThreadIdledEventData object{ type, id, organization_id, 2 more }
ID of the session that triggered the event.
ID of the session thread this event refers to.
BetaWebhookSessionThreadTerminatedEventData object{ type, id, organization_id, 2 more }
ID of the session that triggered the event.
ID of the session thread this event refers to.
BetaWebhookSessionUpdatedEventData object{ type, id, organization_id, workspace_id }
ID of the session that triggered the event.
BetaWebhookVaultArchivedEventData object{ type, id, organization_id, workspace_id }
ID of the vault that triggered the event.
BetaWebhookVaultCreatedEventData object{ type, id, organization_id, workspace_id }
ID of the vault that triggered the event.
BetaWebhookVaultCredentialArchivedEventData object{ type, id, organization_id, 2 more }
ID of the vault credential that triggered the event.
ID of the vault that owns this credential.
BetaWebhookVaultCredentialCreatedEventData object{ type, id, organization_id, 2 more }
ID of the vault credential that triggered the event.
ID of the vault that owns this credential.
BetaWebhookVaultCredentialDeletedEventData object{ type, id, organization_id, 2 more }
ID of the vault credential that triggered the event.
ID of the vault that owns this credential.
BetaWebhookVaultCredentialRefreshFailedEventData object{ type, id, organization_id, 2 more }
ID of the vault credential that triggered the event.
ID of the vault that owns this credential.
BetaWebhookVaultDeletedEventData object{ type, id, organization_id, workspace_id }
ID of the vault that triggered the event.