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

Request Headers

string
必須
Enum: application/json
string
必須
Bearer authentication format, for example: Bearer {{API Key}}.

Path Parameters

string
必須
The unique identifier of the file to retrieve information for.

Response

string
必須
The unique identifier of the file.
string
必須
The object type, which is always file.
integer
必須
The size of the file in bytes.
string
必須
The name of the file.
integer
必須
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
必須
The purpose of the file.Available purposes:
  • batch - Input file for batch processing
  • batch_output - Output file from batch processing
object
必須
Additional metadata about the file.
最終更新日 2026年5月15日