Create File
Agent Filesystem
Create File
Create a new file in an agent’s workspace.
POST
Create 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)
File content
Content encoding (
utf-8 or base64)Overwrite if file already exists at the specified path
Example Request
Response
Response Fields
| Field | Type | Description |
|---|---|---|
path | string | Absolute path of the created file |
size | number | File size in bytes |
created_at | string | Creation timestamp (ISO 8601) |
Status Codes
| Code | Description |
|---|---|
201 | File created successfully |
400 | Invalid request body |
401 | Invalid authentication |
403 | Access denied |
404 | Agent not found |
409 | File already exists at the specified path |

