Skip to main content
GET
JavaScript

Authorizations

Authorization
string
header
required

Enter your API key as the bearer token. Set header: Authorization to Bearer <api_key>

Query Parameters

run_id
string

Only files produced by this run.

connector_id
string

Only files produced by runs of this connector.

filename
string

Only files whose name contains this text.

source
enum<string>

Only files from this source.

Available options:
UPLOAD,
RUN_OUTPUT
sort
enum<string>
default:created_at

Column to sort by: name, created_at, size_bytes, or source.

Available options:
name,
created_at,
size_bytes,
source
order
enum<string>
default:desc

Sort direction.

Available options:
asc,
desc
limit
integer
default:20

Maximum number of files to return.

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

Cursor from a previous response's next_cursor, to fetch the next page.

Response

Successful response

data
File · object[]
required

Files for the requested page.

has_more
boolean
required

Whether more files exist after this page.

next_cursor
string | null
required

Pass as the cursor query parameter to fetch the next page. Null when has_more is false.