OpenAI

List input items

List the input items of a model response.

Call Create response first, then replace resp_123 with the returned ID.

GET /openai/v1/responses/{response_id}/input_items● Supported

Official OpenAI docs ↗

Request parameters

  • response_idstring必填

    path:

Returns

200 list

Lists the input items of a stored response. Supports limit (1–100, default 20), order (asc/desc, default desc, as in the official API) and cursor pagination by item id with after; has_more / first_id / last_id match the page actually returned, so you can page through without gaps or repeats. Every item carries a server-issued id (msg_ for messages, and each of function_call / function_call_output / reasoning has its own prefix); older data stored before ids existed gets deterministic ids on read, without a destructive migration, so repeated reads with the same cursor stay stable. For a response created with previous_response_id, the list shows the full resolved input: the input and output items of the earlier responses in the chain plus the input submitted this turn; if an ancestor response was not stored on the platform (for example created with store false) or has expired, only this turn's own input is listed. If the response was created with store set to false we did not store it, and the list returns 404 response_not_found.

Errors follow the OpenAI format — see error codes

Response

HTTP 200

Native Responses API input item list

application/json

NameTypeDescription
$object