File storage
List Files
List file objects stored in document storage (S3) for a namespace you own. API key authentication.
GET
Overview
Returns every file object under your namespace prefix in document storage (S3): file name, size, and last modified time. The namespace must exist and belong to the authenticated user.This lists raw files in storage (for example after Get Upload URL uploads). It is different from Get Documents, which returns indexed text documents by ID from the text pipeline.
Authentication
Your API key for authentication
Path Parameters
Namespace name in the URL path. Must be a namespace you own.
Request
No query parameters or body. Use GET only.Success Response (200 OK)
Always
true when the listing succeedsThe namespace that was listed (same as path parameter)
Number of file objects returned
Array of objects, each with
file_name (string, path under the namespace prefix), size (bytes), and last_modified (ISO 8601 timestamp from storage)Notes
- Method:
GETonly - Size: Each item’s
sizefield is the stored object’s length in bytes (same notion as S3 object size /Content-Lengthin bytes), not KB or MB. - Usage: Each successful call increments API request usage (and related credit accounting) like other public API key endpoints.
- Empty namespace:
filesmay be an empty array andfile_countwill be0. - Ordering: Order follows underlying object listing; do not rely on a specific sort unless you sort client-side.
Related Endpoints
- Get Upload URL — Upload files to a namespace
- Delete File — Remove files from a namespace
- Get Documents — Fetch indexed text documents by ID