Webhooks
Models
class BetaWebhookAgentArchivedEventData { Type = "agent.archived"; ID; OrganizationID; WorkspaceID; }
ID of the agent that triggered the event.
class BetaWebhookAgentCreatedEventData { Type = "agent.created"; ID; OrganizationID; WorkspaceID; }
ID of the agent that triggered the event.
class BetaWebhookAgentDeletedEventData { Type = "agent.deleted"; ID; OrganizationID; WorkspaceID; }
ID of the agent that triggered the event.
class BetaWebhookAgentUpdatedEventData { Type = "agent.updated"; ID; OrganizationID; WorkspaceID; }
ID of the agent that triggered the event.
class BetaWebhookDeploymentArchivedEventData { Type = "deployment.archived"; ID; OrganizationID; WorkspaceID; }
ID of the deployment that triggered the event.
class BetaWebhookDeploymentCreatedEventData { Type = "deployment.created"; ID; OrganizationID; WorkspaceID; }
ID of the deployment that triggered the event.
class BetaWebhookDeploymentDeletedEventData { Type = "deployment.deleted"; ID; OrganizationID; WorkspaceID; }
ID of the deployment that triggered the event.
class BetaWebhookDeploymentPausedEventData { Type = "deployment.paused"; ID; OrganizationID; WorkspaceID; }
ID of the deployment that triggered the event.
class BetaWebhookDeploymentRunFailedEventData { Type = "deployment_run.failed"; ID; OrganizationID; WorkspaceID; }
ID of the deployment run that triggered the event.
class BetaWebhookDeploymentRunStartedEventData { Type = "deployment_run.started"; ID; OrganizationID; WorkspaceID; }
ID of the deployment run that triggered the event.
class BetaWebhookDeploymentRunSucceededEventData { Type = "deployment_run.succeeded"; ID; OrganizationID; WorkspaceID; }
ID of the deployment run that triggered the event.
class BetaWebhookDeploymentUnpausedEventData { Type = "deployment.unpaused"; ID; OrganizationID; WorkspaceID; }
ID of the deployment that triggered the event.
class BetaWebhookDeploymentUpdatedEventData { Type = "deployment.updated"; ID; OrganizationID; WorkspaceID; }
ID of the deployment that triggered the event.
class BetaWebhookEnvironmentArchivedEventData { Type = "environment.archived"; ID; OrganizationID; WorkspaceID; }
ID of the environment that triggered the event.
class BetaWebhookEnvironmentCreatedEventData { Type = "environment.created"; ID; OrganizationID; WorkspaceID; }
ID of the environment that triggered the event.
class BetaWebhookEnvironmentDeletedEventData { Type = "environment.deleted"; ID; OrganizationID; WorkspaceID; }
ID of the environment that triggered the event.
class BetaWebhookEnvironmentUpdatedEventData { Type = "environment.updated"; ID; OrganizationID; WorkspaceID; }
ID of the environment that triggered the event.
class UnwrapWebhookEvent { Type = "event"; ID; CreatedAt; Data; }
Object type. Always event for webhook payloads.
Unique event identifier for idempotency.
required DateTimeOffset CreatedAtRFC 3339 timestamp when the event occurred.
RFC 3339 timestamp when the event occurred.
required BetaWebhookEventData Data
class BetaWebhookEventData: union
class BetaWebhookMemoryStoreArchivedEventData { Type = "memory_store.archived"; ID; OrganizationID; WorkspaceID; }
ID of the memory store that triggered the event.
class BetaWebhookMemoryStoreCreatedEventData { Type = "memory_store.created"; ID; OrganizationID; WorkspaceID; }
ID of the memory store that triggered the event.
class BetaWebhookMemoryStoreDeletedEventData { Type = "memory_store.deleted"; ID; OrganizationID; WorkspaceID; }
ID of the memory store that triggered the event.
class BetaWebhookSessionArchivedEventData { Type = "session.archived"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookSessionBudgetReachedEventData { Type = "session.budget_reached"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookSessionCreatedEventData { Type = "session.created"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookSessionDeletedEventData { Type = "session.deleted"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookSessionIdledEventData { Type = "session.idled"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookSessionOutcomeEvaluationEndedEventData { Type = "session.outcome_evaluation_ended"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookSessionPendingEventData { Type = "session.pending"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookSessionRequiresActionEventData { Type = "session.requires_action"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookSessionRunningEventData { Type = "session.running"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookSessionStatusIdledEventData { Type = "session.status_idled"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookSessionStatusRescheduledEventData { Type = "session.status_rescheduled"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookSessionStatusRunStartedEventData { Type = "session.status_run_started"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookSessionStatusTerminatedEventData { Type = "session.status_terminated"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookSessionThreadCreatedEventData { Type = "session.thread_created"; ID; OrganizationID; /* 2 more */ }
ID of the session that triggered the event.
ID of the session thread this event refers to.
class BetaWebhookSessionThreadIdledEventData { Type = "session.thread_idled"; ID; OrganizationID; /* 2 more */ }
ID of the session that triggered the event.
ID of the session thread this event refers to.
class BetaWebhookSessionThreadTerminatedEventData { Type = "session.thread_terminated"; ID; OrganizationID; /* 2 more */ }
ID of the session that triggered the event.
ID of the session thread this event refers to.
class BetaWebhookSessionUpdatedEventData { Type = "session.updated"; ID; OrganizationID; WorkspaceID; }
ID of the session that triggered the event.
class BetaWebhookVaultArchivedEventData { Type = "vault.archived"; ID; OrganizationID; WorkspaceID; }
ID of the vault that triggered the event.
class BetaWebhookVaultCreatedEventData { Type = "vault.created"; ID; OrganizationID; WorkspaceID; }
ID of the vault that triggered the event.
class BetaWebhookVaultCredentialArchivedEventData { Type = "vault_credential.archived"; ID; OrganizationID; /* 2 more */ }
ID of the vault credential that triggered the event.
ID of the vault that owns this credential.
class BetaWebhookVaultCredentialCreatedEventData { Type = "vault_credential.created"; ID; OrganizationID; /* 2 more */ }
ID of the vault credential that triggered the event.
ID of the vault that owns this credential.
class BetaWebhookVaultCredentialDeletedEventData { Type = "vault_credential.deleted"; ID; OrganizationID; /* 2 more */ }
ID of the vault credential that triggered the event.
ID of the vault that owns this credential.
class BetaWebhookVaultCredentialRefreshFailedEventData { Type = "vault_credential.refresh_failed"; ID; OrganizationID; /* 2 more */ }
ID of the vault credential that triggered the event.
ID of the vault that owns this credential.
class BetaWebhookVaultDeletedEventData { Type = "vault.deleted"; ID; OrganizationID; WorkspaceID; }
ID of the vault that triggered the event.