Skip to main content
GET
Retrieve file
Retrieves information about a specific file using its file ID.

Request Headers

string
obrigatório
Enum: application/json
string
obrigatório
Bearer authentication format, for example: Bearer {{API Key}}.

Path Parameters

string
obrigatório
The unique identifier of the file to retrieve information for.

Response

string
obrigatório
The unique identifier of the file.
string
obrigatório
The object type, which is always file.
integer
obrigatório
The size of the file in bytes.
string
obrigatório
The name of the file.
integer
obrigatório
The Unix timestamp (in seconds) when the file was created.
integer
The Unix timestamp (in seconds) when the file will expire. Only present for output files.
string
obrigatório
The purpose of the file.Available purposes:
  • batch - Input file for batch processing
  • batch_output - Output file from batch processing
object
obrigatório
Additional metadata about the file.
Última modificação em 15 de maio de 2026