GET
/
files
curl --request GET \
  --url https://{controlPlaneURL}/api/llm/api/inference/openai/files \
  --header 'Authorization: Bearer <token>'
{
  "object": "<string>",
  "data": [
    {
      "object": "<string>",
      "id": "<string>",
      "purpose": "<string>",
      "filename": "<string>",
      "bytes": 123,
      "created_at": 123,
      "expires_at": 123,
      "status": "<string>",
      "status_details": "<string>"
    }
  ],
  "has_more": true,
  "first_id": "<string>",
  "last_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

All files retrieved successfully

The response is of type object.