> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# TurnStatsNotification

> One turn's response dimensions, keyed by the prompt that opened it.

One turn's response dimensions, keyed by the prompt that opened it. Sent
when a turn ends and once per past turn on `session/load`; a repeat for the
same `turnClientMessageId` replaces the earlier snapshot.

**Extends:** `TurnStatsNotification`

## Properties

**method** `"_cognition.ai/turn_stats"` *required*

**responseDimensions** `ResponseDimensionPayload[]`

**Type:** `ResponseDimensionPayload[]`

The turn's response dimensions, in the order the server emitted them.
Cumulative metrics are already summed across the turn's requests.
Empty when the server sent none (e.g. a local agent).

**sessionId** `string` *required*

ACP session ID that owns this turn.

**turnClientMessageId** `string` *required*

The `PromptRequest.messageId` of the user prompt that opened the turn.
A repeat for the same id replaces the earlier snapshot.

**turnRequestId** `null | string`

Request id of the turn's latest request that has one (the footer's
"Copy request ID" row). `None` when no request in the turn has one.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.