v32

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-07-312881,4162.7 MB
Responses

List input items

Returns a list of input items for a given response.

get/responses/{response_id}/input_items?beta=true

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.

includeBetaIncludeEnum[]

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

Headers

openai-betastring[]

Optional beta features to enable for this request.

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.