<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/LanguageModelSession/Response",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels20LanguageModelSessionC8ResponseV"
  },
  "title" : "LanguageModelSession.Response"
}
-->

# LanguageModelSession.Response

A structure that stores the output of a response call.

```
struct Response<Content> where Content : Generable
```

## Topics

### Getting the response content

[`let content: Content`](/documentation/FoundationModels/LanguageModelSession/Response/content)

The response content.

[`let rawContent: GeneratedContent`](/documentation/FoundationModels/LanguageModelSession/Response/rawContent)

The raw response content.

### Inspecting the usage tokens

[`let usage: LanguageModelSession.Usage`](/documentation/FoundationModels/LanguageModelSession/Response/usage)

Information about how many tokens were used by this response.

### Getting the transcript entries

[`let transcriptEntries: ArraySlice<Transcript.Entry>`](/documentation/FoundationModels/LanguageModelSession/Response/transcriptEntries)

The list of transcript entries.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)