List a directory; links are shown and never followed
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
GET
/api/v1/tenants/{tid}/sites/{id}/filesList a directory; links are shown and never followed
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required | |
path | query | string | optional |
Responses
200 Entries
Content type: application/json
truncatedboolean requiredentriesarray<object> requiredwritableboolean requiredwritable_inheritedboolean requiredaccessstring optionalWhat the site's code may do with this folder (ADR 0034) or file (ADR 0108)
Allowed values:"read""write""blocked"access_inheritedboolean optionalnamestring requiredkindstring requiredAllowed values:"file""dir""link"sizeinteger (int64) requiredmodifiedstring (date-time) required
Example
{
"truncated": true,
"entries": [
{
"writable": true,
"writable_inherited": true,
"access": "read",
"access_inherited": true,
"name": "string",
"kind": "file",
"size": 0,
"modified": "2026-01-01T00:00:00Z"
}
]
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required