The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Deployment Runs
3url: https://platform.claude.com/docs/en/api/beta/deployment_runs
4---
5
16# Deployment Runs
27
38## List Deployment Runs
from line 71
6671
6772 - `string`
6873
69 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
74 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
7075
7176 - `"message-batches-2024-09-24"`
7277
from line 119
114119
115120 - `"user-profiles-2026-08-18"`
116121
122 - `"user-profiles-2026-09-04"`
123
117124 - `"advisor-tool-2026-03-01"`
118125
119126 - `"managed-agents-2026-04-01"`
from line 163
156163
157164 - `"mid-conversation-system-clear-at-2026-08-21"`
158165
166- `"anthropic-workspace-id": optional string`
167
159168### Returns
160169
161170- `data: array of BetaManagedAgentsDeploymentRun`
from line 171
162171
163172 List of deployment runs.
164173
174 - `type: "deployment_run"`
175
165176 - `id: string`
166177
167178 Unique identifier for this run (`drun_...`).
from line 181
170181
171182 A resolved agent reference with a concrete version.
172183
173 - `id: string`
174
175184 - `type: "agent"`
176185
186 - `id: string`
187
177188 - `version: number`
178189
179190 format: int32
from line 207
196207
197208 The deployment's environment was archived.
198209
210 - `type: "environment_archived_error"`
211
199212 - `message: string`
200213
201214 Human-readable error description.
202215
203 - `type: "environment_archived_error"`
204
205216 - `BetaManagedAgentsAgentArchivedRunError object`
206217
207218 The deployment's agent was archived.
208219
220 - `type: "agent_archived_error"`
221
209222 - `message: string`
210223
211224 Human-readable error description.
212225
213 - `type: "agent_archived_error"`
214
215226 - `BetaManagedAgentsEnvironmentNotFoundRunError object`
216227
217228 The deployment's environment no longer exists.
218229
230 - `type: "environment_not_found_error"`
231
219232 - `message: string`
220233
221234 Human-readable error description.
222235
223 - `type: "environment_not_found_error"`
224
225236 - `BetaManagedAgentsVaultNotFoundRunError object`
226237
227238 A vault referenced by the deployment no longer exists.
228239
240 - `type: "vault_not_found_error"`
241
229242 - `message: string`
230243
231244 Human-readable error description.
232245
233 - `type: "vault_not_found_error"`
234
235246 - `BetaManagedAgentsVaultArchivedRunError object`
236247
237248 A vault referenced by the deployment is archived.
238249
250 - `type: "vault_archived_error"`
251
239252 - `message: string`
240253
241254 Human-readable error description.
242255
243 - `type: "vault_archived_error"`
244
245256 - `BetaManagedAgentsFileNotFoundRunError object`
246257
247258 A file resource referenced by the deployment no longer exists.
248259
260 - `type: "file_not_found_error"`
261
249262 - `message: string`
250263
251264 Human-readable error description.
252265
253 - `type: "file_not_found_error"`
254
255266 - `BetaManagedAgentsMemoryStoreArchivedRunError object`
256267
257268 A memory store referenced by the deployment is archived.
258269
270 - `type: "memory_store_archived_error"`
271
259272 - `message: string`
260273
261274 Human-readable error description.
262275
263 - `type: "memory_store_archived_error"`
264
265276 - `BetaManagedAgentsSkillNotFoundRunError object`
266277
267278 A skill referenced by the deployment's agent no longer exists.
268279
280 - `type: "skill_not_found_error"`
281
269282 - `message: string`
270283
271284 Human-readable error description.
272285
273 - `type: "skill_not_found_error"`
274
275286 - `BetaManagedAgentsSessionResourceNotFoundRunError object`
276287
277288 A referenced resource no longer exists and its kind was not reported.
278289
290 - `type: "session_resource_not_found_error"`
291
279292 - `message: string`
280293
281294 Human-readable error description.
282295
283 - `type: "session_resource_not_found_error"`
284
285296 - `BetaManagedAgentsWorkspaceArchivedRunError object`
286297
287298 The deployment's workspace was archived.
288299
300 - `type: "workspace_archived_error"`
301
289302 - `message: string`
290303
291304 Human-readable error description.
292305
293 - `type: "workspace_archived_error"`
294
295306 - `BetaManagedAgentsOrganizationDisabledRunError object`
296307
297308 The deployment's organization is disabled.
298309
310 - `type: "organization_disabled_error"`
311
299312 - `message: string`
300313
301314 Human-readable error description.
302315
303 - `type: "organization_disabled_error"`
304
305316 - `BetaManagedAgentsSessionRateLimitedRunError object`
306317
307318 Session creation was rejected due to rate limiting. The schedule keeps firing; subsequent runs may succeed.
308319
320 - `type: "session_rate_limited_error"`
321
309322 - `message: string`
310323
311324 Human-readable error description.
312325
313 - `type: "session_rate_limited_error"`
314
315326 - `BetaManagedAgentsSessionCreationRejectedRunError object`
316327
317328 The session create request was rejected with a non-retryable validation error.
318329
330 - `type: "session_creation_rejected_error"`
331
319332 - `message: string`
320333
321334 Human-readable error description.
322335
323 - `type: "session_creation_rejected_error"`
324
325336 - `BetaManagedAgentsUnknownRunError object`
326337
327338 An unknown or unexpected error caused the run to fail. A fallback variant; clients that do not recognize a new error type can match on message alone.
328339
340 - `type: "unknown_error"`
341
329342 - `message: string`
330343
331344 Human-readable error description.
332345
333 - `type: "unknown_error"`
334
335346 - `BetaManagedAgentsSelfHostedResourcesUnsupportedRunError object`
336347
337348 The deployment configures resources, but its environment is self-hosted and cannot mount them.
338349
350 - `type: "self_hosted_resources_unsupported_error"`
351
339352 - `message: string`
340353
341354 Human-readable error description.
342355
343 - `type: "self_hosted_resources_unsupported_error"`
344
345356 - `BetaManagedAgentsMCPEgressBlockedRunError object`
346357
347358 An MCP server host used by the deployment's agent is blocked by the environment's network policy.
348359
360 - `type: "mcp_egress_blocked_error"`
361
349362 - `message: string`
350363
351364 Human-readable error description.
352365
353 - `type: "mcp_egress_blocked_error"`
354
355366 - `session_id: string or null`
356367
357368 Populated on success. Null on creation failure. Exactly one of `session_id` or `error` is non-null.
from line 375
364375
365376 The run was fired by the deployment's cron schedule.
366377
378 - `type: "schedule"`
379
367380 - `scheduled_at: string`
368381
369382 A timestamp in RFC 3339 format
from line 383
370383
371384 format: date-time
372385
373 - `type: "schedule"`
374
375386 - `BetaManagedAgentsManualTriggerContext object`
376387
377388 The run was started manually by creating a session directly against the deployment.
from line 389
378389
379390 - `type: "manual"`
380391
381 - `type: "deployment_run"`
382
383392- `next_page: optional string or null`
384393
385394 Opaque cursor for the next page. Null when no more results.
from line 450
441450
442451 - `string`
443452
444 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
453 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
445454
446455 - `"message-batches-2024-09-24"`
447456
from line 498
489498
490499 - `"user-profiles-2026-08-18"`
491500
501 - `"user-profiles-2026-09-04"`
502
492503 - `"advisor-tool-2026-03-01"`
493504
494505 - `"managed-agents-2026-04-01"`
from line 542
531542
532543 - `"mid-conversation-system-clear-at-2026-08-21"`
533544
545- `"anthropic-workspace-id": optional string`
546
534547### Returns
535548
536549- `BetaManagedAgentsDeploymentRun object`
from line 550
537550
538551 A persistent, append-only record of a single deployment execution. Records session creation success or failure — no session lifecycle tracking.
539552
553 - `type: "deployment_run"`
554
540555 - `id: string`
541556
542557 Unique identifier for this run (`drun_...`).
from line 560
545560
546561 A resolved agent reference with a concrete version.
547562
548 - `id: string`
549
550563 - `type: "agent"`
551564
565 - `id: string`
566
552567 - `version: number`
553568
554569 format: int32
from line 586
571586
572587 The deployment's environment was archived.
573588
589 - `type: "environment_archived_error"`
590
574591 - `message: string`
575592
576593 Human-readable error description.
577594
578 - `type: "environment_archived_error"`
579
580595 - `BetaManagedAgentsAgentArchivedRunError object`
581596
582597 The deployment's agent was archived.
583598
599 - `type: "agent_archived_error"`
600
584601 - `message: string`
585602
586603 Human-readable error description.
587604
588 - `type: "agent_archived_error"`
589
590605 - `BetaManagedAgentsEnvironmentNotFoundRunError object`
591606
592607 The deployment's environment no longer exists.
593608
609 - `type: "environment_not_found_error"`
610
594611 - `message: string`
595612
596613 Human-readable error description.
597614
598 - `type: "environment_not_found_error"`
599
600615 - `BetaManagedAgentsVaultNotFoundRunError object`
601616
602617 A vault referenced by the deployment no longer exists.
603618
619 - `type: "vault_not_found_error"`
620
604621 - `message: string`
605622
606623 Human-readable error description.
607624
608 - `type: "vault_not_found_error"`
609
610625 - `BetaManagedAgentsVaultArchivedRunError object`
611626
612627 A vault referenced by the deployment is archived.
613628
629 - `type: "vault_archived_error"`
630
614631 - `message: string`
615632
616633 Human-readable error description.
617634
618 - `type: "vault_archived_error"`
619
620635 - `BetaManagedAgentsFileNotFoundRunError object`
621636
622637 A file resource referenced by the deployment no longer exists.
623638
639 - `type: "file_not_found_error"`
640
624641 - `message: string`
625642
626643 Human-readable error description.
627644
628 - `type: "file_not_found_error"`
629
630645 - `BetaManagedAgentsMemoryStoreArchivedRunError object`
631646
632647 A memory store referenced by the deployment is archived.
633648
649 - `type: "memory_store_archived_error"`
650
634651 - `message: string`
635652
636653 Human-readable error description.
637654
638 - `type: "memory_store_archived_error"`
639
640655 - `BetaManagedAgentsSkillNotFoundRunError object`
641656
642657 A skill referenced by the deployment's agent no longer exists.
643658
659 - `type: "skill_not_found_error"`
660
644661 - `message: string`
645662
646663 Human-readable error description.
647664
648 - `type: "skill_not_found_error"`
649
650665 - `BetaManagedAgentsSessionResourceNotFoundRunError object`
651666
652667 A referenced resource no longer exists and its kind was not reported.
653668
669 - `type: "session_resource_not_found_error"`
670
654671 - `message: string`
655672
656673 Human-readable error description.
657674
658 - `type: "session_resource_not_found_error"`
659
660675 - `BetaManagedAgentsWorkspaceArchivedRunError object`
661676
662677 The deployment's workspace was archived.
663678
679 - `type: "workspace_archived_error"`
680
664681 - `message: string`
665682
666683 Human-readable error description.
667684
668 - `type: "workspace_archived_error"`
669
670685 - `BetaManagedAgentsOrganizationDisabledRunError object`
671686
672687 The deployment's organization is disabled.
673688
689 - `type: "organization_disabled_error"`
690
674691 - `message: string`
675692
676693 Human-readable error description.
677694
678 - `type: "organization_disabled_error"`
679
680695 - `BetaManagedAgentsSessionRateLimitedRunError object`
681696
682697 Session creation was rejected due to rate limiting. The schedule keeps firing; subsequent runs may succeed.
683698
699 - `type: "session_rate_limited_error"`
700
684701 - `message: string`
685702
686703 Human-readable error description.
687704
688 - `type: "session_rate_limited_error"`
689
690705 - `BetaManagedAgentsSessionCreationRejectedRunError object`
691706
692707 The session create request was rejected with a non-retryable validation error.
693708
709 - `type: "session_creation_rejected_error"`
710
694711 - `message: string`
695712
696713 Human-readable error description.
697714
698 - `type: "session_creation_rejected_error"`
699
700715 - `BetaManagedAgentsUnknownRunError object`
701716
702717 An unknown or unexpected error caused the run to fail. A fallback variant; clients that do not recognize a new error type can match on message alone.
703718
719 - `type: "unknown_error"`
720
704721 - `message: string`
705722
706723 Human-readable error description.
707724
708 - `type: "unknown_error"`
709
710725 - `BetaManagedAgentsSelfHostedResourcesUnsupportedRunError object`
711726
712727 The deployment configures resources, but its environment is self-hosted and cannot mount them.
713728
729 - `type: "self_hosted_resources_unsupported_error"`
730
714731 - `message: string`
715732
716733 Human-readable error description.
717734
718 - `type: "self_hosted_resources_unsupported_error"`
719
720735 - `BetaManagedAgentsMCPEgressBlockedRunError object`
721736
722737 An MCP server host used by the deployment's agent is blocked by the environment's network policy.
723738
739 - `type: "mcp_egress_blocked_error"`
740
724741 - `message: string`
725742
726743 Human-readable error description.
727744
728 - `type: "mcp_egress_blocked_error"`
729
730745 - `session_id: string or null`
731746
732747 Populated on success. Null on creation failure. Exactly one of `session_id` or `error` is non-null.
from line 754
739754
740755 The run was fired by the deployment's cron schedule.
741756
757 - `type: "schedule"`
758
742759 - `scheduled_at: string`
743760
744761 A timestamp in RFC 3339 format
from line 762
745762
746763 format: date-time
747764
748 - `type: "schedule"`
749
750765 - `BetaManagedAgentsManualTriggerContext object`
751766
752767 The run was started manually by creating a session directly against the deployment.
from line 768
753768
754769 - `type: "manual"`
755770
756 - `type: "deployment_run"`
757
758771### Example
759772
760773```bash
from line 810
797810
798811 The deployment's agent was archived.
799812
813 - `type: "agent_archived_error"`
814
800815 - `message: string`
801816
802817 Human-readable error description.
803818
804 - `type: "agent_archived_error"`
805
806819### Beta Managed Agents Deployment Run
807820
808821- `BetaManagedAgentsDeploymentRun object`
from line 822
809822
810823 A persistent, append-only record of a single deployment execution. Records session creation success or failure — no session lifecycle tracking.
811824
825 - `type: "deployment_run"`
826
812827 - `id: string`
813828
814829 Unique identifier for this run (`drun_...`).
from line 832
817832
818833 A resolved agent reference with a concrete version.
819834
820 - `id: string`
821
822835 - `type: "agent"`
823836
837 - `id: string`
838
824839 - `version: number`
825840
826841 format: int32
from line 858
843858
844859 The deployment's environment was archived.
845860
861 - `type: "environment_archived_error"`
862
846863 - `message: string`
847864
848865 Human-readable error description.
849866
850 - `type: "environment_archived_error"`
851
852867 - `BetaManagedAgentsAgentArchivedRunError object`
853868
854869 The deployment's agent was archived.
855870
871 - `type: "agent_archived_error"`
872
856873 - `message: string`
857874
858875 Human-readable error description.
859876
860 - `type: "agent_archived_error"`
861
862877 - `BetaManagedAgentsEnvironmentNotFoundRunError object`
863878
864879 The deployment's environment no longer exists.
865880
881 - `type: "environment_not_found_error"`
882
866883 - `message: string`
867884
868885 Human-readable error description.
869886
870 - `type: "environment_not_found_error"`
871
872887 - `BetaManagedAgentsVaultNotFoundRunError object`
873888
874889 A vault referenced by the deployment no longer exists.
875890
891 - `type: "vault_not_found_error"`
892
876893 - `message: string`
877894
878895 Human-readable error description.
879896
880 - `type: "vault_not_found_error"`
881
882897 - `BetaManagedAgentsVaultArchivedRunError object`
883898
884899 A vault referenced by the deployment is archived.
885900
901 - `type: "vault_archived_error"`
902
886903 - `message: string`
887904
888905 Human-readable error description.
889906
890 - `type: "vault_archived_error"`
891
892907 - `BetaManagedAgentsFileNotFoundRunError object`
893908
894909 A file resource referenced by the deployment no longer exists.
895910
911 - `type: "file_not_found_error"`
912
896913 - `message: string`
897914
898915 Human-readable error description.
899916
900 - `type: "file_not_found_error"`
901
902917 - `BetaManagedAgentsMemoryStoreArchivedRunError object`
903918
904919 A memory store referenced by the deployment is archived.
905920
921 - `type: "memory_store_archived_error"`
922
906923 - `message: string`
907924
908925 Human-readable error description.
909926
910 - `type: "memory_store_archived_error"`
911
912927 - `BetaManagedAgentsSkillNotFoundRunError object`
913928
914929 A skill referenced by the deployment's agent no longer exists.
915930
931 - `type: "skill_not_found_error"`
932
916933 - `message: string`
917934
918935 Human-readable error description.
919936
920 - `type: "skill_not_found_error"`
921
922937 - `BetaManagedAgentsSessionResourceNotFoundRunError object`
923938
924939 A referenced resource no longer exists and its kind was not reported.
925940
941 - `type: "session_resource_not_found_error"`
942
926943 - `message: string`
927944
928945 Human-readable error description.
929946
930 - `type: "session_resource_not_found_error"`
931
932947 - `BetaManagedAgentsWorkspaceArchivedRunError object`
933948
934949 The deployment's workspace was archived.
935950
951 - `type: "workspace_archived_error"`
952
936953 - `message: string`
937954
938955 Human-readable error description.
939956
940 - `type: "workspace_archived_error"`
941
942957 - `BetaManagedAgentsOrganizationDisabledRunError object`
943958
944959 The deployment's organization is disabled.
945960
961 - `type: "organization_disabled_error"`
962
946963 - `message: string`
947964
948965 Human-readable error description.
949966
950 - `type: "organization_disabled_error"`
951
952967 - `BetaManagedAgentsSessionRateLimitedRunError object`
953968
954969 Session creation was rejected due to rate limiting. The schedule keeps firing; subsequent runs may succeed.
955970
971 - `type: "session_rate_limited_error"`
972
956973 - `message: string`
957974
958975 Human-readable error description.
959976
960 - `type: "session_rate_limited_error"`
961
962977 - `BetaManagedAgentsSessionCreationRejectedRunError object`
963978
964979 The session create request was rejected with a non-retryable validation error.
965980
981 - `type: "session_creation_rejected_error"`
982
966983 - `message: string`
967984
968985 Human-readable error description.
969986
970 - `type: "session_creation_rejected_error"`
971
972987 - `BetaManagedAgentsUnknownRunError object`
973988
974989 An unknown or unexpected error caused the run to fail. A fallback variant; clients that do not recognize a new error type can match on message alone.
975990
991 - `type: "unknown_error"`
992
976993 - `message: string`
977994
978995 Human-readable error description.
979996
980 - `type: "unknown_error"`
981
982997 - `BetaManagedAgentsSelfHostedResourcesUnsupportedRunError object`
983998
984999 The deployment configures resources, but its environment is self-hosted and cannot mount them.
9851000
1001 - `type: "self_hosted_resources_unsupported_error"`
1002
9861003 - `message: string`
9871004
9881005 Human-readable error description.
9891006
990 - `type: "self_hosted_resources_unsupported_error"`
991
9921007 - `BetaManagedAgentsMCPEgressBlockedRunError object`
9931008
9941009 An MCP server host used by the deployment's agent is blocked by the environment's network policy.
9951010
1011 - `type: "mcp_egress_blocked_error"`
1012
9961013 - `message: string`
9971014
9981015 Human-readable error description.
9991016
1000 - `type: "mcp_egress_blocked_error"`
1001
10021017 - `session_id: string or null`
10031018
10041019 Populated on success. Null on creation failure. Exactly one of `session_id` or `error` is non-null.
from line 1026
10111026
10121027 The run was fired by the deployment's cron schedule.
10131028
1029 - `type: "schedule"`
1030
10141031 - `scheduled_at: string`
10151032
10161033 A timestamp in RFC 3339 format
from line 1034
10171034
10181035 format: date-time
10191036
1020 - `type: "schedule"`
1021
10221037 - `BetaManagedAgentsManualTriggerContext object`
10231038
10241039 The run was started manually by creating a session directly against the deployment.
from line 1040
10251040
10261041 - `type: "manual"`
10271042
1028 - `type: "deployment_run"`
1029
10301043### Beta Managed Agents Environment Archived Run Error
10311044
10321045- `BetaManagedAgentsEnvironmentArchivedRunError object`
from line 1046
10331046
10341047 The deployment's environment was archived.
10351048
1049 - `type: "environment_archived_error"`
1050
10361051 - `message: string`
10371052
10381053 Human-readable error description.
10391054
1040 - `type: "environment_archived_error"`
1041
10421055### Beta Managed Agents Environment Not Found Run Error
10431056
10441057- `BetaManagedAgentsEnvironmentNotFoundRunError object`
from line 1058
10451058
10461059 The deployment's environment no longer exists.
10471060
1061 - `type: "environment_not_found_error"`
1062
10481063 - `message: string`
10491064
10501065 Human-readable error description.
10511066
1052 - `type: "environment_not_found_error"`
1053
10541067### Beta Managed Agents File Not Found Run Error
10551068
10561069- `BetaManagedAgentsFileNotFoundRunError object`
from line 1070
10571070
10581071 A file resource referenced by the deployment no longer exists.
10591072
1073 - `type: "file_not_found_error"`
1074
10601075 - `message: string`
10611076
10621077 Human-readable error description.
10631078
1064 - `type: "file_not_found_error"`
1065
10661079### Beta Managed Agents Manual Trigger Context
10671080
10681081- `BetaManagedAgentsManualTriggerContext object`
from line 1090
10771090
10781091 An MCP server host used by the deployment's agent is blocked by the environment's network policy.
10791092
1093 - `type: "mcp_egress_blocked_error"`
1094
10801095 - `message: string`
10811096
10821097 Human-readable error description.
10831098
1084 - `type: "mcp_egress_blocked_error"`
1085
10861099### Beta Managed Agents Memory Store Archived Run Error
10871100
10881101- `BetaManagedAgentsMemoryStoreArchivedRunError object`
from line 1102
10891102
10901103 A memory store referenced by the deployment is archived.
10911104
1105 - `type: "memory_store_archived_error"`
1106
10921107 - `message: string`
10931108
10941109 Human-readable error description.
10951110
1096 - `type: "memory_store_archived_error"`
1097
10981111### Beta Managed Agents Organization Disabled Run Error
10991112
11001113- `BetaManagedAgentsOrganizationDisabledRunError object`
from line 1114
11011114
11021115 The deployment's organization is disabled.
11031116
1117 - `type: "organization_disabled_error"`
1118
11041119 - `message: string`
11051120
11061121 Human-readable error description.
11071122
1108 - `type: "organization_disabled_error"`
1109
11101123### Beta Managed Agents Schedule Trigger Context
11111124
11121125- `BetaManagedAgentsScheduleTriggerContext object`
from line 1126
11131126
11141127 The run was fired by the deployment's cron schedule.
11151128
1129 - `type: "schedule"`
1130
11161131 - `scheduled_at: string`
11171132
11181133 A timestamp in RFC 3339 format
from line 1134
11191134
11201135 format: date-time
11211136
1122 - `type: "schedule"`
1123
11241137### Beta Managed Agents Self Hosted Resources Unsupported Run Error
11251138
11261139- `BetaManagedAgentsSelfHostedResourcesUnsupportedRunError object`
from line 1140
11271140
11281141 The deployment configures resources, but its environment is self-hosted and cannot mount them.
11291142
1143 - `type: "self_hosted_resources_unsupported_error"`
1144
11301145 - `message: string`
11311146
11321147 Human-readable error description.
11331148
1134 - `type: "self_hosted_resources_unsupported_error"`
1135
11361149### Beta Managed Agents Session Creation Rejected Run Error
11371150
11381151- `BetaManagedAgentsSessionCreationRejectedRunError object`
from line 1152
11391152
11401153 The session create request was rejected with a non-retryable validation error.
11411154
1155 - `type: "session_creation_rejected_error"`
1156
11421157 - `message: string`
11431158
11441159 Human-readable error description.
11451160
1146 - `type: "session_creation_rejected_error"`
1147
11481161### Beta Managed Agents Session Rate Limited Run Error
11491162
11501163- `BetaManagedAgentsSessionRateLimitedRunError object`
from line 1164
11511164
11521165 Session creation was rejected due to rate limiting. The schedule keeps firing; subsequent runs may succeed.
11531166
1167 - `type: "session_rate_limited_error"`
1168
11541169 - `message: string`
11551170
11561171 Human-readable error description.
11571172
1158 - `type: "session_rate_limited_error"`
1159
11601173### Beta Managed Agents Session Resource Not Found Run Error
11611174
11621175- `BetaManagedAgentsSessionResourceNotFoundRunError object`
from line 1176
11631176
11641177 A referenced resource no longer exists and its kind was not reported.
11651178
1179 - `type: "session_resource_not_found_error"`
1180
11661181 - `message: string`
11671182
11681183 Human-readable error description.
11691184
1170 - `type: "session_resource_not_found_error"`
1171
11721185### Beta Managed Agents Skill Not Found Run Error
11731186
11741187- `BetaManagedAgentsSkillNotFoundRunError object`
from line 1188
11751188
11761189 A skill referenced by the deployment's agent no longer exists.
11771190
1191 - `type: "skill_not_found_error"`
1192
11781193 - `message: string`
11791194
11801195 Human-readable error description.
11811196
1182 - `type: "skill_not_found_error"`
1183
11841197### Beta Managed Agents Trigger Context
11851198
11861199- `BetaManagedAgentsTriggerContext = BetaManagedAgentsScheduleTriggerContext or BetaManagedAgentsManualTriggerContext`
from line 1204
11911204
11921205 The run was fired by the deployment's cron schedule.
11931206
1207 - `type: "schedule"`
1208
11941209 - `scheduled_at: string`
11951210
11961211 A timestamp in RFC 3339 format
from line 1212
11971212
11981213 format: date-time
11991214
1200 - `type: "schedule"`
1201
12021215 - `BetaManagedAgentsManualTriggerContext object`
12031216
12041217 The run was started manually by creating a session directly against the deployment.
from line 1234
12211234
12221235 An unknown or unexpected error caused the run to fail. A fallback variant; clients that do not recognize a new error type can match on message alone.
12231236
1237 - `type: "unknown_error"`
1238
12241239 - `message: string`
12251240
12261241 Human-readable error description.
12271242
1228 - `type: "unknown_error"`
1229
12301243### Beta Managed Agents Vault Archived Run Error
12311244
12321245- `BetaManagedAgentsVaultArchivedRunError object`
from line 1246
12331246
12341247 A vault referenced by the deployment is archived.
12351248
1249 - `type: "vault_archived_error"`
1250
12361251 - `message: string`
12371252
12381253 Human-readable error description.
12391254
1240 - `type: "vault_archived_error"`
1241
12421255### Beta Managed Agents Vault Not Found Run Error
12431256
12441257- `BetaManagedAgentsVaultNotFoundRunError object`
from line 1258
12451258
12461259 A vault referenced by the deployment no longer exists.
12471260
1261 - `type: "vault_not_found_error"`
1262
12481263 - `message: string`
12491264
12501265 Human-readable error description.
12511266
1252 - `type: "vault_not_found_error"`
1253
12541267### Beta Managed Agents Workspace Archived Run Error
12551268
12561269- `BetaManagedAgentsWorkspaceArchivedRunError object`
from line 1270
12571270
12581271 The deployment's workspace was archived.
12591272
1273 - `type: "workspace_archived_error"`
1274
12601275 - `message: string`
12611276
12621277 Human-readable error description.
1263
1264 - `type: "workspace_archived_error"`
12651278