> ## 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.

# CognitionAcp.TurnStatsNotification

> One turn's response statistics: the server-driven response dimensions accumulated over the turn, keyed by the prompt that opened it.

Sent as a custom JSON-RPC notification with method \[`TURN_STATS_METHOD`],
once per ended turn on a stop and once per historical turn on
`session/load`. The values are folded from the persisted transcript on
both paths, so a reloaded session reports the same rows as the live stop
did. Data-only: turn lifecycle stays on `cognition.ai/agent_stopped`.

```typescript
type TurnStatsNotification = void
```


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