Skip to main content
GET
/
v1
/
openai
/
files
List Files
curl --request GET \
  --url https://api.example.com/v1/openai/files \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Headers

xi-api-key
string | null

Query Parameters

after
string | null
purpose
string | null
order
string | null
limit
integer
default:100

Response

Successful Response