GET
/
v1
/
files
curl --request GET \
  --url https://api.vlm.run/v1/files \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "filename": "<string>",
    "bytes": 123,
    "purpose": "assistants",
    "created_at": "2023-11-07T05:31:56Z",
    "object": "file"
  }
]

Authorizations

Authorization
string
header
required

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

Query Parameters

skip
integer
default:
0

Number of items to skip

Required range: x > 0
limit
integer | null
default:
10

Maximum number of items to return

Required range: 1 < x < 1000

Response

200
application/json
Successful Response
filename
string
required

Name of the file

bytes
integer
required

Size of the file in bytes

purpose
enum<string>
required

Purpose of the file

Available options:
assistants,
batch,
fine-tune,
vision,
datasets
id
string

Unique identifier of the file

created_at
string

Date and time when the file was created (in UTC timezone)

object
string
default:
file

Type of the file

Allowed value: "file"