OpenAI Conversations API
The Conversations API allows you to create and manage stateful conversations for use with the Responses API. A conversation object contains an id, a created_at timestamp, and metadata. Because conversations are stateful, managing context across conversations is handled automatically, and the /responses/compact endpoint can shrink context for long-running conversations.