Responses

List input items

Changed on

Returns a list of input items for a given response.

get/responses/{response_id}/input_items

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/responses/{response_id}/input_items
  • Auth
    HTTP bearer

Path parameters

response_idstring required

The ID of the response to retrieve input 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[]

Additional fields to include in the response. See the include parameter for Response creation above for more information.

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

      the response's property default value changed from gpt-image-1 to gpt-image-2 for the status

    • info

      the response's property default value changed from gpt-image-1 to gpt-image-2 for the status