v4

latestOpenAPI 3.1.02026-08-0143190206.8 KB
v1

List input items for a previously generated response.

Returns a paginated list of the input items that were part of the conversation context for the given response.

get/v1/responses/{response_id}/input_items

Path parameters

response_idstring required

The response id returned by a previous create response request.

Query parameters

limitinteger

Maximum number of items to return (1-100, default 20).

order'asc' | 'desc'

Sort order for paginated listings.

Sort order: asc or desc. Default asc.

afterstring

Cursor for pagination. Returns items after this item ID.

Response

Success

first_idstring nullable

The ID of the first item in the list.

has_moreboolean required

Whether there are more items beyond this page.

last_idstring nullable

The ID of the last item in the list.

objectstring required

The object type, always list.