The whole hunk
from line 32, old and new numbered
/
lines
from line 32
3232
3333- `deployment_id: optional string`
3434
35 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.
35 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.
3636
3737- `has_error: optional boolean`
3838
39 Filter: true for runs with non-null error, false for runs with non-null session_id. Omit for all.
39 Filter: true for runs with non-null `error`, false for runs with non-null `session_id`. Omit for all.
4040
4141- `limit: optional number`
4242
from line 46
4646
4747- `page: optional string`
4848
49 Opaque pagination cursor. Pass next_page from the previous response. Invalid or expired cursors return 400.
49 Opaque pagination cursor. Pass `next_page` from the previous response. Invalid or expired cursors return 400.
5050
5151- `trigger_type: optional BetaManagedAgentsTriggerType`
5252
from line 64
6464
6565 - `string`
6666
67 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
67 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
6868
6969 - `"message-batches-2024-09-24"`
7070
from line 148
148148
149149 - `"ce-user-management-2026-07-13"`
150150
151 - `"mid-conversation-output-config-2026-07-01"`
152
153 - `"thinking-binding-controls-2026-08-01"`
154
155 - `"mid-conversation-system-clear-at-2026-08-21"`
156
151157## Returns
152158
153159- `data: array of BetaManagedAgentsDeploymentRun`
from line 352
346352
347353 - `session_id: string or null`
348354
349 Populated on success. Null on creation failure. Exactly one of session_id or error is non-null.
355 Populated on success. Null on creation failure. Exactly one of `session_id` or `error` is non-null.
350356
351357 - `trigger_context: BetaManagedAgentsTriggerContext`
352358