OpenAI
List conversation items
List a conversation's items.
Call Create conversation first, then replace conv_123 with the returned conv_ ID.
GET
/openai/v1/conversations/{conversation_id}/items● SupportedRequest parameters
conversation_idstring必填path:
limitinteger可选query: Maximum items per page (values above 100 are clamped).
afterstring可选query: Item ID from the previous page; returns items after this cursor.
orderstring可选query: Sort by stored creation order.
Returns
200 list
Lists a conversation's items in creation order, with limit / after / order pagination.
Errors follow the OpenAI format — see error codes
Response
HTTP 200
The conversation's items
application/json
| Name | Type | Description |
|---|---|---|
| object | string | Object type; always `list`. |
| data | array<object> | Items of the conversation, in the order the list requested. |
| first_id | string | Id of the first item of this page; null for an empty page. |
| last_id | string | Id of the last item of this page; null for an empty page. |
| has_more | boolean | Whether more items exist beyond this page; pass `last_id` as `after` to read them. |