---
title: bookmarkData
framework: coreai
role: symbol
role_heading: Instance Property
path: coreai/aimodel/bookmarkdata
---

# bookmarkData

Create a bookmark for this AIModel’s cached specialized asset entry as serialized data.

## Declaration

```swift
var bookmarkData: Data { get }
```

## Discussion

Discussion The data returned  can be stored and later resolved to re-create a model with init?(resolvingBookmark:). It contains information about the cache and entry backing the model note: Bookmark data is just data. It does not pin entries in the cache. Only a AIModel will pin its associated entry in the cache while it is held.
