Skip to content
Prompty

TurnEndPayload

Payload for “turn_end” events — a turn has completed.

---
title: TurnEndPayload
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class TurnEndPayload {
        +int32 iterations
        +string status
        +unknown response
        +float64 durationMs
    }
iterations: 2
durationMs: 1500
Name Type Description
iterations int32 Number of tool-call iterations performed
status string Final semantic status of the turn
response unknown Final response after processing, if available
durationMs float64 Total elapsed turn duration in milliseconds