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.

API entry from apis.yml

apis.yml Raw ↑
aid: openai:openai-conversations-api
name: OpenAI Conversations API
tags:
- Conversations
- State Management
score: 100
baseURL: https://api.openai.com
humanURL: https://platform.openai.com/docs/api-reference/conversations/create
properties:
- url: https://platform.openai.com/docs/api-reference/conversations/create
  type: Documentation
- url: https://developers.openai.com/api/docs/guides/conversation-state/
  type: Documentation
description: 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.