Retrieve file
Batch
Retrieve file
GET
Retrieve file
Retrieves information about a specific file using its file ID.
Request Headers
string
required
Enum:
application/jsonstring
required
Bearer authentication format, for example: Bearer {{API Key}}.
Path Parameters
string
required
The unique identifier of the file to retrieve information for.
Response
string
required
The unique identifier of the file.
string
required
The object type, which is always
file.integer
required
The size of the file in bytes.
string
required
The name of the file.
integer
required
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
required
The purpose of the file.Available purposes:
batch- Input file for batch processingbatch_output- Output file from batch processing
object
required
Additional metadata about the file.
Last modified on August 12, 2025