From b4db9fe3499bcde40f5492e638cf3db5552ea048 Mon Sep 17 00:00:00 2001 From: Lance Martin Date: Fri, 15 May 2026 16:39:50 -0700 Subject: [PATCH] Fix model config shape in managed-agents API reference The model field on agent create accepts {id, speed}, not {type: "model_config", id, speed}. Aligns with the shape documented elsewhere in managed-agents-core.md and the request body table. --- skills/claude-api/shared/managed-agents-api-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills/claude-api/shared/managed-agents-api-reference.md b/skills/claude-api/shared/managed-agents-api-reference.md index 16b1c5b8d..d018d3399 100644 --- a/skills/claude-api/shared/managed-agents-api-reference.md +++ b/skills/claude-api/shared/managed-agents-api-reference.md @@ -38,7 +38,7 @@ All resources are under the `beta` namespace. Python and TypeScript share identi **Agent shorthand:** `agent` on session create accepts either a bare string (`agent="agent_abc123"` — uses latest version) or the full reference object (`{type: "agent", id: "agent_abc123", version: 123}`). -**Model shorthand:** `model` on agent create accepts either a bare string (`model="claude-opus-4-7"` — uses `standard` speed) or the full config object (`{type: "model_config", id: "claude-opus-4-6", speed: "fast"}`). Note: `speed: "fast"` is only supported on Opus 4.6. +**Model shorthand:** `model` on agent create accepts either a bare string (`model="claude-opus-4-7"` — uses `standard` speed) or the full config object (`{id: "claude-opus-4-6", speed: "fast"}`). Note: `speed: "fast"` is only supported on Opus 4.6. ---