GET

授权

x-api-key
string
header
必填

路径参数

file_id
string
必填

响应

Success.

id
string
必填

Unique object identifier.

The format and length of IDs may change over time.

created_at
string
必填

RFC 3339 datetime string representing when the file was created.

filename
string
必填

Original filename of the uploaded file.

mime_type
string
必填

MIME type of the file.

size_bytes
number
必填

Size of the file in bytes.

type
string
必填

Object type.

For files, this is always "file".

Allowed value: "file"
downloadable
boolean

Whether the file can be downloaded.

expires_at
string | null

RFC 3339 datetime string representing when the file will expire and become unavailable for download. Null if the file does not expire. For files uploaded with expires_in_seconds, this is the upload time plus that value.