Skip to content
RunAPI Developer Docs
API Reference
API Reference

File object

An immutable persistent File identified by a RunAPI File ID without storage implementation details.

An immutable persistent File identified by a RunAPI File ID without storage implementation details.

01

Object fields

JSON body

Stable fields shared by the resource's reusable object.

Persistent Files7 fields
bytesinteger
Required

Stored File size in bytes.

created_atinteger
Required

Unix timestamp when the File was created.

expires_atinteger
Optional

Optional Unix timestamp when the File expires.

filenamestring
Required

Original File name.

idstring
Required

RunAPI File ID.

objectstring
Required

Object type.

purposestring
Required

File purpose.

Allowed values: user_data, batch, batch_output