Create a new file in an agent’s workspace.
utf-8 or base64)| Field | Type | Description |
|---|---|---|
path | string | Absolute path of the created file |
size | number | File size in bytes |
created_at | string | Creation timestamp (ISO 8601) |
| 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 |