Skip to main content
GET
Get File
Retrieve metadata information about a specific uploaded file.
string
required
The ID of the file to retrieve (e.g., file-abc123).

Returns

string
The unique identifier of the file.
string
The object type, which is always file.
integer
The size of the file in bytes.
integer
The Unix timestamp (in seconds) of when the file was created.
string
The name of the file.
string
The purpose of the file.
string
The current status of the file.
string or null
Additional details about the file status.

Return Examples

Response 200
Error 404 - File Not Found
Error 410 - File Expired