List project files

View as Markdown

Returns a keyset page of the project’s files. Supports filtering by folder/Inbox, tags (tags AND-list, tag nested-resolution), MIME, filename (q), and run usage, plus limit/cursor pagination and ?archived=true.

Authentication

AuthorizationBearer

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

Path parameters

projectIdstringRequired

Query parameters

folderIdstringOptional
inboxstringOptional
tagstringOptional
tagsstringOptional
mimestringOptional
qstringOptional
usedInRunIdstringOptional
archivedstringOptional
limitintegerOptional
cursorstringOptional

Response

A page of files.
fileslist of objects
nextCursorstring or null

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error