The whole hunk
from line 34, old and new numbered
/
lines
from line 34
3434
3535- `deployment_id: optional string`
3636
37 Filter to a specific deployment. Omit to list across all deployments in the workspace. Filtering by a non-existent deployment_id returns 200 with empty data.
37 Filter to a specific deployment. Omit to list across all deployments in the workspace. Filtering by a non-existent `deployment_id` returns 200 with empty data.
3838
3939- `has_error: optional boolean`
4040
41 Filter: true for runs with non-null error, false for runs with non-null session_id. Omit for all.
41 Filter: true for runs with non-null `error`, false for runs with non-null `session_id`. Omit for all.
4242
4343- `limit: optional number`
4444
from line 48
4848
4949- `page: optional string`
5050
51 Opaque pagination cursor. Pass next_page from the previous response. Invalid or expired cursors return 400.
51 Opaque pagination cursor. Pass `next_page` from the previous response. Invalid or expired cursors return 400.
5252
5353- `trigger_type: optional BetaManagedAgentsTriggerType`
5454
from line 66
6666
6767 - `string`
6868
69 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
69 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
7070
7171 - `"message-batches-2024-09-24"`
7272
from line 150
150150
151151 - `"ce-user-management-2026-07-13"`
152152
153 - `"mid-conversation-output-config-2026-07-01"`
154
155 - `"thinking-binding-controls-2026-08-01"`
156
157 - `"mid-conversation-system-clear-at-2026-08-21"`
158
153159### Returns
154160
155161- `data: array of BetaManagedAgentsDeploymentRun`
from line 354
348354
349355 - `session_id: string or null`
350356
351 Populated on success. Null on creation failure. Exactly one of session_id or error is non-null.
357 Populated on success. Null on creation failure. Exactly one of `session_id` or `error` is non-null.
352358
353359 - `trigger_context: BetaManagedAgentsTriggerContext`
354360
from line 441
435441
436442 - `string`
437443
438 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
444 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
439445
440446 - `"message-batches-2024-09-24"`
441447
from line 525
519525
520526 - `"ce-user-management-2026-07-13"`
521527
528 - `"mid-conversation-output-config-2026-07-01"`
529
530 - `"thinking-binding-controls-2026-08-01"`
531
532 - `"mid-conversation-system-clear-at-2026-08-21"`
533
522534### Returns
523535
524536- `BetaManagedAgentsDeploymentRun object`
from line 729
717729
718730 - `session_id: string or null`
719731
720 Populated on success. Null on creation failure. Exactly one of session_id or error is non-null.
732 Populated on success. Null on creation failure. Exactly one of `session_id` or `error` is non-null.
721733
722734 - `trigger_context: BetaManagedAgentsTriggerContext`
723735
from line 1001
9891001
9901002 - `session_id: string or null`
9911003
992 Populated on success. Null on creation failure. Exactly one of session_id or error is non-null.
1004 Populated on success. Null on creation failure. Exactly one of `session_id` or `error` is non-null.
9931005
9941006 - `trigger_context: BetaManagedAgentsTriggerContext`
9951007