FileRevision | Istari Digital Documentation
AI agents: fetch /skills/istari/istari-docs/SKILL.md and follow it. Index: /llms.txt. Prefer /markdown-source/ over this HTML page. Human bootstrap: /build/ai
This is documentation for the release 2025.09. Our latest release is (
2026.08 )
SDK API Reference Models FileRevision On this page
Description: Represents a file revision object. This class inherits from the Base classes.
Attributes
Name Type Description id StrictStr created datetime.datetime file_id Optional[StrictStr] content_token Token properties_token Token archive_status_history List[FileRevisionArchiveStatus ] name Optional[StrictStr] stem Optional[StrictStr] suffix Optional[StrictStr] extension Optional[StrictStr] description Optional[StrictStr] size Optional[StrictInt] mime Optional[StrictStr] version_name Optional[StrictStr] external_identifier Optional[StrictStr] display_name Optional[StrictStr] sources Optional[List[Source ]] products Optional[List[Product ]] created_by_id Optional[StrictStr]
Methods
Name Description source_revision_ids source_product_ids read_bytes to_str Returns the string representation of the model using alias to_json Returns the JSON representation of the model using alias from_json Create an instance of FileRevision from a JSON string to_dict Return the dictionary representation of the model using alias. from_dict Create an instance of FileRevision from a dict from_storage_revision read_text copy_to read_json archive Archive the item using the appropriate client method based on its type. restore Restore the item using the appropriate client method based on its type.