Skip to main content

Files - list uploaded files

GET 

/api/v1/files

Returns a paginated list of the files uploaded under your API key, newest first, with each file's id, original name, size, upload status and expiry. Use it to find the file id to pass to a conversion endpoint, and to check that an upload through a pre-signed URL actually completed before you reference it.

Request

Responses

File list

Reference

GET /api/v1/files

Returns a paginated list of the files uploaded under your API key, newest first, with each file's id, original name, size, upload status and expiry. Use it to find the file id to pass to a conversion endpoint, and to check that an upload through a pre-signed URL actually completed before you reference it.

Parameters

ParameterInTypeRequiredDescription
pagequeryintegerno1-based page number. Defaults to the first page.
limitqueryintegernoHow many files to return per page.
statusquerypending | confirmed | expirednoReturn only files in this upload state: pending (a pre-signed URL was issued but the upload has not been confirmed), confirmed (the blob is stored and usable), or expired.

Responses

StatusDescription
200File list

Example request

curl -X GET "https://api.bitbybit.dev/api/v1/files" \
-H "x-api-key: YOUR_API_KEY"

Authentication: send your key in the x-api-key header. The full machine-readable specification is at openapi.json.