{"version":"2.1.311","anchor":"headless-sessions-time-to-request-telemetry-description-wid","canonical_anchor":"headless-sessions-time-to-request-telemetry-description-wid","heading":"Headless timing field now documented for stopped, deferred and error turns","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/headless-sessions-time-to-request-telemetry-description-wid","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### Headless timing field now documented for stopped, deferred and error turns\n\nThe description of a headless-mode timing field now covers stopped, deferred-tool and error turns, and hosted workers sending it on errors\n\n**What**\n\nWhen Claude Code runs headless (without its interactive screen, usually driven by a script), its output follows a published structure. The description of one timing field in that structure now covers more kinds of turns (a turn is one exchange of request and reply):\n\n- turns that were stopped\n\n- turns that ended on a deferred tool\n\n- turns that ended with an error subtype\n\nIt also says that a worker Anthropic hosts, with telemetry (usage reporting) on, sends the value on results marked `is_error` too. Before, the description said turns that were stopped or failed after sending were counted but carried no value.\n\n**Why**\n\nIf you read this field from headless output, the description now says which kinds of turns carry it, including Anthropic-hosted workers reporting it on error results.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}