From 04a2607d32c9e38da0170dbed8731f82fd61dfee Mon Sep 17 00:00:00 2001 From: Sweets Sweetman Date: Thu, 7 May 2026 11:03:49 -0500 Subject: [PATCH] docs(sandbox): drop branch + isNewBranch from POST /api/sandbox request MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit YAGNI/KISS — the chat UX always works off the repo's default branch. The api implementation is dropping these inputs in the matching api PR (#522), so the published reference needs to drop them too to keep the contract honest. Removed: - `branch` (request property) - `isNewBranch` (request property) Kept: - `currentBranch` (response field) — informational; reports which branch the sandbox actually checked out Co-Authored-By: Claude Opus 4.7 (1M context) --- api-reference/openapi/sandbox.json | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/api-reference/openapi/sandbox.json b/api-reference/openapi/sandbox.json index f532881..c7fca19 100644 --- a/api-reference/openapi/sandbox.json +++ b/api-reference/openapi/sandbox.json @@ -196,16 +196,6 @@ "sessionId": { "type": "string", "description": "Owning session id. Required for the chat UX flow — the sandbox is named deterministically from the session id, enabling resume across reconnects. When omitted, a one-shot ephemeral sandbox is created (legacy)." - }, - "branch": { - "type": "string", - "description": "Branch the sandbox should check out. Ignored when `isNewBranch` is true. Defaults to `main`.", - "default": "main" - }, - "isNewBranch": { - "type": "boolean", - "description": "When true, the sandbox creates a fresh branch with the supplied `branch` name instead of checking out an existing one.", - "default": false } } },