Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Items

Manage conversations and conversation items.

Create items
$ openai conversations:items create
POST/conversations/{conversation_id}/items
Delete an item
$ openai conversations:items delete
DELETE/conversations/{conversation_id}/items/{item_id}
List items
$ openai conversations:items list
GET/conversations/{conversation_id}/items
Retrieve an item
$ openai conversations:items retrieve
GET/conversations/{conversation_id}/items/{item_id}
ModelsExpand Collapse
conversation_item: Message { id, content, role, 3 more } or ResponseFunctionToolCallItem { id, status, created_by } or ResponseFunctionToolCallOutputItem { id, output, status, 6 more } or 25 more

A single item within a conversation. The set of possible types are the same as the output type of a Response object.

conversation_item_list: object { data, first_id, has_more, 2 more }

A list of Conversation items.