Skip to main content
GET
List uploaded files with pagination and optional filtering by filename or MIME type.

Authorizations

Authorization
string
header
required

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

Query Parameters

before
string | null
after
string | null
limit
integer
default:10

Items per page

Required range: 1 <= x <= 100
order
enum<string>
default:desc
Available options:
asc,
desc
filename
string | null
mime_type
string | null
from_date
string | null
to_date
string | null
include_embeddings
boolean
default:false

Include embeddings in the response

sort_by
string
default:created_at

Response

Successful Response

A page of File resources. data holds the items and list_metadata carries the before/after cursors; pass after to fetch the next page.

data
File · object[]
required
list_metadata
ListMetadata · object
required

Boundary resource IDs for page navigation.