List paginated input items for a response
Retrieves a paginated list of all input items provided when creating the specified agent response.
Authorizations
Path Parameters
Query Parameters
Additional fields to include in the input items. Allows requesting specific nested data like web search sources, code interpreter outputs, computer screenshots, file search results, input images, output logprobs, or reasoning content. These fields may have performance or cost implications.
web_search_call.action.sources, code_interpreter_call.outputs, computer_call_output.output.image_url, file_search_call.results, message.input_image.image_url, message.output_text.logprobs, reasoning.encrypted_content Response
Paginated list of input items for the specified response.
Paginated list object containing input items for a response with cursor-based pagination metadata.
Array of input items (messages, prompts, instructions) that were provided when creating the response. Each item contains its type, content, role, and metadata.
Input message item: A message with role and content. Use this for user, assistant, system, or developer turns in structured inputs.
- Input message item
- Output message item
- Output audio item
- File search call item
- Computer call item
- Computer call output item
- Web search call item
- Function call item
- Function call output item
- Reasoning item
- Image generation call item
- Code interpreter call item
- Local shell call item
- Local shell call output item
- Shell call item
- Shell call output item
- MCP list tools item
- MCP approval request item
- MCP approval response item
- Tool approval request item
- Tool approval response item
- MCP call item
- Custom tool call item
- Custom tool call output item
- Item reference item
- Compaction item