Skip to main content
GET
/
v3
/
files
List files
curl --request GET \
  --url https://api.opper.ai/v3/files \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "bytes": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "expires_at": "2023-11-07T05:31:56Z",
      "filename": "<string>",
      "id": "<string>",
      "mime_type": "<string>",
      "object": "file",
      "purpose": "<string>",
      "status": "<string>"
    }
  ],
  "meta": {
    "limit": 123,
    "offset": 123,
    "total": 123
  }
}
See the Files guide.

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token.

Query Parameters

limit
integer
default:20

Max items (default 20, max 100)

offset
integer
default:0

Items to skip (default 0)

Response

Successful response

data
object[]
meta
object