Files
Get file
Get a file by ID.
GET
/
v1
/
files
/
{file_id}
Get metadata for a previously uploaded file.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200 - application/json
Response to the file upload API.
Name of the file
Size of the file in bytes
Purpose of the file
Available options:
assistants
, assistants_output
, batch
, batch_output
, fine-tune
, fine-tune-results
, vision
Unique identifier of the file
Date and time when the file was created (in UTC timezone)
Type of the file
Allowed value:
"file"