SPB Git

Repository Public

webhooks.md 33.6 KB 1,789 lines markdown

1---2title: Webhooks3url: https://platform.claude.com/docs/en/api/beta/webhooks4---56# Webhooks78## Domain types910### Beta Webhook Agent Archived Event Data1112- `BetaWebhookAgentArchivedEventData object`1314  - `type: "agent.archived"`1516  - `id: string`1718    ID of the agent that triggered the event.1920  - `organization_id: string`2122  - `workspace_id: string`2324### Beta Webhook Agent Created Event Data2526- `BetaWebhookAgentCreatedEventData object`2728  - `type: "agent.created"`2930  - `id: string`3132    ID of the agent that triggered the event.3334  - `organization_id: string`3536  - `workspace_id: string`3738### Beta Webhook Agent Deleted Event Data3940- `BetaWebhookAgentDeletedEventData object`4142  - `type: "agent.deleted"`4344  - `id: string`4546    ID of the agent that triggered the event.4748  - `organization_id: string`4950  - `workspace_id: string`5152### Beta Webhook Agent Updated Event Data5354- `BetaWebhookAgentUpdatedEventData object`5556  - `type: "agent.updated"`5758  - `id: string`5960    ID of the agent that triggered the event.6162  - `organization_id: string`6364  - `workspace_id: string`6566### Beta Webhook Deployment Archived Event Data6768- `BetaWebhookDeploymentArchivedEventData object`6970  - `type: "deployment.archived"`7172  - `id: string`7374    ID of the deployment that triggered the event.7576  - `organization_id: string`7778  - `workspace_id: string`7980### Beta Webhook Deployment Created Event Data8182- `BetaWebhookDeploymentCreatedEventData object`8384  - `type: "deployment.created"`8586  - `id: string`8788    ID of the deployment that triggered the event.8990  - `organization_id: string`9192  - `workspace_id: string`9394### Beta Webhook Deployment Deleted Event Data9596- `BetaWebhookDeploymentDeletedEventData object`9798  - `type: "deployment.deleted"`99100  - `id: string`101102    ID of the deployment that triggered the event.103104  - `organization_id: string`105106  - `workspace_id: string`107108### Beta Webhook Deployment Paused Event Data109110- `BetaWebhookDeploymentPausedEventData object`111112  - `type: "deployment.paused"`113114  - `id: string`115116    ID of the deployment that triggered the event.117118  - `organization_id: string`119120  - `workspace_id: string`121122### Beta Webhook Deployment Run Failed Event Data123124- `BetaWebhookDeploymentRunFailedEventData object`125126  - `type: "deployment_run.failed"`127128  - `id: string`129130    ID of the deployment run that triggered the event.131132  - `organization_id: string`133134  - `workspace_id: string`135136### Beta Webhook Deployment Run Started Event Data137138- `BetaWebhookDeploymentRunStartedEventData object`139140  - `type: "deployment_run.started"`141142  - `id: string`143144    ID of the deployment run that triggered the event.145146  - `organization_id: string`147148  - `workspace_id: string`149150### Beta Webhook Deployment Run Succeeded Event Data151152- `BetaWebhookDeploymentRunSucceededEventData object`153154  - `type: "deployment_run.succeeded"`155156  - `id: string`157158    ID of the deployment run that triggered the event.159160  - `organization_id: string`161162  - `workspace_id: string`163164### Beta Webhook Deployment Unpaused Event Data165166- `BetaWebhookDeploymentUnpausedEventData object`167168  - `type: "deployment.unpaused"`169170  - `id: string`171172    ID of the deployment that triggered the event.173174  - `organization_id: string`175176  - `workspace_id: string`177178### Beta Webhook Deployment Updated Event Data179180- `BetaWebhookDeploymentUpdatedEventData object`181182  - `type: "deployment.updated"`183184  - `id: string`185186    ID of the deployment that triggered the event.187188  - `organization_id: string`189190  - `workspace_id: string`191192### Beta Webhook Environment Archived Event Data193194- `BetaWebhookEnvironmentArchivedEventData object`195196  - `type: "environment.archived"`197198  - `id: string`199200    ID of the environment that triggered the event.201202  - `organization_id: string`203204  - `workspace_id: string`205206### Beta Webhook Environment Created Event Data207208- `BetaWebhookEnvironmentCreatedEventData object`209210  - `type: "environment.created"`211212  - `id: string`213214    ID of the environment that triggered the event.215216  - `organization_id: string`217218  - `workspace_id: string`219220### Beta Webhook Environment Deleted Event Data221222- `BetaWebhookEnvironmentDeletedEventData object`223224  - `type: "environment.deleted"`225226  - `id: string`227228    ID of the environment that triggered the event.229230  - `organization_id: string`231232  - `workspace_id: string`233234### Beta Webhook Environment Updated Event Data235236- `BetaWebhookEnvironmentUpdatedEventData object`237238  - `type: "environment.updated"`239240  - `id: string`241242    ID of the environment that triggered the event.243244  - `organization_id: string`245246  - `workspace_id: string`247248### Beta Webhook Event249250- `BetaWebhookEvent object`251252  - `type: "event"`253254    Object type. Always `event` for webhook payloads.255256  - `id: string`257258    Unique event identifier for idempotency.259260  - `created_at: string`261262    RFC 3339 timestamp when the event occurred.263264    format: date-time265266  - `data: BetaWebhookEventData`267268    - `BetaWebhookSessionCreatedEventData object`269270      - `type: "session.created"`271272      - `id: string`273274        ID of the session that triggered the event.275276      - `organization_id: string`277278      - `workspace_id: string`279280    - `BetaWebhookSessionPendingEventData object`281282      - `type: "session.pending"`283284      - `id: string`285286        ID of the session that triggered the event.287288      - `organization_id: string`289290      - `workspace_id: string`291292    - `BetaWebhookSessionRunningEventData object`293294      - `type: "session.running"`295296      - `id: string`297298        ID of the session that triggered the event.299300      - `organization_id: string`301302      - `workspace_id: string`303304    - `BetaWebhookSessionIdledEventData object`305306      - `type: "session.idled"`307308      - `id: string`309310        ID of the session that triggered the event.311312      - `organization_id: string`313314      - `workspace_id: string`315316    - `BetaWebhookSessionRequiresActionEventData object`317318      - `type: "session.requires_action"`319320      - `id: string`321322        ID of the session that triggered the event.323324      - `organization_id: string`325326      - `workspace_id: string`327328    - `BetaWebhookSessionArchivedEventData object`329330      - `type: "session.archived"`331332      - `id: string`333334        ID of the session that triggered the event.335336      - `organization_id: string`337338      - `workspace_id: string`339340    - `BetaWebhookSessionDeletedEventData object`341342      - `type: "session.deleted"`343344      - `id: string`345346        ID of the session that triggered the event.347348      - `organization_id: string`349350      - `workspace_id: string`351352    - `BetaWebhookSessionStatusRescheduledEventData object`353354      - `type: "session.status_rescheduled"`355356      - `id: string`357358        ID of the session that triggered the event.359360      - `organization_id: string`361362      - `workspace_id: string`363364    - `BetaWebhookSessionStatusRunStartedEventData object`365366      - `type: "session.status_run_started"`367368      - `id: string`369370        ID of the session that triggered the event.371372      - `organization_id: string`373374      - `workspace_id: string`375376    - `BetaWebhookSessionStatusIdledEventData object`377378      - `type: "session.status_idled"`379380      - `id: string`381382        ID of the session that triggered the event.383384      - `organization_id: string`385386      - `workspace_id: string`387388    - `BetaWebhookSessionStatusTerminatedEventData object`389390      - `type: "session.status_terminated"`391392      - `id: string`393394        ID of the session that triggered the event.395396      - `organization_id: string`397398      - `workspace_id: string`399400    - `BetaWebhookSessionThreadCreatedEventData object`401402      - `type: "session.thread_created"`403404      - `id: string`405406        ID of the session that triggered the event.407408      - `organization_id: string`409410      - `session_thread_id: string`411412        ID of the session thread this event refers to.413414      - `workspace_id: string`415416    - `BetaWebhookSessionThreadIdledEventData object`417418      - `type: "session.thread_idled"`419420      - `id: string`421422        ID of the session that triggered the event.423424      - `organization_id: string`425426      - `session_thread_id: string`427428        ID of the session thread this event refers to.429430      - `workspace_id: string`431432    - `BetaWebhookSessionThreadTerminatedEventData object`433434      - `type: "session.thread_terminated"`435436      - `id: string`437438        ID of the session that triggered the event.439440      - `organization_id: string`441442      - `session_thread_id: string`443444        ID of the session thread this event refers to.445446      - `workspace_id: string`447448    - `BetaWebhookSessionOutcomeEvaluationEndedEventData object`449450      - `type: "session.outcome_evaluation_ended"`451452      - `id: string`453454        ID of the session that triggered the event.455456      - `organization_id: string`457458      - `workspace_id: string`459460    - `BetaWebhookVaultCreatedEventData object`461462      - `type: "vault.created"`463464      - `id: string`465466        ID of the vault that triggered the event.467468      - `organization_id: string`469470      - `workspace_id: string`471472    - `BetaWebhookVaultArchivedEventData object`473474      - `type: "vault.archived"`475476      - `id: string`477478        ID of the vault that triggered the event.479480      - `organization_id: string`481482      - `workspace_id: string`483484    - `BetaWebhookVaultDeletedEventData object`485486      - `type: "vault.deleted"`487488      - `id: string`489490        ID of the vault that triggered the event.491492      - `organization_id: string`493494      - `workspace_id: string`495496    - `BetaWebhookVaultCredentialCreatedEventData object`497498      - `type: "vault_credential.created"`499500      - `id: string`501502        ID of the vault credential that triggered the event.503504      - `organization_id: string`505506      - `vault_id: string`507508        ID of the vault that owns this credential.509510      - `workspace_id: string`511512    - `BetaWebhookVaultCredentialArchivedEventData object`513514      - `type: "vault_credential.archived"`515516      - `id: string`517518        ID of the vault credential that triggered the event.519520      - `organization_id: string`521522      - `vault_id: string`523524        ID of the vault that owns this credential.525526      - `workspace_id: string`527528    - `BetaWebhookVaultCredentialDeletedEventData object`529530      - `type: "vault_credential.deleted"`531532      - `id: string`533534        ID of the vault credential that triggered the event.535536      - `organization_id: string`537538      - `vault_id: string`539540        ID of the vault that owns this credential.541542      - `workspace_id: string`543544    - `BetaWebhookVaultCredentialRefreshFailedEventData object`545546      - `type: "vault_credential.refresh_failed"`547548      - `id: string`549550        ID of the vault credential that triggered the event.551552      - `organization_id: string`553554      - `vault_id: string`555556        ID of the vault that owns this credential.557558      - `workspace_id: string`559560    - `BetaWebhookSessionUpdatedEventData object`561562      - `type: "session.updated"`563564      - `id: string`565566        ID of the session that triggered the event.567568      - `organization_id: string`569570      - `workspace_id: string`571572    - `BetaWebhookAgentCreatedEventData object`573574      - `type: "agent.created"`575576      - `id: string`577578        ID of the agent that triggered the event.579580      - `organization_id: string`581582      - `workspace_id: string`583584    - `BetaWebhookAgentArchivedEventData object`585586      - `type: "agent.archived"`587588      - `id: string`589590        ID of the agent that triggered the event.591592      - `organization_id: string`593594      - `workspace_id: string`595596    - `BetaWebhookAgentDeletedEventData object`597598      - `type: "agent.deleted"`599600      - `id: string`601602        ID of the agent that triggered the event.603604      - `organization_id: string`605606      - `workspace_id: string`607608    - `BetaWebhookDeploymentPausedEventData object`609610      - `type: "deployment.paused"`611612      - `id: string`613614        ID of the deployment that triggered the event.615616      - `organization_id: string`617618      - `workspace_id: string`619620    - `BetaWebhookDeploymentRunFailedEventData object`621622      - `type: "deployment_run.failed"`623624      - `id: string`625626        ID of the deployment run that triggered the event.627628      - `organization_id: string`629630      - `workspace_id: string`631632    - `BetaWebhookDeploymentCreatedEventData object`633634      - `type: "deployment.created"`635636      - `id: string`637638        ID of the deployment that triggered the event.639640      - `organization_id: string`641642      - `workspace_id: string`643644    - `BetaWebhookDeploymentUpdatedEventData object`645646      - `type: "deployment.updated"`647648      - `id: string`649650        ID of the deployment that triggered the event.651652      - `organization_id: string`653654      - `workspace_id: string`655656    - `BetaWebhookDeploymentUnpausedEventData object`657658      - `type: "deployment.unpaused"`659660      - `id: string`661662        ID of the deployment that triggered the event.663664      - `organization_id: string`665666      - `workspace_id: string`667668    - `BetaWebhookAgentUpdatedEventData object`669670      - `type: "agent.updated"`671672      - `id: string`673674        ID of the agent that triggered the event.675676      - `organization_id: string`677678      - `workspace_id: string`679680    - `BetaWebhookDeploymentArchivedEventData object`681682      - `type: "deployment.archived"`683684      - `id: string`685686        ID of the deployment that triggered the event.687688      - `organization_id: string`689690      - `workspace_id: string`691692    - `BetaWebhookDeploymentRunStartedEventData object`693694      - `type: "deployment_run.started"`695696      - `id: string`697698        ID of the deployment run that triggered the event.699700      - `organization_id: string`701702      - `workspace_id: string`703704    - `BetaWebhookDeploymentDeletedEventData object`705706      - `type: "deployment.deleted"`707708      - `id: string`709710        ID of the deployment that triggered the event.711712      - `organization_id: string`713714      - `workspace_id: string`715716    - `BetaWebhookDeploymentRunSucceededEventData object`717718      - `type: "deployment_run.succeeded"`719720      - `id: string`721722        ID of the deployment run that triggered the event.723724      - `organization_id: string`725726      - `workspace_id: string`727728    - `BetaWebhookEnvironmentCreatedEventData object`729730      - `type: "environment.created"`731732      - `id: string`733734        ID of the environment that triggered the event.735736      - `organization_id: string`737738      - `workspace_id: string`739740    - `BetaWebhookEnvironmentUpdatedEventData object`741742      - `type: "environment.updated"`743744      - `id: string`745746        ID of the environment that triggered the event.747748      - `organization_id: string`749750      - `workspace_id: string`751752    - `BetaWebhookEnvironmentArchivedEventData object`753754      - `type: "environment.archived"`755756      - `id: string`757758        ID of the environment that triggered the event.759760      - `organization_id: string`761762      - `workspace_id: string`763764    - `BetaWebhookEnvironmentDeletedEventData object`765766      - `type: "environment.deleted"`767768      - `id: string`769770        ID of the environment that triggered the event.771772      - `organization_id: string`773774      - `workspace_id: string`775776    - `BetaWebhookMemoryStoreCreatedEventData object`777778      - `type: "memory_store.created"`779780      - `id: string`781782        ID of the memory store that triggered the event.783784      - `organization_id: string`785786      - `workspace_id: string`787788    - `BetaWebhookMemoryStoreArchivedEventData object`789790      - `type: "memory_store.archived"`791792      - `id: string`793794        ID of the memory store that triggered the event.795796      - `organization_id: string`797798      - `workspace_id: string`799800    - `BetaWebhookMemoryStoreDeletedEventData object`801802      - `type: "memory_store.deleted"`803804      - `id: string`805806        ID of the memory store that triggered the event.807808      - `organization_id: string`809810      - `workspace_id: string`811812    - `BetaWebhookSessionBudgetReachedEventData object`813814      - `type: "session.budget_reached"`815816      - `id: string`817818        ID of the session that triggered the event.819820      - `organization_id: string`821822      - `workspace_id: string`823824### Beta Webhook Event Data825826- `BetaWebhookEventData = BetaWebhookSessionCreatedEventData or BetaWebhookSessionPendingEventData or BetaWebhookSessionRunningEventData or 41 more`827828  - `BetaWebhookSessionCreatedEventData object`829830    - `type: "session.created"`831832    - `id: string`833834      ID of the session that triggered the event.835836    - `organization_id: string`837838    - `workspace_id: string`839840  - `BetaWebhookSessionPendingEventData object`841842    - `type: "session.pending"`843844    - `id: string`845846      ID of the session that triggered the event.847848    - `organization_id: string`849850    - `workspace_id: string`851852  - `BetaWebhookSessionRunningEventData object`853854    - `type: "session.running"`855856    - `id: string`857858      ID of the session that triggered the event.859860    - `organization_id: string`861862    - `workspace_id: string`863864  - `BetaWebhookSessionIdledEventData object`865866    - `type: "session.idled"`867868    - `id: string`869870      ID of the session that triggered the event.871872    - `organization_id: string`873874    - `workspace_id: string`875876  - `BetaWebhookSessionRequiresActionEventData object`877878    - `type: "session.requires_action"`879880    - `id: string`881882      ID of the session that triggered the event.883884    - `organization_id: string`885886    - `workspace_id: string`887888  - `BetaWebhookSessionArchivedEventData object`889890    - `type: "session.archived"`891892    - `id: string`893894      ID of the session that triggered the event.895896    - `organization_id: string`897898    - `workspace_id: string`899900  - `BetaWebhookSessionDeletedEventData object`901902    - `type: "session.deleted"`903904    - `id: string`905906      ID of the session that triggered the event.907908    - `organization_id: string`909910    - `workspace_id: string`911912  - `BetaWebhookSessionStatusRescheduledEventData object`913914    - `type: "session.status_rescheduled"`915916    - `id: string`917918      ID of the session that triggered the event.919920    - `organization_id: string`921922    - `workspace_id: string`923924  - `BetaWebhookSessionStatusRunStartedEventData object`925926    - `type: "session.status_run_started"`927928    - `id: string`929930      ID of the session that triggered the event.931932    - `organization_id: string`933934    - `workspace_id: string`935936  - `BetaWebhookSessionStatusIdledEventData object`937938    - `type: "session.status_idled"`939940    - `id: string`941942      ID of the session that triggered the event.943944    - `organization_id: string`945946    - `workspace_id: string`947948  - `BetaWebhookSessionStatusTerminatedEventData object`949950    - `type: "session.status_terminated"`951952    - `id: string`953954      ID of the session that triggered the event.955956    - `organization_id: string`957958    - `workspace_id: string`959960  - `BetaWebhookSessionThreadCreatedEventData object`961962    - `type: "session.thread_created"`963964    - `id: string`965966      ID of the session that triggered the event.967968    - `organization_id: string`969970    - `session_thread_id: string`971972      ID of the session thread this event refers to.973974    - `workspace_id: string`975976  - `BetaWebhookSessionThreadIdledEventData object`977978    - `type: "session.thread_idled"`979980    - `id: string`981982      ID of the session that triggered the event.983984    - `organization_id: string`985986    - `session_thread_id: string`987988      ID of the session thread this event refers to.989990    - `workspace_id: string`991992  - `BetaWebhookSessionThreadTerminatedEventData object`993994    - `type: "session.thread_terminated"`995996    - `id: string`997998      ID of the session that triggered the event.9991000    - `organization_id: string`10011002    - `session_thread_id: string`10031004      ID of the session thread this event refers to.10051006    - `workspace_id: string`10071008  - `BetaWebhookSessionOutcomeEvaluationEndedEventData object`10091010    - `type: "session.outcome_evaluation_ended"`10111012    - `id: string`10131014      ID of the session that triggered the event.10151016    - `organization_id: string`10171018    - `workspace_id: string`10191020  - `BetaWebhookVaultCreatedEventData object`10211022    - `type: "vault.created"`10231024    - `id: string`10251026      ID of the vault that triggered the event.10271028    - `organization_id: string`10291030    - `workspace_id: string`10311032  - `BetaWebhookVaultArchivedEventData object`10331034    - `type: "vault.archived"`10351036    - `id: string`10371038      ID of the vault that triggered the event.10391040    - `organization_id: string`10411042    - `workspace_id: string`10431044  - `BetaWebhookVaultDeletedEventData object`10451046    - `type: "vault.deleted"`10471048    - `id: string`10491050      ID of the vault that triggered the event.10511052    - `organization_id: string`10531054    - `workspace_id: string`10551056  - `BetaWebhookVaultCredentialCreatedEventData object`10571058    - `type: "vault_credential.created"`10591060    - `id: string`10611062      ID of the vault credential that triggered the event.10631064    - `organization_id: string`10651066    - `vault_id: string`10671068      ID of the vault that owns this credential.10691070    - `workspace_id: string`10711072  - `BetaWebhookVaultCredentialArchivedEventData object`10731074    - `type: "vault_credential.archived"`10751076    - `id: string`10771078      ID of the vault credential that triggered the event.10791080    - `organization_id: string`10811082    - `vault_id: string`10831084      ID of the vault that owns this credential.10851086    - `workspace_id: string`10871088  - `BetaWebhookVaultCredentialDeletedEventData object`10891090    - `type: "vault_credential.deleted"`10911092    - `id: string`10931094      ID of the vault credential that triggered the event.10951096    - `organization_id: string`10971098    - `vault_id: string`10991100      ID of the vault that owns this credential.11011102    - `workspace_id: string`11031104  - `BetaWebhookVaultCredentialRefreshFailedEventData object`11051106    - `type: "vault_credential.refresh_failed"`11071108    - `id: string`11091110      ID of the vault credential that triggered the event.11111112    - `organization_id: string`11131114    - `vault_id: string`11151116      ID of the vault that owns this credential.11171118    - `workspace_id: string`11191120  - `BetaWebhookSessionUpdatedEventData object`11211122    - `type: "session.updated"`11231124    - `id: string`11251126      ID of the session that triggered the event.11271128    - `organization_id: string`11291130    - `workspace_id: string`11311132  - `BetaWebhookAgentCreatedEventData object`11331134    - `type: "agent.created"`11351136    - `id: string`11371138      ID of the agent that triggered the event.11391140    - `organization_id: string`11411142    - `workspace_id: string`11431144  - `BetaWebhookAgentArchivedEventData object`11451146    - `type: "agent.archived"`11471148    - `id: string`11491150      ID of the agent that triggered the event.11511152    - `organization_id: string`11531154    - `workspace_id: string`11551156  - `BetaWebhookAgentDeletedEventData object`11571158    - `type: "agent.deleted"`11591160    - `id: string`11611162      ID of the agent that triggered the event.11631164    - `organization_id: string`11651166    - `workspace_id: string`11671168  - `BetaWebhookDeploymentPausedEventData object`11691170    - `type: "deployment.paused"`11711172    - `id: string`11731174      ID of the deployment that triggered the event.11751176    - `organization_id: string`11771178    - `workspace_id: string`11791180  - `BetaWebhookDeploymentRunFailedEventData object`11811182    - `type: "deployment_run.failed"`11831184    - `id: string`11851186      ID of the deployment run that triggered the event.11871188    - `organization_id: string`11891190    - `workspace_id: string`11911192  - `BetaWebhookDeploymentCreatedEventData object`11931194    - `type: "deployment.created"`11951196    - `id: string`11971198      ID of the deployment that triggered the event.11991200    - `organization_id: string`12011202    - `workspace_id: string`12031204  - `BetaWebhookDeploymentUpdatedEventData object`12051206    - `type: "deployment.updated"`12071208    - `id: string`12091210      ID of the deployment that triggered the event.12111212    - `organization_id: string`12131214    - `workspace_id: string`12151216  - `BetaWebhookDeploymentUnpausedEventData object`12171218    - `type: "deployment.unpaused"`12191220    - `id: string`12211222      ID of the deployment that triggered the event.12231224    - `organization_id: string`12251226    - `workspace_id: string`12271228  - `BetaWebhookAgentUpdatedEventData object`12291230    - `type: "agent.updated"`12311232    - `id: string`12331234      ID of the agent that triggered the event.12351236    - `organization_id: string`12371238    - `workspace_id: string`12391240  - `BetaWebhookDeploymentArchivedEventData object`12411242    - `type: "deployment.archived"`12431244    - `id: string`12451246      ID of the deployment that triggered the event.12471248    - `organization_id: string`12491250    - `workspace_id: string`12511252  - `BetaWebhookDeploymentRunStartedEventData object`12531254    - `type: "deployment_run.started"`12551256    - `id: string`12571258      ID of the deployment run that triggered the event.12591260    - `organization_id: string`12611262    - `workspace_id: string`12631264  - `BetaWebhookDeploymentDeletedEventData object`12651266    - `type: "deployment.deleted"`12671268    - `id: string`12691270      ID of the deployment that triggered the event.12711272    - `organization_id: string`12731274    - `workspace_id: string`12751276  - `BetaWebhookDeploymentRunSucceededEventData object`12771278    - `type: "deployment_run.succeeded"`12791280    - `id: string`12811282      ID of the deployment run that triggered the event.12831284    - `organization_id: string`12851286    - `workspace_id: string`12871288  - `BetaWebhookEnvironmentCreatedEventData object`12891290    - `type: "environment.created"`12911292    - `id: string`12931294      ID of the environment that triggered the event.12951296    - `organization_id: string`12971298    - `workspace_id: string`12991300  - `BetaWebhookEnvironmentUpdatedEventData object`13011302    - `type: "environment.updated"`13031304    - `id: string`13051306      ID of the environment that triggered the event.13071308    - `organization_id: string`13091310    - `workspace_id: string`13111312  - `BetaWebhookEnvironmentArchivedEventData object`13131314    - `type: "environment.archived"`13151316    - `id: string`13171318      ID of the environment that triggered the event.13191320    - `organization_id: string`13211322    - `workspace_id: string`13231324  - `BetaWebhookEnvironmentDeletedEventData object`13251326    - `type: "environment.deleted"`13271328    - `id: string`13291330      ID of the environment that triggered the event.13311332    - `organization_id: string`13331334    - `workspace_id: string`13351336  - `BetaWebhookMemoryStoreCreatedEventData object`13371338    - `type: "memory_store.created"`13391340    - `id: string`13411342      ID of the memory store that triggered the event.13431344    - `organization_id: string`13451346    - `workspace_id: string`13471348  - `BetaWebhookMemoryStoreArchivedEventData object`13491350    - `type: "memory_store.archived"`13511352    - `id: string`13531354      ID of the memory store that triggered the event.13551356    - `organization_id: string`13571358    - `workspace_id: string`13591360  - `BetaWebhookMemoryStoreDeletedEventData object`13611362    - `type: "memory_store.deleted"`13631364    - `id: string`13651366      ID of the memory store that triggered the event.13671368    - `organization_id: string`13691370    - `workspace_id: string`13711372  - `BetaWebhookSessionBudgetReachedEventData object`13731374    - `type: "session.budget_reached"`13751376    - `id: string`13771378      ID of the session that triggered the event.13791380    - `organization_id: string`13811382    - `workspace_id: string`13831384### Beta Webhook Memory Store Archived Event Data13851386- `BetaWebhookMemoryStoreArchivedEventData object`13871388  - `type: "memory_store.archived"`13891390  - `id: string`13911392    ID of the memory store that triggered the event.13931394  - `organization_id: string`13951396  - `workspace_id: string`13971398### Beta Webhook Memory Store Created Event Data13991400- `BetaWebhookMemoryStoreCreatedEventData object`14011402  - `type: "memory_store.created"`14031404  - `id: string`14051406    ID of the memory store that triggered the event.14071408  - `organization_id: string`14091410  - `workspace_id: string`14111412### Beta Webhook Memory Store Deleted Event Data14131414- `BetaWebhookMemoryStoreDeletedEventData object`14151416  - `type: "memory_store.deleted"`14171418  - `id: string`14191420    ID of the memory store that triggered the event.14211422  - `organization_id: string`14231424  - `workspace_id: string`14251426### Beta Webhook Session Archived Event Data14271428- `BetaWebhookSessionArchivedEventData object`14291430  - `type: "session.archived"`14311432  - `id: string`14331434    ID of the session that triggered the event.14351436  - `organization_id: string`14371438  - `workspace_id: string`14391440### Beta Webhook Session Budget Reached Event Data14411442- `BetaWebhookSessionBudgetReachedEventData object`14431444  - `type: "session.budget_reached"`14451446  - `id: string`14471448    ID of the session that triggered the event.14491450  - `organization_id: string`14511452  - `workspace_id: string`14531454### Beta Webhook Session Created Event Data14551456- `BetaWebhookSessionCreatedEventData object`14571458  - `type: "session.created"`14591460  - `id: string`14611462    ID of the session that triggered the event.14631464  - `organization_id: string`14651466  - `workspace_id: string`14671468### Beta Webhook Session Deleted Event Data14691470- `BetaWebhookSessionDeletedEventData object`14711472  - `type: "session.deleted"`14731474  - `id: string`14751476    ID of the session that triggered the event.14771478  - `organization_id: string`14791480  - `workspace_id: string`14811482### Beta Webhook Session Idled Event Data14831484- `BetaWebhookSessionIdledEventData object`14851486  - `type: "session.idled"`14871488  - `id: string`14891490    ID of the session that triggered the event.14911492  - `organization_id: string`14931494  - `workspace_id: string`14951496### Beta Webhook Session Outcome Evaluation Ended Event Data14971498- `BetaWebhookSessionOutcomeEvaluationEndedEventData object`14991500  - `type: "session.outcome_evaluation_ended"`15011502  - `id: string`15031504    ID of the session that triggered the event.15051506  - `organization_id: string`15071508  - `workspace_id: string`15091510### Beta Webhook Session Pending Event Data15111512- `BetaWebhookSessionPendingEventData object`15131514  - `type: "session.pending"`15151516  - `id: string`15171518    ID of the session that triggered the event.15191520  - `organization_id: string`15211522  - `workspace_id: string`15231524### Beta Webhook Session Requires Action Event Data15251526- `BetaWebhookSessionRequiresActionEventData object`15271528  - `type: "session.requires_action"`15291530  - `id: string`15311532    ID of the session that triggered the event.15331534  - `organization_id: string`15351536  - `workspace_id: string`15371538### Beta Webhook Session Running Event Data15391540- `BetaWebhookSessionRunningEventData object`15411542  - `type: "session.running"`15431544  - `id: string`15451546    ID of the session that triggered the event.15471548  - `organization_id: string`15491550  - `workspace_id: string`15511552### Beta Webhook Session Status Idled Event Data15531554- `BetaWebhookSessionStatusIdledEventData object`15551556  - `type: "session.status_idled"`15571558  - `id: string`15591560    ID of the session that triggered the event.15611562  - `organization_id: string`15631564  - `workspace_id: string`15651566### Beta Webhook Session Status Rescheduled Event Data15671568- `BetaWebhookSessionStatusRescheduledEventData object`15691570  - `type: "session.status_rescheduled"`15711572  - `id: string`15731574    ID of the session that triggered the event.15751576  - `organization_id: string`15771578  - `workspace_id: string`15791580### Beta Webhook Session Status Run Started Event Data15811582- `BetaWebhookSessionStatusRunStartedEventData object`15831584  - `type: "session.status_run_started"`15851586  - `id: string`15871588    ID of the session that triggered the event.15891590  - `organization_id: string`15911592  - `workspace_id: string`15931594### Beta Webhook Session Status Terminated Event Data15951596- `BetaWebhookSessionStatusTerminatedEventData object`15971598  - `type: "session.status_terminated"`15991600  - `id: string`16011602    ID of the session that triggered the event.16031604  - `organization_id: string`16051606  - `workspace_id: string`16071608### Beta Webhook Session Thread Created Event Data16091610- `BetaWebhookSessionThreadCreatedEventData object`16111612  - `type: "session.thread_created"`16131614  - `id: string`16151616    ID of the session that triggered the event.16171618  - `organization_id: string`16191620  - `session_thread_id: string`16211622    ID of the session thread this event refers to.16231624  - `workspace_id: string`16251626### Beta Webhook Session Thread Idled Event Data16271628- `BetaWebhookSessionThreadIdledEventData object`16291630  - `type: "session.thread_idled"`16311632  - `id: string`16331634    ID of the session that triggered the event.16351636  - `organization_id: string`16371638  - `session_thread_id: string`16391640    ID of the session thread this event refers to.16411642  - `workspace_id: string`16431644### Beta Webhook Session Thread Terminated Event Data16451646- `BetaWebhookSessionThreadTerminatedEventData object`16471648  - `type: "session.thread_terminated"`16491650  - `id: string`16511652    ID of the session that triggered the event.16531654  - `organization_id: string`16551656  - `session_thread_id: string`16571658    ID of the session thread this event refers to.16591660  - `workspace_id: string`16611662### Beta Webhook Session Updated Event Data16631664- `BetaWebhookSessionUpdatedEventData object`16651666  - `type: "session.updated"`16671668  - `id: string`16691670    ID of the session that triggered the event.16711672  - `organization_id: string`16731674  - `workspace_id: string`16751676### Beta Webhook Vault Archived Event Data16771678- `BetaWebhookVaultArchivedEventData object`16791680  - `type: "vault.archived"`16811682  - `id: string`16831684    ID of the vault that triggered the event.16851686  - `organization_id: string`16871688  - `workspace_id: string`16891690### Beta Webhook Vault Created Event Data16911692- `BetaWebhookVaultCreatedEventData object`16931694  - `type: "vault.created"`16951696  - `id: string`16971698    ID of the vault that triggered the event.16991700  - `organization_id: string`17011702  - `workspace_id: string`17031704### Beta Webhook Vault Credential Archived Event Data17051706- `BetaWebhookVaultCredentialArchivedEventData object`17071708  - `type: "vault_credential.archived"`17091710  - `id: string`17111712    ID of the vault credential that triggered the event.17131714  - `organization_id: string`17151716  - `vault_id: string`17171718    ID of the vault that owns this credential.17191720  - `workspace_id: string`17211722### Beta Webhook Vault Credential Created Event Data17231724- `BetaWebhookVaultCredentialCreatedEventData object`17251726  - `type: "vault_credential.created"`17271728  - `id: string`17291730    ID of the vault credential that triggered the event.17311732  - `organization_id: string`17331734  - `vault_id: string`17351736    ID of the vault that owns this credential.17371738  - `workspace_id: string`17391740### Beta Webhook Vault Credential Deleted Event Data17411742- `BetaWebhookVaultCredentialDeletedEventData object`17431744  - `type: "vault_credential.deleted"`17451746  - `id: string`17471748    ID of the vault credential that triggered the event.17491750  - `organization_id: string`17511752  - `vault_id: string`17531754    ID of the vault that owns this credential.17551756  - `workspace_id: string`17571758### Beta Webhook Vault Credential Refresh Failed Event Data17591760- `BetaWebhookVaultCredentialRefreshFailedEventData object`17611762  - `type: "vault_credential.refresh_failed"`17631764  - `id: string`17651766    ID of the vault credential that triggered the event.17671768  - `organization_id: string`17691770  - `vault_id: string`17711772    ID of the vault that owns this credential.17731774  - `workspace_id: string`17751776### Beta Webhook Vault Deleted Event Data17771778- `BetaWebhookVaultDeletedEventData object`17791780  - `type: "vault.deleted"`17811782  - `id: string`17831784    ID of the vault that triggered the event.17851786  - `organization_id: string`17871788  - `workspace_id: string`1789
Files main
Menu

Theme