GET
/
files
/
{file_id}
curl --request GET \
  --url https://api.vaeroapi.com/v1/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "file-abc123",
  "object": "file",
  "bytes": 120000,
  "created_at": 1677610602,
  "filename": "mydata.txt",
  "purpose": "fine-tune"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

file_id
string
required

The ID of the file to use for this request.

Response

200
application/json

The File Object matching the specified ID.

The response is of type object.