<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAI",
  "identifier" : "/documentation/CoreAI/AIModel/bookmarkData",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core AI",
      "CoreAI"
    ],
    "preciseIdentifier" : "s:13CoreAIRuntime7AIModelV0A11AIDelegatesE12bookmarkData10Foundation0F0Vvp"
  },
  "title" : "bookmarkData"
}
-->

# bookmarkData

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

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

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)