cURL
curl --request POST \ --url https://api.vlm.run/v1/files \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data'
{ "id": "<string>", "filename": "<string>", "bytes": 123, "purpose": "assistants", "created_at": "2023-11-07T05:31:56Z", "object": "file" }
Upload a file.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
assistants
batch
fine-tune
vision
datasets
Successful Response
Response to the file upload API.