Update File
Agent Filesystem
Update File
Replace the contents of an existing file in an agent’s workspace.
PUT
Update File
Documentation Index
Fetch the complete documentation index at: https://docs.shinzo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Requires JWT token or Platform API key.Agent UUID
File path within the agent workspace (wildcard segment)
New file content
Content encoding (
utf-8 or base64)Example Request
Response
Response Fields
| Field | Type | Description |
|---|---|---|
path | string | Absolute path of the updated file |
size | number | New file size in bytes |
updated_at | string | Update timestamp (ISO 8601) |
Status Codes
| Code | Description |
|---|---|
200 | File updated successfully |
400 | Invalid request body |
401 | Invalid authentication |
403 | Access denied |
404 | Agent or file not found |

