Agents
Update an agent's runtime harness and default model
Updates agents.harness_provider and upserts agent-scoped swarm_config rows for HARNESS_PROVIDER, MODEL_OVERRIDE, and REASONING_EFFORT_OVERRIDE. The settings apply to future provider sessions. For model and reasoning_effort: omit the field to leave it unchanged, send null to clear the corresponding override, or send a value to set it.
patch/api/agents/{id}/runtime
Path parameters
idstring required
Request body
Response
Updated agent row