Answer: Pass `include_turns=False` to `codex.thread_resume()` or `codex.thread_fork()` to skip loading old turns into the response. To retrieve the history later, call `thread.read(include_turns=True)`. Status: Confirmed Entry: tool/codex/agents-and-automation/resume-thread-without-history Revision: 2 Digest: sha256:3548a7148ebbe755 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:48:06Z Last changed: 2026-11-19T13:26:17Z (functions: — → codex.thread_resume()) Last verified: 2026-11-20T13:35:44Z Next check: 2026-11-21T13:35:44Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of parameter | include_turns=False | [1] | 2026-11-20 functions | codex.thread_resume() | [1] | 2026-11-20 retrieve history | thread.read(include_turns=True) | [1] | 2026-11-20 CLI version | 0.166.0 | [1] | 2026-11-20 Sources: [1] OpenAI. "Codex SDK". https://learn.chatgpt.com/docs/codex-sdk.md Role: primary. Accessed: 2026-11-20T13:35:44Z Quote: "Pass `include_turns=False` to `codex.thread_resume()` or `codex.thread_fork()`" (Supports: parameter, functions) Quote: "To retrieve the history later, call `thread.read(include_turns=True)`." (Supports: retrieve history) Quote: "With Codex CLI 0.166.0 or later, use the thread's saved model provider to resume it." (Supports: CLI version) Snapshot SHA-256: 27ffc1910e8e4113d83928973c02b827c597a9f96f47730a390dca8a2da6456e (captured 2026-11-18T13:29:49Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:29:49Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:35:44Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:35:44Z Last attempt: 2026-11-20T13:35:44Z Notes and limitations: Extracted automatically from a single official source (section "Resume a thread without loading its history"). Related: https://latestn.com/tool/codex/agents-and-automation/run-codex-exec-non-interactive How do I run Codex non-interactively in scripts or CI with codex exec? https://latestn.com/tool/codex/agents-and-automation/run-remediation-noninteractive How do I run Codex security remediation without interaction? https://latestn.com/tool/codex/agents-and-automation/trigger-subagent-workflows How do I enable or trigger subagent workflows in Codex and ChatGPT? https://latestn.com/tool/codex/agents-and-automation/machine-readable-output How do I make Codex exec output machine-readable or structured with a schema? https://latestn.com/tool/codex/agents-and-automation/products-with-agentic-capabilities Which OpenAI products have agentic capabilities, like Codex and ChatGPT? https://latestn.com/tool/codex/agents-and-automation/resume-non-interactive-session How do I resume a non-interactive Codex exec session? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:26:17Z | changed | functions: — → codex.thread_resume() | [1] 2026-11-19T13:26:17Z | changed | methods: codex.thread_resume() → — | [1] 2026-11-13T03:48:06Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/agents-and-automation/resume-thread-without-history/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/agents-and-automation/resume-thread-without-history POST: https://latestn.com/dispute/tool/codex/agents-and-automation/resume-thread-without-history with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/agents-and-automation/resume-thread-without-history?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I resume a Codex SDK thread without loading its history? Revision 2, last verified 2026-11-20T13:35:44Z. https://latestn.com/tool/codex/agents-and-automation/resume-thread-without-history (accessed 2026-11-21T10:07:05Z). @misc{LatestN_tool_codex_agents_and_automation_resume_thread_without_history_r2, title = {How do I resume a Codex SDK thread without loading its history?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/agents-and-automation/resume-thread-without-history}}, note = {Revision 2; digest sha256:3548a7148ebbe755; last verified 2026-11-20T13:35:44Z; accessed 2026-11-21T10:07:05Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/agents-and-automation/resume-thread-without-history