Skip to main content
Replay the conversation yourself in the input array when you need precise control over exactly what context is sent, for example to summarize, redact, reorder, or omit earlier turns before the follow-up. See Replay conversation turns yourself for the pattern and code examples.

Storage-backed continuity

For most multi-turn conversations, use previous_response_id to continue from a completed prior response without resending the conversation yourself. See Conversation state for the full guide.

Next steps

Image Attachments

Attach images to a request.

Output Control

Control streaming, background runs, error handling, and structured output.