Attach/detach a reusable LLM config to an agent, and optionally change the
Attach/detach a reusable LLM config to an agent, and optionally change the inbound SDK format. A config can only be attached if it belongs to the agent owner. Owner-or-superuser only.
Path Parameters
Agent id
Body
Attach/detach a reusable LLM config to an agent, and optionally change the inbound format. A config can only be attached if it belongs to the agent owner (per-user ownership keeps the referenced secret in the owner's store). Owner-only (or superuser).
Optionally change which SDK the agent's code speaks (drives deploy injection).
Double-option distinguishes the three cases: absent ⇒ leave unchanged; null ⇒ detach
(fall back to the owner's default); a UUID ⇒ attach that config.
Agent-level model pin. Overrides the config's pinned_model. Double-option:
absent ⇒ leave unchanged; null ⇒ clear pin; string ⇒ set pin.
Response
Updated, with the freshly resolved config
