File object
Description of a single File object.
Attributes
idstring
Unique File ID.objectstring
Object type, alwaysfile.bytesint
File size in bytes.created_atint
File creation time as a Unix timestamp (seconds).filenamestring
File name.purposestring
Upload purpose. Onlystorageis supported for file uploads.statusstring
Processing status:successorprocessed.
Example
{
"id": "file-abc123",
"object": "file",
"bytes": 140,
"created_at": 1613779121,
"filename": "productImage.png",
"purpose": "storage",
}Last updated on