List Files
Lists the inbox’s files in path order, pending ones included, optionally only those whose path starts with
path_prefix. A prefix matches characters, not whole segments: reports/q matches reports/q3.pdf. Items
carry no download URL; get a file for one.
The list is read in the region that serves the request, so a file created or deleted a moment ago may not show yet. Expired files never show.
Requires the file_read permission.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
inbox_id
The ID of the inbox.
Query parameters
path_prefix
Only files whose path starts with this. Held to the path rules, except it may stop partway.
limit
Page size, 100 by default and at most 500.
page_token
Page token for pagination.
ascending
Path order, true by default. false lists in reverse.
Response
This endpoint returns an object.
count
Number of items returned.
limit
Limit of number of items returned.
files
The inbox’s files in path order. A list has no download URLs; get a file for one.
next_page_token
Page token for pagination.
Errors
400
Validation Error
403
File Forbidden Error
404
Not Found Error
