Skip to main content
The Responses API is stateful: it supports multi-turn conversations through the standard OpenAI previous_response_id parameter. Pass the id of a prior response and the model inherits that conversation’s context, so follow-up questions can use pronouns and references (“its population”, “the second one”) without restating the original question.

Usage

Create an initial response, then reference its id in the follow-up:

Building a research chat loop

Chain each turn to the previous response id to build an interactive research session:
Python

Notes

  • Responses are stored server-side to support follow-ups — you don’t need to pass store: true (the field is accepted but has no effect; see OpenAI Responses Compatibility).
  • Each turn performs fresh web research; the conversation context informs what to research, and answers stay grounded in live sources.
  • Tiers can vary across turns — for example, open with a high-effort research question and ask cheap low-effort follow-ups.