{"version":"2.1.324","anchor":"result-schema-gains-restored-rewind","canonical_anchor":"result-schema-gains-restored-rewind","heading":"SDK results say when a rewind was restored after a usage limit","tier":"notice","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/result-schema-gains-restored-rewind","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### SDK results say when a rewind was restored after a usage limit\n\nThe result message gains an optional `restored_rewind` field, set when a usage limit refused a turn and a rewind was restored\n\n**What**\n\nApps that drive Claude Code through the Agent SDK (a library for building on Claude Code) receive a result message at the end of each turn. It can now carry an optional `restored_rewind` field holding `request_id` and `last_message_uuid`.\n\nThe field is set when a usage limit refused the turn and a rewind made with `rewind_conversation` and `restore_if_usage_limited` was restored.\n\n**Why**\n\nAn SDK app can now see from the result itself that a rewind was restored because of a usage limit, and which request and message it relates to.\n\n- Area: SDK\n- Names: `restored_rewind`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}