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 BetaWebhookEvent { $type = 'event'; $id; $createdAt; $data; }
Object type. Always event for webhook payloads.
Unique event identifier for idempotency.
RFC 3339 timestamp when the event occurred.
class BetaWebhookEventData
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.