Conversations

List items

List all items for a conversation with the given ID.

get/conversations/{conversation_id}/items

Path parameters

conversation_idstring required
Example:conv_123

The ID of the conversation to list items for.

Query parameters

limitinteger

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.

order'asc' | 'desc'

The order to return the input items in. Default is desc.

  • asc: Return the input items in ascending order.
  • desc: Return the input items in descending order.
afterstring

An item ID to list items after, used in pagination.

includeIncludeEnum[]

Specify additional output data to include in the model response. Currently supported values are:

  • web_search_call.action.sources: Include the sources of the web search tool call.
  • code_interpreter_call.outputs: Includes the outputs of python code execution in code interpreter tool call items.
  • computer_call_output.output.image_url: Include image urls from the computer call output.
  • file_search_call.results: Include the search results of the file search tool call.
  • message.input_image.image_url: Include image urls from the input message.
  • message.output_text.logprobs: Include logprobs with assistant messages.
  • reasoning.encrypted_content: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the store parameter is set to false, or when an organization is enrolled in the zero data retention program).

Response

OK

object'list' required

The type of object returned, must be list.

has_moreboolean required

Whether there are more items available.

first_idstring required

The ID of the first item in the list.

last_idstring required

The ID of the last item in the list.

Changes

Changed in 16 of the 163 revisions of this API.62162

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      response property data/items/oneOf[AdditionalTools]/tools/items/oneOf[subschema #6: MCP tool]/connector_id deprecated

      response-property-deprecated

    • ○

      response property data/items/oneOf[ToolSearchOutput]/tools/items/oneOf[subschema #6: MCP tool]/connector_id deprecated

      response-property-deprecated

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added subschema #1 to the /// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed subschema #1 subschema #2 from the /// response property anyOf list for the response status

      response-property-any-of-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ●

      added the new gpt-image-2.5-flare enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new gpt-image-2.5-flare enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new gpt-image-2.5-flare-2026-09-08 enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new gpt-image-2.5-flare-2026-09-08 enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new gpt-image-2.5-sunburst enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new gpt-image-2.5-sunburst enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new gpt-image-2.5-sunburst-2026-09-08 enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new gpt-image-2.5-sunburst-2026-09-08 enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new max enum value to the ///////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new max enum value to the ///////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new xhigh enum value to the ///////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new xhigh enum value to the ///////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new incomplete enum value to the /// response property for the response status

      response-property-enum-value-added

  • 9430b00d75b4111See the full diff
    • ▲

      added to the / response property oneOf list for the response status

      response-property-one-of-added

    • ○

      added the optional property ///////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /////////////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //////////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /////////////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //////////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ●

      added the new gpt-image-2 enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new gpt-image-2 enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new gpt-image-2-2026-04-21 enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new gpt-image-2-2026-04-21 enum value to the ////////// response property for the response status

      response-property-enum-value-added