{"version":"2.1.318","anchor":"result-messages-gain-credential-expires-at","canonical_anchor":"result-messages-gain-credential-expires-at","heading":"SDK result messages can report when credentials expire","tier":"use","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318\/e\/result-messages-gain-credential-expires-at","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318","markdown":"### SDK result messages can report when credentials expire\n\nResult messages in the SDK have an optional credential_expires_at field\n\n**What**\n\nThe SDK is the developer kit for building programs on Claude Code. The result message it sends at the end of a run has a new optional field, `credential_expires_at`.\n\n**Why**\n\nPrograms built with the SDK can see when the credentials, meaning the login details in use, will expire.\n\n- Area: SDK\n- Names: `credential_expires_at`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}