{"name":"CLAUDE_CODE_SESSION_CREATED_AT_MS","slug":"claude-code-session-created-at-ms","family":"env","title":"Environment variables","noun":"environment variable","description":"Claude Code now reads several new environment variables, including one for overload retry waits and one for SDK MCP tool idle time","description_source":"entry","described_by":{"version":"2.1.323","anchor":"desktop-host-env-vars-and-new-sdkoverload-env-vars"},"presence":{"first_seen":"2.1.323","removed_in":null,"in_current_build":true,"newest_mined":"2.1.323","builds":1,"mined_builds":162,"first_cited":{"version":"2.1.323","released_at":"2026-11-12 20:29:28","spans":1}},"aliases":[],"entries":[{"version":"2.1.323","anchor":"desktop-host-env-vars-and-new-sdkoverload-env-vars","heading":"New environment variables for the desktop app, SDK tools and overload retries","line":"Claude Code now reads several new environment variables, including one for overload retry waits and one for SDK MCP tool idle time","released_at":"2026-11-12 20:29:28","reason":"found in this entry's text"},{"version":"2.1.323","anchor":"session-creation-time-is-passed-in-via-claude-code-session-c","heading":"Claude Code reads the session's creation time from an environment variable","line":"Claude Code now reads `CLAUDE_CODE_SESSION_CREATED_AT_MS` and records it as the session's creation time","released_at":"2026-11-12 20:29:28","reason":"found in this entry's text, named in this entry"}],"entries_total":2,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_SESSION_","slug":"claude-code-session","description":"Two env vars let background dispatchers inherit your plan and rate tier without an API call."},{"name":"CLAUDE_CODE_SESSION_ACCESS_TOKEN","slug":"claude-code-session-access-token","description":"Remote settings can now supply many more environment variables, including auth tokens and home directory paths."},{"name":"CLAUDE_CODE_SESSION_ATTENDED","slug":"claude-code-session-attended","description":"A new CLAUDE_CODE_SESSION_ATTENDED environment variable tells child processes whether the parent session is interactive"},{"name":"CLAUDE_CODE_SESSION_BEGAN_AS_COPY","slug":"claude-code-session-began-as-copy","description":"A hidden --session-began-as-copy option, sent by the server, stops --resume from continuing the copied session's last turn"},{"name":"CLAUDE_CODE_SESSION_ID","slug":"claude-code-session-id","description":"Skills from your claude.ai account can load as a source, but only if you set the sync env var."},{"name":"CLAUDE_CODE_SESSION_KIND","slug":"claude-code-session-kind","description":"You get a one-time warning line if a query names a model Claude Code does not recognise."},{"name":"CLAUDE_CODE_SESSION_LOG","slug":"claude-code-session-log","description":"Path recorded as `logPath` in the session's entry in Claude Code's concurrent sessions registry (the per-process pid file)."},{"name":"CLAUDE_CODE_SESSION_NAME","slug":"claude-code-session-name","description":"A blank CLAUDE_CODE_SESSION_NAME now falls back to the directory-derived name."},{"name":"CLAUDE_CODE_SESSION_ORIGIN","slug":"claude-code-session-origin","description":"A new CLAUDE_CODE_SESSION_ORIGIN environment variable is read and passed through to spawned subsessions."},{"name":"CLAUDE_CODE_SESSION_START_ANNOUNCEMENTS_BEFORE_PROMPT","slug":"claude-code-session-start-announcements-before-prompt","description":"A new env var lets session-start announcements be placed before the closing line in headless runs"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-session-created-at-ms","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}