List Files items
const url = 'https://example.com/api/v1/files/entries';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/files/entries \ --header 'Authorization: Bearer <token>'Requires a signed-in User with the data scope and read access to the requested folder. It returns 400 for an invalid query or 403 when access is denied. Route: /api/v1/files/entries. Inputs: path, show_hidden, show_sidecars, notes_filter, sort, cursor, limit. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Include dot files in the caller’s own Home. Shared paths stay hidden.
Include sidecars paired with a regular file in the same folder.
Show only User-visible Notes in the Notes sidebar.
Sort by name, kind, size, or modified. Prefix the key with - for descending order.
Opaque continuation token for the same User, folder, sort, and visibility scope.
Responses
Section titled “Responses”object
object
Indexed Canvas identity, including plain JSON without frontmatter (#991). Set only after this listing’s current Files grant has passed.
Named guest who created this previous Version through a public Edit link, when there is one.
Inode creation time, when the Home filesystem reports statx birth time.
Trash listings only: the Home-relative path the item is restored to.
Examplegenerated
{ "breadcrumbs": [ "example" ], "entries": [ { "canvas_note_id": "example", "changed_by": "example", "content_hash": "example", "created": "example", "has_thumbnail": true, "item_id": "example", "kind": "example", "mime": "example", "modified": "example", "name": "example", "original_path": "example", "share_badges": [ "example" ], "size": 1 } ], "next_cursor": "example", "total": 1}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}