List storage directories

View as Markdown

Lists the visible directories for the project’s storage backend (managed or BYO). Requires file:read on the project.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

projectIdstringRequired

Response

The visible directories for the project's storage backend.
directorieslist of maps from strings to any

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error