<!--
{
  "availability" : [
    "iOS: 27.3.0 -",
    "iPadOS: 27.3.0 -",
    "macOS: 27.3.0 -",
    "visionOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriEvaluations",
  "identifier" : "/documentation/SiriEvaluations/SiriTranscript/turn(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Siri Evaluations"
    ],
    "preciseIdentifier" : "s:15SiriEvaluations0A10TranscriptV4turn3forAC4TurnVSg10Foundation4UUIDV_tF"
  },
  "title" : "turn(for:)"
}
-->

# turn(for:)

Returns the turn produced by the scenario turn with this identity, if it ran.

```
func turn(for id: UUID) -> SiriTranscript.Turn?
```

## Discussion

Lookup by identity rather than index: a scenario that was interrupted has fewer transcript
turns than scenario turns, and positional lookup would grade turn three’s expectations
against turn two’s observations.

---

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)