Skip to main content
POST
Patch Studio working files

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Path Parameters

sessionId
string
required

Body

application/json
operationId
string<uuid>
required

Caller-generated UUID idempotency key for this exact operation.

changes
object[]
Required array length: 1 - 100 elements
createFiles
object[]

Create absent workspace paths with exact text, preserving line endings and the final newline. Can be combined with revision-guarded changes, up to 100 total operations; cannot be combined with a V4A patch.

Required array length: 1 - 100 elements
patch
string

Complete V4A patch. Creates/updates/deletes workspace files only.

Maximum string length: 4000000
expectedFiles
object[]
Maximum array length: 100

Response

201