Expand description
The Conversations API: manage conversation state via /conversations.
![warn] This module is untested! If you encounter any issues, please report them on the repository.
Conversations are the stateful layer of the Responses API: a
conversation stores the input/output items of a multi-turn
interaction, and a Responses request can continue it via
conversation: { "id": ... } instead of previous_response_id.
See
the OpenAI Conversations guide.
Submodules: create, retrieve, update, delete,
list and items (per-conversation item management).
Modules§
- create
- Create a conversation via
POST /conversations. - delete
- Delete a conversation via
DELETE /conversations/{conversation_id}. - items
- Manage the items of a conversation via
/conversations/{conversation_id}/items. - list
- List conversations via
GET /conversations. - retrieve
- Retrieve a conversation via
GET /conversations/{conversation_id}. - update
- Update a conversation via
POST /conversations/{conversation_id}.
Structs§
- Conversation
- A conversation object.