Update File Metadata
Agent Filesystem
Update File Metadata
Update metadata for a file in an agent’s workspace.
PATCH
Update File Metadata
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 or directory path within the agent workspace (wildcard segment)
New file permissions in octal format (e.g.,
755)New owner
New group
Tags to apply to the file
Example Request
Response
Response Fields
| Field | Type | Description |
|---|---|---|
path | string | Absolute path of the file or directory |
type | string | Entry type (file or directory) |
size | number | Size in bytes |
permissions | string | Updated file permissions in octal format |
created_at | string | Creation timestamp (ISO 8601) |
modified_at | string | Last modified timestamp (ISO 8601) |
Status Codes
| Code | Description |
|---|---|
200 | Metadata updated successfully |
400 | Invalid request body |
401 | Invalid authentication |
403 | Access denied |
404 | Agent or path not found |

