media_id | str | - | ID of the media object this reference replaces. |
storage_key | str | - | Key of the object in the backend. |
session_id | Optional[str] | None | Session whose run uploaded the object. |
storage_backend | str | - | Backend that holds the object, for example "s3", "gcs", or "local". |
bucket | Optional[str] | None | Bucket holding the object. For local storage, the resolved base path. |
region | Optional[str] | None | Region of the bucket. |
url | Optional[str] | None | Durable URL for the object, when the backend has one. Signed URLs expire, so they are never stored here. |
mime_type | Optional[str] | None | Content type of the stored object. |
filename | Optional[str] | None | Original filename. |
size | Optional[int] | None | Size of the object in bytes. |
content_hash | Optional[str] | None | SHA-256 of the content. |
media_type | Optional[str] | None | One of "image", "audio", "video", or "file". |
metadata | Optional[Dict[str, Any]] | None | Full metadata for the media. The backend may store a sanitized subset on the object itself. |