<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/Transcript/history",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels10TranscriptV7historyAC11HistoryViewVvp"
  },
  "title" : "history"
}
-->

# history

The transcript entries excluding the leading instructions entry, if present.

```
var history: Transcript.HistoryView { get set }
```

## Discussion

Use `history` to access just the conversational entries — prompts, responses,
tool calls, and tool outputs — without the initial instructions that were used
to configure the session.

When reading, if the first entry in the transcript is an [`Transcript.Entry.instructions(_:)`](/documentation/FoundationModels/Transcript/Entry/instructions(_:))
entry, it is excluded from the returned view. All other entries, including any
subsequent instructions entries, are included.

When writing, the new value replaces all entries except the leading instructions
entry, which is preserved.

---

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)