## List Snapshots `assets.list_snapshots(strasset_id, AssetListSnapshotsParams**kwargs) -> SyncSnapshotsCursor[AssetListSnapshotsResponse]` **get** `/assets/{assetId}/snapshots` List snapshots of a canvas type asset ### Parameters - `asset_id: str` - `page_size: Optional[int]` The number of items to return in the response. The default value is 10, maximum value is 100, minimum value is 10 - `pagination_token: Optional[str]` A token you received in a previous request to query the next page of items ### Returns - `class AssetListSnapshotsResponse: …` - `author_id: str` - `hash: str` - `raw_data: str` - `taken_at: float` ### Example ```python import os from scenario_sdk import Scenario client = Scenario( api_key=os.environ.get("SCENARIO_SDK_API_KEY"), # This is the default and can be omitted api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"), # This is the default and can be omitted ) page = client.assets.list_snapshots( asset_id="assetId", ) page = page.snapshots[0] print(page.author_id) ``` #### Response ```json { "snapshots": [ { "authorId": "authorId", "hash": "hash", "rawData": "rawData", "takenAt": 0 } ], "nextPaginationToken": "nextPaginationToken" } ```