Skip to main content
PATCH
Patch File

Authentication

Requires JWT token or Platform API key.
string
required
Agent UUID
string
required
File path within the agent workspace (wildcard segment)
string
required
Patch operation: append, prepend, or replace
string
required
Content to apply
number
Byte offset for replace operations
number
Length for replace operations

Example Request

Append content to the end of a file:
Replace content at a specific byte offset:

Response

Response Fields

Status Codes