{"version":"2.1.323","anchor":"sdk-result-messages-gain-policy-answer-fields","canonical_anchor":"sdk-result-messages-gain-policy-answer-fields","heading":"SDK results say more when a message is refused over organization settings","tier":"use","area":"SDK","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/sdk-result-messages-gain-policy-answer-fields","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### SDK results say more when a message is refused over organization settings\n\nSDK result messages can now carry policy_answer and policy_answer_reason when a message is refused while organization settings load\n\n**What**\n\nThe SDK is the toolkit for running Claude Code from your own programs. Its result messages can now include two optional fields, `policy_answer` and `policy_answer_reason`. They are filled in on the error result when Claude Code refuses a message because of the check that waits for your organization's settings to load.\n\nThe SDK's copy request also gains an `answers_press` field.\n\n**Why**\n\nPrograms built on the SDK can see the policy state behind a refusal instead of getting a bare error.\n\n- Area: SDK\n- Names: `policy_answer`, `policy_answer_reason`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: no"}