List a space's files

View as Markdown

Returns { files: FileDoc[] } for the space, newest first. Optional ?limit query caps the page (default 50, max 200); there is no cursor — this is a single most-recent page, not a paginated stream. Authorization: requires space:read on :spaceId (missing permission → 404, which hides the space’s existence; org admins bypass).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

spaceIdstringRequired

Query parameters

limitintegerOptional1-200Defaults to 50

Page size, 1–200. Defaults to 50. There is no cursor: this is one most-recent page.

Response

Files in the space, newest first.
fileslist of objects