---
title: "turn(for:)"
framework: Siri Evaluations
role: symbol
role_heading: Instance Method
platforms: [iOS 27.3+, iPadOS 27.3+, macOS 27.3+, visionOS 27.3+]
path: "sirievaluations/siritranscript/turn(for:)"
---

# turn(for:)

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

## Declaration

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

## Discussion

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.

## See Also

### Inspecting a transcript

- [turns](sirievaluations/siritranscript/turns.md)
