The whole hunk
from line 1, old and new numbered
/
lines
The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.
from line 1
1---
2title: Webhooks
3url: https://platform.claude.com/docs/en/api/beta/webhooks
4---
5
16# Webhooks
27
38## Unwrap
from line 22
1722
1823- `BetaWebhookAgentArchivedEventData object`
1924
25 - `type: "agent.archived"`
26
2027 - `id: string`
2128
2229 ID of the agent that triggered the event.
2330
2431 - `organization_id: string`
2532
26 - `type: "agent.archived"`
27
2833 - `workspace_id: string`
2934
3035### Beta Webhook Agent Created Event Data
3136
3237- `BetaWebhookAgentCreatedEventData object`
3338
39 - `type: "agent.created"`
40
3441 - `id: string`
3542
3643 ID of the agent that triggered the event.
3744
3845 - `organization_id: string`
3946
40 - `type: "agent.created"`
41
4247 - `workspace_id: string`
4348
4449### Beta Webhook Agent Deleted Event Data
4550
4651- `BetaWebhookAgentDeletedEventData object`
4752
53 - `type: "agent.deleted"`
54
4855 - `id: string`
4956
5057 ID of the agent that triggered the event.
5158
5259 - `organization_id: string`
5360
54 - `type: "agent.deleted"`
55
5661 - `workspace_id: string`
5762
5863### Beta Webhook Agent Updated Event Data
5964
6065- `BetaWebhookAgentUpdatedEventData object`
6166
67 - `type: "agent.updated"`
68
6269 - `id: string`
6370
6471 ID of the agent that triggered the event.
6572
6673 - `organization_id: string`
6774
68 - `type: "agent.updated"`
69
7075 - `workspace_id: string`
7176
7277### Beta Webhook Deployment Archived Event Data
7378
7479- `BetaWebhookDeploymentArchivedEventData object`
7580
81 - `type: "deployment.archived"`
82
7683 - `id: string`
7784
7885 ID of the deployment that triggered the event.
7986
8087 - `organization_id: string`
8188
82 - `type: "deployment.archived"`
83
8489 - `workspace_id: string`
8590
8691### Beta Webhook Deployment Created Event Data
8792
8893- `BetaWebhookDeploymentCreatedEventData object`
8994
95 - `type: "deployment.created"`
96
9097 - `id: string`
9198
9299 ID of the deployment that triggered the event.
93100
94101 - `organization_id: string`
95102
96 - `type: "deployment.created"`
97
98103 - `workspace_id: string`
99104
100105### Beta Webhook Deployment Deleted Event Data
101106
102107- `BetaWebhookDeploymentDeletedEventData object`
103108
109 - `type: "deployment.deleted"`
110
104111 - `id: string`
105112
106113 ID of the deployment that triggered the event.
107114
108115 - `organization_id: string`
109116
110 - `type: "deployment.deleted"`
111
112117 - `workspace_id: string`
113118
114119### Beta Webhook Deployment Paused Event Data
115120
116121- `BetaWebhookDeploymentPausedEventData object`
117122
123 - `type: "deployment.paused"`
124
118125 - `id: string`
119126
120127 ID of the deployment that triggered the event.
121128
122129 - `organization_id: string`
123130
124 - `type: "deployment.paused"`
125
126131 - `workspace_id: string`
127132
128133### Beta Webhook Deployment Run Failed Event Data
129134
130135- `BetaWebhookDeploymentRunFailedEventData object`
131136
137 - `type: "deployment_run.failed"`
138
132139 - `id: string`
133140
134141 ID of the deployment run that triggered the event.
135142
136143 - `organization_id: string`
137144
138 - `type: "deployment_run.failed"`
139
140145 - `workspace_id: string`
141146
142147### Beta Webhook Deployment Run Started Event Data
143148
144149- `BetaWebhookDeploymentRunStartedEventData object`
145150
151 - `type: "deployment_run.started"`
152
146153 - `id: string`
147154
148155 ID of the deployment run that triggered the event.
149156
150157 - `organization_id: string`
151158
152 - `type: "deployment_run.started"`
153
154159 - `workspace_id: string`
155160
156161### Beta Webhook Deployment Run Succeeded Event Data
157162
158163- `BetaWebhookDeploymentRunSucceededEventData object`
159164
165 - `type: "deployment_run.succeeded"`
166
160167 - `id: string`
161168
162169 ID of the deployment run that triggered the event.
163170
164171 - `organization_id: string`
165172
166 - `type: "deployment_run.succeeded"`
167
168173 - `workspace_id: string`
169174
170175### Beta Webhook Deployment Unpaused Event Data
171176
172177- `BetaWebhookDeploymentUnpausedEventData object`
173178
179 - `type: "deployment.unpaused"`
180
174181 - `id: string`
175182
176183 ID of the deployment that triggered the event.
177184
178185 - `organization_id: string`
179186
180 - `type: "deployment.unpaused"`
181
182187 - `workspace_id: string`
183188
184189### Beta Webhook Deployment Updated Event Data
185190
186191- `BetaWebhookDeploymentUpdatedEventData object`
187192
193 - `type: "deployment.updated"`
194
188195 - `id: string`
189196
190197 ID of the deployment that triggered the event.
191198
192199 - `organization_id: string`
193200
194 - `type: "deployment.updated"`
195
196201 - `workspace_id: string`
197202
198203### Beta Webhook Environment Archived Event Data
199204
200205- `BetaWebhookEnvironmentArchivedEventData object`
201206
207 - `type: "environment.archived"`
208
202209 - `id: string`
203210
204211 ID of the environment that triggered the event.
205212
206213 - `organization_id: string`
207214
208 - `type: "environment.archived"`
209
210215 - `workspace_id: string`
211216
212217### Beta Webhook Environment Created Event Data
213218
214219- `BetaWebhookEnvironmentCreatedEventData object`
215220
221 - `type: "environment.created"`
222
216223 - `id: string`
217224
218225 ID of the environment that triggered the event.
219226
220227 - `organization_id: string`
221228
222 - `type: "environment.created"`
223
224229 - `workspace_id: string`
225230
226231### Beta Webhook Environment Deleted Event Data
227232
228233- `BetaWebhookEnvironmentDeletedEventData object`
229234
235 - `type: "environment.deleted"`
236
230237 - `id: string`
231238
232239 ID of the environment that triggered the event.
233240
234241 - `organization_id: string`
235242
236 - `type: "environment.deleted"`
237
238243 - `workspace_id: string`
239244
240245### Beta Webhook Environment Updated Event Data
241246
242247- `BetaWebhookEnvironmentUpdatedEventData object`
243248
249 - `type: "environment.updated"`
250
244251 - `id: string`
245252
246253 ID of the environment that triggered the event.
247254
248255 - `organization_id: string`
249256
250 - `type: "environment.updated"`
251
252257 - `workspace_id: string`
253258
254259### Beta Webhook Event
255260
256261- `BetaWebhookEvent object`
257262
263 - `type: "event"`
264
265 Object type. Always `event` for webhook payloads.
266
258267 - `id: string`
259268
260269 Unique event identifier for idempotency.
from line 278
269278
270279 - `BetaWebhookSessionCreatedEventData object`
271280
281 - `type: "session.created"`
282
272283 - `id: string`
273284
274285 ID of the session that triggered the event.
275286
276287 - `organization_id: string`
277288
278 - `type: "session.created"`
279
280289 - `workspace_id: string`
281290
282291 - `BetaWebhookSessionPendingEventData object`
283292
293 - `type: "session.pending"`
294
284295 - `id: string`
285296
286297 ID of the session that triggered the event.
287298
288299 - `organization_id: string`
289300
290 - `type: "session.pending"`
291
292301 - `workspace_id: string`
293302
294303 - `BetaWebhookSessionRunningEventData object`
295304
305 - `type: "session.running"`
306
296307 - `id: string`
297308
298309 ID of the session that triggered the event.
299310
300311 - `organization_id: string`
301312
302 - `type: "session.running"`
303
304313 - `workspace_id: string`
305314
306315 - `BetaWebhookSessionIdledEventData object`
307316
317 - `type: "session.idled"`
318
308319 - `id: string`
309320
310321 ID of the session that triggered the event.
311322
312323 - `organization_id: string`
313324
314 - `type: "session.idled"`
315
316325 - `workspace_id: string`
317326
318327 - `BetaWebhookSessionRequiresActionEventData object`
319328
329 - `type: "session.requires_action"`
330
320331 - `id: string`
321332
322333 ID of the session that triggered the event.
323334
324335 - `organization_id: string`
325336
326 - `type: "session.requires_action"`
327
328337 - `workspace_id: string`
329338
330339 - `BetaWebhookSessionArchivedEventData object`
331340
341 - `type: "session.archived"`
342
332343 - `id: string`
333344
334345 ID of the session that triggered the event.
335346
336347 - `organization_id: string`
337348
338 - `type: "session.archived"`
339
340349 - `workspace_id: string`
341350
342351 - `BetaWebhookSessionDeletedEventData object`
343352
353 - `type: "session.deleted"`
354
344355 - `id: string`
345356
346357 ID of the session that triggered the event.
347358
348359 - `organization_id: string`
349360
350 - `type: "session.deleted"`
351
352361 - `workspace_id: string`
353362
354363 - `BetaWebhookSessionStatusRescheduledEventData object`
355364
365 - `type: "session.status_rescheduled"`
366
356367 - `id: string`
357368
358369 ID of the session that triggered the event.
359370
360371 - `organization_id: string`
361372
362 - `type: "session.status_rescheduled"`
363
364373 - `workspace_id: string`
365374
366375 - `BetaWebhookSessionStatusRunStartedEventData object`
367376
377 - `type: "session.status_run_started"`
378
368379 - `id: string`
369380
370381 ID of the session that triggered the event.
371382
372383 - `organization_id: string`
373384
374 - `type: "session.status_run_started"`
375
376385 - `workspace_id: string`
377386
378387 - `BetaWebhookSessionStatusIdledEventData object`
379388
389 - `type: "session.status_idled"`
390
380391 - `id: string`
381392
382393 ID of the session that triggered the event.
383394
384395 - `organization_id: string`
385396
386 - `type: "session.status_idled"`
387
388397 - `workspace_id: string`
389398
390399 - `BetaWebhookSessionStatusTerminatedEventData object`
391400
401 - `type: "session.status_terminated"`
402
392403 - `id: string`
393404
394405 ID of the session that triggered the event.
395406
396407 - `organization_id: string`
397408
398 - `type: "session.status_terminated"`
399
400409 - `workspace_id: string`
401410
402411 - `BetaWebhookSessionThreadCreatedEventData object`
403412
413 - `type: "session.thread_created"`
414
404415 - `id: string`
405416
406417 ID of the session that triggered the event.
from line 422
411422
412423 ID of the session thread this event refers to.
413424
414 - `type: "session.thread_created"`
415
416425 - `workspace_id: string`
417426
418427 - `BetaWebhookSessionThreadIdledEventData object`
419428
429 - `type: "session.thread_idled"`
430
420431 - `id: string`
421432
422433 ID of the session that triggered the event.
from line 438
427438
428439 ID of the session thread this event refers to.
429440
430 - `type: "session.thread_idled"`
431
432441 - `workspace_id: string`
433442
434443 - `BetaWebhookSessionThreadTerminatedEventData object`
435444
445 - `type: "session.thread_terminated"`
446
436447 - `id: string`
437448
438449 ID of the session that triggered the event.
from line 454
443454
444455 ID of the session thread this event refers to.
445456
446 - `type: "session.thread_terminated"`
447
448457 - `workspace_id: string`
449458
450459 - `BetaWebhookSessionOutcomeEvaluationEndedEventData object`
451460
461 - `type: "session.outcome_evaluation_ended"`
462
452463 - `id: string`
453464
454465 ID of the session that triggered the event.
455466
456467 - `organization_id: string`
457468
458 - `type: "session.outcome_evaluation_ended"`
459
460469 - `workspace_id: string`
461470
462471 - `BetaWebhookVaultCreatedEventData object`
463472
473 - `type: "vault.created"`
474
464475 - `id: string`
465476
466477 ID of the vault that triggered the event.
467478
468479 - `organization_id: string`
469480
470 - `type: "vault.created"`
471
472481 - `workspace_id: string`
473482
474483 - `BetaWebhookVaultArchivedEventData object`
475484
485 - `type: "vault.archived"`
486
476487 - `id: string`
477488
478489 ID of the vault that triggered the event.
479490
480491 - `organization_id: string`
481492
482 - `type: "vault.archived"`
483
484493 - `workspace_id: string`
485494
486495 - `BetaWebhookVaultDeletedEventData object`
487496
497 - `type: "vault.deleted"`
498
488499 - `id: string`
489500
490501 ID of the vault that triggered the event.
491502
492503 - `organization_id: string`
493504
494 - `type: "vault.deleted"`
495
496505 - `workspace_id: string`
497506
498507 - `BetaWebhookVaultCredentialCreatedEventData object`
499508
509 - `type: "vault_credential.created"`
510
500511 - `id: string`
501512
502513 ID of the vault credential that triggered the event.
503514
504515 - `organization_id: string`
505516
506 - `type: "vault_credential.created"`
507
508517 - `vault_id: string`
509518
510519 ID of the vault that owns this credential.
from line 522
513522
514523 - `BetaWebhookVaultCredentialArchivedEventData object`
515524
525 - `type: "vault_credential.archived"`
526
516527 - `id: string`
517528
518529 ID of the vault credential that triggered the event.
519530
520531 - `organization_id: string`
521532
522 - `type: "vault_credential.archived"`
523
524533 - `vault_id: string`
525534
526535 ID of the vault that owns this credential.
from line 538
529538
530539 - `BetaWebhookVaultCredentialDeletedEventData object`
531540
541 - `type: "vault_credential.deleted"`
542
532543 - `id: string`
533544
534545 ID of the vault credential that triggered the event.
535546
536547 - `organization_id: string`
537548
538 - `type: "vault_credential.deleted"`
539
540549 - `vault_id: string`
541550
542551 ID of the vault that owns this credential.
from line 554
545554
546555 - `BetaWebhookVaultCredentialRefreshFailedEventData object`
547556
557 - `type: "vault_credential.refresh_failed"`
558
548559 - `id: string`
549560
550561 ID of the vault credential that triggered the event.
551562
552563 - `organization_id: string`
553564
554 - `type: "vault_credential.refresh_failed"`
555
556565 - `vault_id: string`
557566
558567 ID of the vault that owns this credential.
from line 570
561570
562571 - `BetaWebhookSessionUpdatedEventData object`
563572
573 - `type: "session.updated"`
574
564575 - `id: string`
565576
566577 ID of the session that triggered the event.
567578
568579 - `organization_id: string`
569580
570 - `type: "session.updated"`
571
572581 - `workspace_id: string`
573582
574583 - `BetaWebhookAgentCreatedEventData object`
575584
585 - `type: "agent.created"`
586
576587 - `id: string`
577588
578589 ID of the agent that triggered the event.
579590
580591 - `organization_id: string`
581592
582 - `type: "agent.created"`
583
584593 - `workspace_id: string`
585594
586595 - `BetaWebhookAgentArchivedEventData object`
587596
597 - `type: "agent.archived"`
598
588599 - `id: string`
589600
590601 ID of the agent that triggered the event.
591602
592603 - `organization_id: string`
593604
594 - `type: "agent.archived"`
595
596605 - `workspace_id: string`
597606
598607 - `BetaWebhookAgentDeletedEventData object`
599608
609 - `type: "agent.deleted"`
610
600611 - `id: string`
601612
602613 ID of the agent that triggered the event.
603614
604615 - `organization_id: string`
605616
606 - `type: "agent.deleted"`
607
608617 - `workspace_id: string`
609618
610619 - `BetaWebhookDeploymentPausedEventData object`
611620
621 - `type: "deployment.paused"`
622
612623 - `id: string`
613624
614625 ID of the deployment that triggered the event.
615626
616627 - `organization_id: string`
617628
618 - `type: "deployment.paused"`
619
620629 - `workspace_id: string`
621630
622631 - `BetaWebhookDeploymentRunFailedEventData object`
623632
633 - `type: "deployment_run.failed"`
634
624635 - `id: string`
625636
626637 ID of the deployment run that triggered the event.
627638
628639 - `organization_id: string`
629640
630 - `type: "deployment_run.failed"`
631
632641 - `workspace_id: string`
633642
634643 - `BetaWebhookDeploymentCreatedEventData object`
635644
645 - `type: "deployment.created"`
646
636647 - `id: string`
637648
638649 ID of the deployment that triggered the event.
639650
640651 - `organization_id: string`
641652
642 - `type: "deployment.created"`
643
644653 - `workspace_id: string`
645654
646655 - `BetaWebhookDeploymentUpdatedEventData object`
647656
657 - `type: "deployment.updated"`
658
648659 - `id: string`
649660
650661 ID of the deployment that triggered the event.
651662
652663 - `organization_id: string`
653664
654 - `type: "deployment.updated"`
655
656665 - `workspace_id: string`
657666
658667 - `BetaWebhookDeploymentUnpausedEventData object`
659668
669 - `type: "deployment.unpaused"`
670
660671 - `id: string`
661672
662673 ID of the deployment that triggered the event.
663674
664675 - `organization_id: string`
665676
666 - `type: "deployment.unpaused"`
667
668677 - `workspace_id: string`
669678
670679 - `BetaWebhookAgentUpdatedEventData object`
671680
681 - `type: "agent.updated"`
682
672683 - `id: string`
673684
674685 ID of the agent that triggered the event.
675686
676687 - `organization_id: string`
677688
678 - `type: "agent.updated"`
679
680689 - `workspace_id: string`
681690
682691 - `BetaWebhookDeploymentArchivedEventData object`
683692
693 - `type: "deployment.archived"`
694
684695 - `id: string`
685696
686697 ID of the deployment that triggered the event.
687698
688699 - `organization_id: string`
689700
690 - `type: "deployment.archived"`
691
692701 - `workspace_id: string`
693702
694703 - `BetaWebhookDeploymentRunStartedEventData object`
695704
705 - `type: "deployment_run.started"`
706
696707 - `id: string`
697708
698709 ID of the deployment run that triggered the event.
699710
700711 - `organization_id: string`
701712
702 - `type: "deployment_run.started"`
703
704713 - `workspace_id: string`
705714
706715 - `BetaWebhookDeploymentDeletedEventData object`
707716
717 - `type: "deployment.deleted"`
718
708719 - `id: string`
709720
710721 ID of the deployment that triggered the event.
711722
712723 - `organization_id: string`
713724
714 - `type: "deployment.deleted"`
715
716725 - `workspace_id: string`
717726
718727 - `BetaWebhookDeploymentRunSucceededEventData object`
719728
729 - `type: "deployment_run.succeeded"`
730
720731 - `id: string`
721732
722733 ID of the deployment run that triggered the event.
723734
724735 - `organization_id: string`
725736
726 - `type: "deployment_run.succeeded"`
727
728737 - `workspace_id: string`
729738
730739 - `BetaWebhookEnvironmentCreatedEventData object`
731740
741 - `type: "environment.created"`
742
732743 - `id: string`
733744
734745 ID of the environment that triggered the event.
735746
736747 - `organization_id: string`
737748
738 - `type: "environment.created"`
739
740749 - `workspace_id: string`
741750
742751 - `BetaWebhookEnvironmentUpdatedEventData object`
743752
753 - `type: "environment.updated"`
754
744755 - `id: string`
745756
746757 ID of the environment that triggered the event.
747758
748759 - `organization_id: string`
749760
750 - `type: "environment.updated"`
751
752761 - `workspace_id: string`
753762
754763 - `BetaWebhookEnvironmentArchivedEventData object`
755764
765 - `type: "environment.archived"`
766
756767 - `id: string`
757768
758769 ID of the environment that triggered the event.
759770
760771 - `organization_id: string`
761772
762 - `type: "environment.archived"`
763
764773 - `workspace_id: string`
765774
766775 - `BetaWebhookEnvironmentDeletedEventData object`
767776
777 - `type: "environment.deleted"`
778
768779 - `id: string`
769780
770781 ID of the environment that triggered the event.
771782
772783 - `organization_id: string`
773784
774 - `type: "environment.deleted"`
775
776785 - `workspace_id: string`
777786
778787 - `BetaWebhookMemoryStoreCreatedEventData object`
779788
789 - `type: "memory_store.created"`
790
780791 - `id: string`
781792
782793 ID of the memory store that triggered the event.
783794
784795 - `organization_id: string`
785796
786 - `type: "memory_store.created"`
787
788797 - `workspace_id: string`
789798
790799 - `BetaWebhookMemoryStoreArchivedEventData object`
791800
801 - `type: "memory_store.archived"`
802
792803 - `id: string`
793804
794805 ID of the memory store that triggered the event.
795806
796807 - `organization_id: string`
797808
798 - `type: "memory_store.archived"`
799
800809 - `workspace_id: string`
801810
802811 - `BetaWebhookMemoryStoreDeletedEventData object`
803812
813 - `type: "memory_store.deleted"`
814
804815 - `id: string`
805816
806817 ID of the memory store that triggered the event.
807818
808819 - `organization_id: string`
809820
810 - `type: "memory_store.deleted"`
811
812821 - `workspace_id: string`
813822
814823 - `BetaWebhookSessionBudgetReachedEventData object`
815824
825 - `type: "session.budget_reached"`
826
816827 - `id: string`
817828
818829 ID of the session that triggered the event.
819830
820831 - `organization_id: string`
821832
822 - `type: "session.budget_reached"`
823
824 - `workspace_id: string`
825
826 - `type: "event"`
827
828 Object type. Always `event` for webhook payloads.
833 - `workspace_id: string`
829834
830835### Beta Webhook Event Data
831836
from line 838
833838
834839 - `BetaWebhookSessionCreatedEventData object`
835840
841 - `type: "session.created"`
842
836843 - `id: string`
837844
838845 ID of the session that triggered the event.
839846
840847 - `organization_id: string`
841848
842 - `type: "session.created"`
843
844849 - `workspace_id: string`
845850
846851 - `BetaWebhookSessionPendingEventData object`
847852
853 - `type: "session.pending"`
854
848855 - `id: string`
849856
850857 ID of the session that triggered the event.
851858
852859 - `organization_id: string`
853860
854 - `type: "session.pending"`
855
856861 - `workspace_id: string`
857862
858863 - `BetaWebhookSessionRunningEventData object`
859864
865 - `type: "session.running"`
866
860867 - `id: string`
861868
862869 ID of the session that triggered the event.
863870
864871 - `organization_id: string`
865872
866 - `type: "session.running"`
867
868873 - `workspace_id: string`
869874
870875 - `BetaWebhookSessionIdledEventData object`
871876
877 - `type: "session.idled"`
878
872879 - `id: string`
873880
874881 ID of the session that triggered the event.
875882
876883 - `organization_id: string`
877884
878 - `type: "session.idled"`
879
880885 - `workspace_id: string`
881886
882887 - `BetaWebhookSessionRequiresActionEventData object`
883888
889 - `type: "session.requires_action"`
890
884891 - `id: string`
885892
886893 ID of the session that triggered the event.
887894
888895 - `organization_id: string`
889896
890 - `type: "session.requires_action"`
891
892897 - `workspace_id: string`
893898
894899 - `BetaWebhookSessionArchivedEventData object`
895900
901 - `type: "session.archived"`
902
896903 - `id: string`
897904
898905 ID of the session that triggered the event.
899906
900907 - `organization_id: string`
901908
902 - `type: "session.archived"`
903
904909 - `workspace_id: string`
905910
906911 - `BetaWebhookSessionDeletedEventData object`
907912
913 - `type: "session.deleted"`
914
908915 - `id: string`
909916
910917 ID of the session that triggered the event.
911918
912919 - `organization_id: string`
913920
914 - `type: "session.deleted"`
915
916921 - `workspace_id: string`
917922
918923 - `BetaWebhookSessionStatusRescheduledEventData object`
919924
925 - `type: "session.status_rescheduled"`
926
920927 - `id: string`
921928
922929 ID of the session that triggered the event.
923930
924931 - `organization_id: string`
925932
926 - `type: "session.status_rescheduled"`
927
928933 - `workspace_id: string`
929934
930935 - `BetaWebhookSessionStatusRunStartedEventData object`
931936
937 - `type: "session.status_run_started"`
938
932939 - `id: string`
933940
934941 ID of the session that triggered the event.
935942
936943 - `organization_id: string`
937944
938 - `type: "session.status_run_started"`
939
940945 - `workspace_id: string`
941946
942947 - `BetaWebhookSessionStatusIdledEventData object`
943948
949 - `type: "session.status_idled"`
950
944951 - `id: string`
945952
946953 ID of the session that triggered the event.
947954
948955 - `organization_id: string`
949956
950 - `type: "session.status_idled"`
951
952957 - `workspace_id: string`
953958
954959 - `BetaWebhookSessionStatusTerminatedEventData object`
955960
961 - `type: "session.status_terminated"`
962
956963 - `id: string`
957964
958965 ID of the session that triggered the event.
959966
960967 - `organization_id: string`
961968
962 - `type: "session.status_terminated"`
963
964969 - `workspace_id: string`
965970
966971 - `BetaWebhookSessionThreadCreatedEventData object`
967972
973 - `type: "session.thread_created"`
974
968975 - `id: string`
969976
970977 ID of the session that triggered the event.
from line 982
975982
976983 ID of the session thread this event refers to.
977984
978 - `type: "session.thread_created"`
979
980985 - `workspace_id: string`
981986
982987 - `BetaWebhookSessionThreadIdledEventData object`
983988
989 - `type: "session.thread_idled"`
990
984991 - `id: string`
985992
986993 ID of the session that triggered the event.
from line 998
991998
992999 ID of the session thread this event refers to.
9931000
994 - `type: "session.thread_idled"`
995
9961001 - `workspace_id: string`
9971002
9981003 - `BetaWebhookSessionThreadTerminatedEventData object`
9991004
1005 - `type: "session.thread_terminated"`
1006
10001007 - `id: string`
10011008
10021009 ID of the session that triggered the event.
from line 1014
10071014
10081015 ID of the session thread this event refers to.
10091016
1010 - `type: "session.thread_terminated"`
1011
10121017 - `workspace_id: string`
10131018
10141019 - `BetaWebhookSessionOutcomeEvaluationEndedEventData object`
10151020
1021 - `type: "session.outcome_evaluation_ended"`
1022
10161023 - `id: string`
10171024
10181025 ID of the session that triggered the event.
10191026
10201027 - `organization_id: string`
10211028
1022 - `type: "session.outcome_evaluation_ended"`
1023
10241029 - `workspace_id: string`
10251030
10261031 - `BetaWebhookVaultCreatedEventData object`
10271032
1033 - `type: "vault.created"`
1034
10281035 - `id: string`
10291036
10301037 ID of the vault that triggered the event.
10311038
10321039 - `organization_id: string`
10331040
1034 - `type: "vault.created"`
1035
10361041 - `workspace_id: string`
10371042
10381043 - `BetaWebhookVaultArchivedEventData object`
10391044
1045 - `type: "vault.archived"`
1046
10401047 - `id: string`
10411048
10421049 ID of the vault that triggered the event.
10431050
10441051 - `organization_id: string`
10451052
1046 - `type: "vault.archived"`
1047
10481053 - `workspace_id: string`
10491054
10501055 - `BetaWebhookVaultDeletedEventData object`
10511056
1057 - `type: "vault.deleted"`
1058
10521059 - `id: string`
10531060
10541061 ID of the vault that triggered the event.
10551062
10561063 - `organization_id: string`
10571064
1058 - `type: "vault.deleted"`
1059
10601065 - `workspace_id: string`
10611066
10621067 - `BetaWebhookVaultCredentialCreatedEventData object`
10631068
1069 - `type: "vault_credential.created"`
1070
10641071 - `id: string`
10651072
10661073 ID of the vault credential that triggered the event.
10671074
10681075 - `organization_id: string`
10691076
1070 - `type: "vault_credential.created"`
1071
10721077 - `vault_id: string`
10731078
10741079 ID of the vault that owns this credential.
from line 1082
10771082
10781083 - `BetaWebhookVaultCredentialArchivedEventData object`
10791084
1085 - `type: "vault_credential.archived"`
1086
10801087 - `id: string`
10811088
10821089 ID of the vault credential that triggered the event.
10831090
10841091 - `organization_id: string`
10851092
1086 - `type: "vault_credential.archived"`
1087
10881093 - `vault_id: string`
10891094
10901095 ID of the vault that owns this credential.
from line 1098
10931098
10941099 - `BetaWebhookVaultCredentialDeletedEventData object`
10951100
1101 - `type: "vault_credential.deleted"`
1102
10961103 - `id: string`
10971104
10981105 ID of the vault credential that triggered the event.
10991106
11001107 - `organization_id: string`
11011108
1102 - `type: "vault_credential.deleted"`
1103
11041109 - `vault_id: string`
11051110
11061111 ID of the vault that owns this credential.
from line 1114
11091114
11101115 - `BetaWebhookVaultCredentialRefreshFailedEventData object`
11111116
1117 - `type: "vault_credential.refresh_failed"`
1118
11121119 - `id: string`
11131120
11141121 ID of the vault credential that triggered the event.
11151122
11161123 - `organization_id: string`
11171124
1118 - `type: "vault_credential.refresh_failed"`
1119
11201125 - `vault_id: string`
11211126
11221127 ID of the vault that owns this credential.
from line 1130
11251130
11261131 - `BetaWebhookSessionUpdatedEventData object`
11271132
1133 - `type: "session.updated"`
1134
11281135 - `id: string`
11291136
11301137 ID of the session that triggered the event.
11311138
11321139 - `organization_id: string`
11331140
1134 - `type: "session.updated"`
1135
11361141 - `workspace_id: string`
11371142
11381143 - `BetaWebhookAgentCreatedEventData object`
11391144
1145 - `type: "agent.created"`
1146
11401147 - `id: string`
11411148
11421149 ID of the agent that triggered the event.
11431150
11441151 - `organization_id: string`
11451152
1146 - `type: "agent.created"`
1147
11481153 - `workspace_id: string`
11491154
11501155 - `BetaWebhookAgentArchivedEventData object`
11511156
1157 - `type: "agent.archived"`
1158
11521159 - `id: string`
11531160
11541161 ID of the agent that triggered the event.
11551162
11561163 - `organization_id: string`
11571164
1158 - `type: "agent.archived"`
1159
11601165 - `workspace_id: string`
11611166
11621167 - `BetaWebhookAgentDeletedEventData object`
11631168
1169 - `type: "agent.deleted"`
1170
11641171 - `id: string`
11651172
11661173 ID of the agent that triggered the event.
11671174
11681175 - `organization_id: string`
11691176
1170 - `type: "agent.deleted"`
1171
11721177 - `workspace_id: string`
11731178
11741179 - `BetaWebhookDeploymentPausedEventData object`
11751180
1181 - `type: "deployment.paused"`
1182
11761183 - `id: string`
11771184
11781185 ID of the deployment that triggered the event.
11791186
11801187 - `organization_id: string`
11811188
1182 - `type: "deployment.paused"`
1183
11841189 - `workspace_id: string`
11851190
11861191 - `BetaWebhookDeploymentRunFailedEventData object`
11871192
1193 - `type: "deployment_run.failed"`
1194
11881195 - `id: string`
11891196
11901197 ID of the deployment run that triggered the event.
11911198
11921199 - `organization_id: string`
11931200
1194 - `type: "deployment_run.failed"`
1195
11961201 - `workspace_id: string`
11971202
11981203 - `BetaWebhookDeploymentCreatedEventData object`
11991204
1205 - `type: "deployment.created"`
1206
12001207 - `id: string`
12011208
12021209 ID of the deployment that triggered the event.
12031210
12041211 - `organization_id: string`
12051212
1206 - `type: "deployment.created"`
1207
12081213 - `workspace_id: string`
12091214
12101215 - `BetaWebhookDeploymentUpdatedEventData object`
12111216
1217 - `type: "deployment.updated"`
1218
12121219 - `id: string`
12131220
12141221 ID of the deployment that triggered the event.
12151222
12161223 - `organization_id: string`
12171224
1218 - `type: "deployment.updated"`
1219
12201225 - `workspace_id: string`
12211226
12221227 - `BetaWebhookDeploymentUnpausedEventData object`
12231228
1229 - `type: "deployment.unpaused"`
1230
12241231 - `id: string`
12251232
12261233 ID of the deployment that triggered the event.
12271234
12281235 - `organization_id: string`
12291236
1230 - `type: "deployment.unpaused"`
1231
12321237 - `workspace_id: string`
12331238
12341239 - `BetaWebhookAgentUpdatedEventData object`
12351240
1241 - `type: "agent.updated"`
1242
12361243 - `id: string`
12371244
12381245 ID of the agent that triggered the event.
12391246
12401247 - `organization_id: string`
12411248
1242 - `type: "agent.updated"`
1243
12441249 - `workspace_id: string`
12451250
12461251 - `BetaWebhookDeploymentArchivedEventData object`
12471252
1253 - `type: "deployment.archived"`
1254
12481255 - `id: string`
12491256
12501257 ID of the deployment that triggered the event.
12511258
12521259 - `organization_id: string`
12531260
1254 - `type: "deployment.archived"`
1255
12561261 - `workspace_id: string`
12571262
12581263 - `BetaWebhookDeploymentRunStartedEventData object`
12591264
1265 - `type: "deployment_run.started"`
1266
12601267 - `id: string`
12611268
12621269 ID of the deployment run that triggered the event.
12631270
12641271 - `organization_id: string`
12651272
1266 - `type: "deployment_run.started"`
1267
12681273 - `workspace_id: string`
12691274
12701275 - `BetaWebhookDeploymentDeletedEventData object`
12711276
1277 - `type: "deployment.deleted"`
1278
12721279 - `id: string`
12731280
12741281 ID of the deployment that triggered the event.
12751282
12761283 - `organization_id: string`
12771284
1278 - `type: "deployment.deleted"`
1279
12801285 - `workspace_id: string`
12811286
12821287 - `BetaWebhookDeploymentRunSucceededEventData object`
12831288
1289 - `type: "deployment_run.succeeded"`
1290
12841291 - `id: string`
12851292
12861293 ID of the deployment run that triggered the event.
12871294
12881295 - `organization_id: string`
12891296
1290 - `type: "deployment_run.succeeded"`
1291
12921297 - `workspace_id: string`
12931298
12941299 - `BetaWebhookEnvironmentCreatedEventData object`
12951300
1301 - `type: "environment.created"`
1302
12961303 - `id: string`
12971304
12981305 ID of the environment that triggered the event.
12991306
13001307 - `organization_id: string`
13011308
1302 - `type: "environment.created"`
1303
13041309 - `workspace_id: string`
13051310
13061311 - `BetaWebhookEnvironmentUpdatedEventData object`
13071312
1313 - `type: "environment.updated"`
1314
13081315 - `id: string`
13091316
13101317 ID of the environment that triggered the event.
13111318
13121319 - `organization_id: string`
13131320
1314 - `type: "environment.updated"`
1315
13161321 - `workspace_id: string`
13171322
13181323 - `BetaWebhookEnvironmentArchivedEventData object`
13191324
1325 - `type: "environment.archived"`
1326
13201327 - `id: string`
13211328
13221329 ID of the environment that triggered the event.
13231330
13241331 - `organization_id: string`
13251332
1326 - `type: "environment.archived"`
1327
13281333 - `workspace_id: string`
13291334
13301335 - `BetaWebhookEnvironmentDeletedEventData object`
13311336
1337 - `type: "environment.deleted"`
1338
13321339 - `id: string`
13331340
13341341 ID of the environment that triggered the event.
13351342
13361343 - `organization_id: string`
13371344
1338 - `type: "environment.deleted"`
1339
13401345 - `workspace_id: string`
13411346
13421347 - `BetaWebhookMemoryStoreCreatedEventData object`
13431348
1349 - `type: "memory_store.created"`
1350
13441351 - `id: string`
13451352
13461353 ID of the memory store that triggered the event.
13471354
13481355 - `organization_id: string`
13491356
1350 - `type: "memory_store.created"`
1351
13521357 - `workspace_id: string`
13531358
13541359 - `BetaWebhookMemoryStoreArchivedEventData object`
13551360
1361 - `type: "memory_store.archived"`
1362
13561363 - `id: string`
13571364
13581365 ID of the memory store that triggered the event.
13591366
13601367 - `organization_id: string`
13611368
1362 - `type: "memory_store.archived"`
1363
13641369 - `workspace_id: string`
13651370
13661371 - `BetaWebhookMemoryStoreDeletedEventData object`
13671372
1373 - `type: "memory_store.deleted"`
1374
13681375 - `id: string`
13691376
13701377 ID of the memory store that triggered the event.
13711378
13721379 - `organization_id: string`
13731380
1374 - `type: "memory_store.deleted"`
1375
13761381 - `workspace_id: string`
13771382
13781383 - `BetaWebhookSessionBudgetReachedEventData object`
13791384
1385 - `type: "session.budget_reached"`
1386
13801387 - `id: string`
13811388
13821389 ID of the session that triggered the event.
13831390
13841391 - `organization_id: string`
13851392
1386 - `type: "session.budget_reached"`
1387
13881393 - `workspace_id: string`
13891394
13901395### Beta Webhook Memory Store Archived Event Data
13911396
13921397- `BetaWebhookMemoryStoreArchivedEventData object`
13931398
1399 - `type: "memory_store.archived"`
1400
13941401 - `id: string`
13951402
13961403 ID of the memory store that triggered the event.
13971404
13981405 - `organization_id: string`
13991406
1400 - `type: "memory_store.archived"`
1401
14021407 - `workspace_id: string`
14031408
14041409### Beta Webhook Memory Store Created Event Data
14051410
14061411- `BetaWebhookMemoryStoreCreatedEventData object`
14071412
1413 - `type: "memory_store.created"`
1414
14081415 - `id: string`
14091416
14101417 ID of the memory store that triggered the event.
14111418
14121419 - `organization_id: string`
14131420
1414 - `type: "memory_store.created"`
1415
14161421 - `workspace_id: string`
14171422
14181423### Beta Webhook Memory Store Deleted Event Data
14191424
14201425- `BetaWebhookMemoryStoreDeletedEventData object`
14211426
1427 - `type: "memory_store.deleted"`
1428
14221429 - `id: string`
14231430
14241431 ID of the memory store that triggered the event.
14251432
14261433 - `organization_id: string`
14271434
1428 - `type: "memory_store.deleted"`
1429
14301435 - `workspace_id: string`
14311436
14321437### Beta Webhook Session Archived Event Data
14331438
14341439- `BetaWebhookSessionArchivedEventData object`
14351440
1441 - `type: "session.archived"`
1442
14361443 - `id: string`
14371444
14381445 ID of the session that triggered the event.
14391446
14401447 - `organization_id: string`
14411448
1442 - `type: "session.archived"`
1443
14441449 - `workspace_id: string`
14451450
14461451### Beta Webhook Session Budget Reached Event Data
14471452
14481453- `BetaWebhookSessionBudgetReachedEventData object`
14491454
1455 - `type: "session.budget_reached"`
1456
14501457 - `id: string`
14511458
14521459 ID of the session that triggered the event.
14531460
14541461 - `organization_id: string`
14551462
1456 - `type: "session.budget_reached"`
1457
14581463 - `workspace_id: string`
14591464
14601465### Beta Webhook Session Created Event Data
14611466
14621467- `BetaWebhookSessionCreatedEventData object`
14631468
1469 - `type: "session.created"`
1470
14641471 - `id: string`
14651472
14661473 ID of the session that triggered the event.
14671474
14681475 - `organization_id: string`
14691476
1470 - `type: "session.created"`
1471
14721477 - `workspace_id: string`
14731478
14741479### Beta Webhook Session Deleted Event Data
14751480
14761481- `BetaWebhookSessionDeletedEventData object`
14771482
1483 - `type: "session.deleted"`
1484
14781485 - `id: string`
14791486
14801487 ID of the session that triggered the event.
14811488
14821489 - `organization_id: string`
14831490
1484 - `type: "session.deleted"`
1485
14861491 - `workspace_id: string`
14871492
14881493### Beta Webhook Session Idled Event Data
14891494
14901495- `BetaWebhookSessionIdledEventData object`
14911496
1497 - `type: "session.idled"`
1498
14921499 - `id: string`
14931500
14941501 ID of the session that triggered the event.
14951502
14961503 - `organization_id: string`
14971504
1498 - `type: "session.idled"`
1499
15001505 - `workspace_id: string`
15011506
15021507### Beta Webhook Session Outcome Evaluation Ended Event Data
15031508
15041509- `BetaWebhookSessionOutcomeEvaluationEndedEventData object`
15051510
1511 - `type: "session.outcome_evaluation_ended"`
1512
15061513 - `id: string`
15071514
15081515 ID of the session that triggered the event.
15091516
15101517 - `organization_id: string`
15111518
1512 - `type: "session.outcome_evaluation_ended"`
1513
15141519 - `workspace_id: string`
15151520
15161521### Beta Webhook Session Pending Event Data
15171522
15181523- `BetaWebhookSessionPendingEventData object`
15191524
1525 - `type: "session.pending"`
1526
15201527 - `id: string`
15211528
15221529 ID of the session that triggered the event.
15231530
15241531 - `organization_id: string`
15251532
1526 - `type: "session.pending"`
1527
15281533 - `workspace_id: string`
15291534
15301535### Beta Webhook Session Requires Action Event Data
15311536
15321537- `BetaWebhookSessionRequiresActionEventData object`
15331538
1539 - `type: "session.requires_action"`
1540
15341541 - `id: string`
15351542
15361543 ID of the session that triggered the event.
15371544
15381545 - `organization_id: string`
15391546
1540 - `type: "session.requires_action"`
1541
15421547 - `workspace_id: string`
15431548
15441549### Beta Webhook Session Running Event Data
15451550
15461551- `BetaWebhookSessionRunningEventData object`
15471552
1553 - `type: "session.running"`
1554
15481555 - `id: string`
15491556
15501557 ID of the session that triggered the event.
15511558
15521559 - `organization_id: string`
15531560
1554 - `type: "session.running"`
1555
15561561 - `workspace_id: string`
15571562
15581563### Beta Webhook Session Status Idled Event Data
15591564
15601565- `BetaWebhookSessionStatusIdledEventData object`
15611566
1567 - `type: "session.status_idled"`
1568
15621569 - `id: string`
15631570
15641571 ID of the session that triggered the event.
15651572
15661573 - `organization_id: string`
15671574
1568 - `type: "session.status_idled"`
1569
15701575 - `workspace_id: string`
15711576
15721577### Beta Webhook Session Status Rescheduled Event Data
15731578
15741579- `BetaWebhookSessionStatusRescheduledEventData object`
15751580
1581 - `type: "session.status_rescheduled"`
1582
15761583 - `id: string`
15771584
15781585 ID of the session that triggered the event.
15791586
15801587 - `organization_id: string`
15811588
1582 - `type: "session.status_rescheduled"`
1583
15841589 - `workspace_id: string`
15851590
15861591### Beta Webhook Session Status Run Started Event Data
15871592
15881593- `BetaWebhookSessionStatusRunStartedEventData object`
15891594
1595 - `type: "session.status_run_started"`
1596
15901597 - `id: string`
15911598
15921599 ID of the session that triggered the event.
15931600
15941601 - `organization_id: string`
15951602
1596 - `type: "session.status_run_started"`
1597
15981603 - `workspace_id: string`
15991604
16001605### Beta Webhook Session Status Terminated Event Data
16011606
16021607- `BetaWebhookSessionStatusTerminatedEventData object`
16031608
1609 - `type: "session.status_terminated"`
1610
16041611 - `id: string`
16051612
16061613 ID of the session that triggered the event.
16071614
16081615 - `organization_id: string`
16091616
1610 - `type: "session.status_terminated"`
1611
16121617 - `workspace_id: string`
16131618
16141619### Beta Webhook Session Thread Created Event Data
16151620
16161621- `BetaWebhookSessionThreadCreatedEventData object`
16171622
1623 - `type: "session.thread_created"`
1624
16181625 - `id: string`
16191626
16201627 ID of the session that triggered the event.
from line 1632
16251632
16261633 ID of the session thread this event refers to.
16271634
1628 - `type: "session.thread_created"`
1629
16301635 - `workspace_id: string`
16311636
16321637### Beta Webhook Session Thread Idled Event Data
16331638
16341639- `BetaWebhookSessionThreadIdledEventData object`
16351640
1641 - `type: "session.thread_idled"`
1642
16361643 - `id: string`
16371644
16381645 ID of the session that triggered the event.
from line 1650
16431650
16441651 ID of the session thread this event refers to.
16451652
1646 - `type: "session.thread_idled"`
1647
16481653 - `workspace_id: string`
16491654
16501655### Beta Webhook Session Thread Terminated Event Data
16511656
16521657- `BetaWebhookSessionThreadTerminatedEventData object`
16531658
1659 - `type: "session.thread_terminated"`
1660
16541661 - `id: string`
16551662
16561663 ID of the session that triggered the event.
from line 1668
16611668
16621669 ID of the session thread this event refers to.
16631670
1664 - `type: "session.thread_terminated"`
1665
16661671 - `workspace_id: string`
16671672
16681673### Beta Webhook Session Updated Event Data
16691674
16701675- `BetaWebhookSessionUpdatedEventData object`
16711676
1677 - `type: "session.updated"`
1678
16721679 - `id: string`
16731680
16741681 ID of the session that triggered the event.
16751682
16761683 - `organization_id: string`
16771684
1678 - `type: "session.updated"`
1679
16801685 - `workspace_id: string`
16811686
16821687### Beta Webhook Vault Archived Event Data
16831688
16841689- `BetaWebhookVaultArchivedEventData object`
16851690
1691 - `type: "vault.archived"`
1692
16861693 - `id: string`
16871694
16881695 ID of the vault that triggered the event.
16891696
16901697 - `organization_id: string`
16911698
1692 - `type: "vault.archived"`
1693
16941699 - `workspace_id: string`
16951700
16961701### Beta Webhook Vault Created Event Data
16971702
16981703- `BetaWebhookVaultCreatedEventData object`
16991704
1705 - `type: "vault.created"`
1706
17001707 - `id: string`
17011708
17021709 ID of the vault that triggered the event.
17031710
17041711 - `organization_id: string`
17051712
1706 - `type: "vault.created"`
1707
17081713 - `workspace_id: string`
17091714
17101715### Beta Webhook Vault Credential Archived Event Data
17111716
17121717- `BetaWebhookVaultCredentialArchivedEventData object`
17131718
1719 - `type: "vault_credential.archived"`
1720
17141721 - `id: string`
17151722
17161723 ID of the vault credential that triggered the event.
17171724
17181725 - `organization_id: string`
17191726
1720 - `type: "vault_credential.archived"`
1721
17221727 - `vault_id: string`
17231728
17241729 ID of the vault that owns this credential.
from line 1734
17291734
17301735- `BetaWebhookVaultCredentialCreatedEventData object`
17311736
1737 - `type: "vault_credential.created"`
1738
17321739 - `id: string`
17331740
17341741 ID of the vault credential that triggered the event.
17351742
17361743 - `organization_id: string`
17371744
1738 - `type: "vault_credential.created"`
1739
17401745 - `vault_id: string`
17411746
17421747 ID of the vault that owns this credential.
from line 1752
17471752
17481753- `BetaWebhookVaultCredentialDeletedEventData object`
17491754
1755 - `type: "vault_credential.deleted"`
1756
17501757 - `id: string`
17511758
17521759 ID of the vault credential that triggered the event.
17531760
17541761 - `organization_id: string`
17551762
1756 - `type: "vault_credential.deleted"`
1757
17581763 - `vault_id: string`
17591764
17601765 ID of the vault that owns this credential.
from line 1770
17651770
17661771- `BetaWebhookVaultCredentialRefreshFailedEventData object`
17671772
1773 - `type: "vault_credential.refresh_failed"`
1774
17681775 - `id: string`
17691776
17701777 ID of the vault credential that triggered the event.
17711778
17721779 - `organization_id: string`
17731780
1774 - `type: "vault_credential.refresh_failed"`
1775
17761781 - `vault_id: string`
17771782
17781783 ID of the vault that owns this credential.
from line 1788
17831788
17841789- `BetaWebhookVaultDeletedEventData object`
17851790
1791 - `type: "vault.deleted"`
1792
17861793 - `id: string`
17871794
17881795 ID of the vault that triggered the event.
17891796
17901797 - `organization_id: string`
17911798
1792 - `type: "vault.deleted"`
1793
1794 - `workspace_id: string`
1799 - `workspace_id: string`
17951800