Skip to main content
GET
List uploaded files
Returns files uploaded to the current workspace only. Pagination and filtering via query parameters are OpenAI-compatible.

Authorizations

Authorization
string
header
required

API key in format: Bearer inf_***

Query Parameters

purpose
enum<string>

Filter by intended purpose

Available options:
assistants,
vision,
user_data,
batch
limit
integer

Max items to return (default server-side)

Required range: 1 <= x <= 100
after
string

Pagination cursor — pass the previous response's last_id

Response

Workspace-scoped list of uploaded files.

object
string
Example:

"list"

data
object[]
has_more
boolean

Whether more pages exist after this one

Example:

false

last_id
string | null

Cursor for the next page (null if this page is the end)

Example:

"file_1hR9xTPZqK4mVLc2nJ7fY5wB"