List Directory
Agent Filesystem
List Directory
List the contents of a directory in an agent’s workspace.
GET
List Directory
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
Directory path within the agent workspace (wildcard segment)
List directory contents recursively
Include hidden files in the listing
Example Request
Response
Response Fields
| Field | Type | Description |
|---|---|---|
path | string | Absolute path of the listed directory |
entries | array | List of directory entries |
entries[].name | string | Name of the file or directory |
entries[].type | string | Entry type (file or directory) |
entries[].size | number | Size in bytes (files only) |
entries[].modified_at | string | Last modified timestamp (ISO 8601) |
Status Codes
| Code | Description |
|---|---|
200 | Directory contents returned successfully |
401 | Invalid authentication |
403 | Access denied |
404 | Agent or directory not found |

