| Name | Type | Description |
|---|---|---|
agent_type | Literal['CUSTOM', 'CODING'] | Omit | Default: omitNew classification. Omit to keep the current classification. |
name | str | Omit | Default: omitNew display name. Omit to keep the current name. |
source_type | Literal['LSD', 'MDA', 'EXTERNAL', 'FLEET'] | Omit | Default: omit |
extra_headers | Headers | None | Default: None |
extra_query | Query | None | Default: None |
extra_body | Body | None | Default: None |
timeout | float | httpx.Timeout | None | NotGiven | Default: not_given |
Updates an Agent's name, source_type, or agent_type.
Omitted fields keep their values. Changing agent_type requires workspaces:manage in addition to project update access; repeating the current type is a no-op. Source type can change only for an EXTERNAL Agent without runtime bindings. The id is immutable and is rejected when present. Requires update permission on every environment project.
New runtime kind. Only EXTERNAL agents without runtime bindings can change kind.
Send extra headers
Add additional query parameters to the request
Add additional JSON properties to the request
Override the client-level default timeout for this request, in seconds