List input items
Returns a list of input items for a given response.
Path parameters
The ID of the response to retrieve input items for.
Query parameters
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
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.
An item ID to list items after, used in pagination.
Additional fields to include in the response. See the include parameter for Response creation above for more information.
Response
OK
Changes
Changed in 5 of the 31 revisions of this API.2649
- ●
added the new
autoenum value to thedata/items/anyOf[FunctionToolCallOutputResource]/allOf[subschema #1: Function tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #3: Input file]/detailresponse property for the response status200response-property-enum-value-added
- ●
added the new
autoenum value to thedata/items/anyOf[InputMessageResource]/allOf[subschema #1: Input message]/content/items/anyOf[subschema #3: Input file]/detailresponse property for the response status200response-property-enum-value-added
- ●
added the new
autoenum value to thedata/items/anyOf[subschema #27: ResponseCustomToolCallOutputItem -> subschema #29: ResponseCustomToolCallOutputItem]/allOf[subschema #1: Custom tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #3: Input file]/detailresponse property for the response status200response-property-enum-value-added
- ○
added the optional property
data/items/anyOf[AdditionalTools]/tools/items/anyOf[subschema #10: Shell tool -> subschema #11: Shell tool]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[AdditionalTools]/tools/items/anyOf[subschema #11: Custom tool -> subschema #12: Custom tool]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[AdditionalTools]/tools/items/anyOf[subschema #12: Namespace -> subschema #13: Namespace]/tools/items/anyOf[FunctionToolParam]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[AdditionalTools]/tools/items/anyOf[subschema #12: Namespace -> subschema #13: Namespace]/tools/items/anyOf[FunctionToolParam]/output_schemato the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[AdditionalTools]/tools/items/anyOf[subschema #12: Namespace -> subschema #13: Namespace]/tools/items/anyOf[subschema #2: Custom tool]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[AdditionalTools]/tools/items/anyOf[subschema #15: Apply patch tool -> subschema #16: Apply patch tool]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[AdditionalTools]/tools/items/anyOf[subschema #1: Function]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[AdditionalTools]/tools/items/anyOf[subschema #1: Function]/output_schemato the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[AdditionalTools]/tools/items/anyOf[subschema #6: MCP tool]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[AdditionalTools]/tools/items/anyOf[subschema #7: Code interpreter]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[FunctionToolCallOutputResource]/allOf[subschema #1: Function tool call output]/callerto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[FunctionToolCallOutputResource]/allOf[subschema #1: Function tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #1: Input text]/prompt_cache_breakpointto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[FunctionToolCallOutputResource]/allOf[subschema #1: Function tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #2: Input image]/prompt_cache_breakpointto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[FunctionToolCallOutputResource]/allOf[subschema #1: Function tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #3: Input file]/prompt_cache_breakpointto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[FunctionToolCallResource]/allOf[subschema #1: Function tool call]/callerto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[InputMessageResource]/allOf[subschema #1: Input message]/content/items/anyOf[subschema #1: Input text]/prompt_cache_breakpointto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[InputMessageResource]/allOf[subschema #1: Input message]/content/items/anyOf[subschema #2: Input image]/prompt_cache_breakpointto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[InputMessageResource]/allOf[subschema #1: Input message]/content/items/anyOf[subschema #3: Input file]/prompt_cache_breakpointto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #10: Shell tool -> subschema #11: Shell tool]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #11: Custom tool -> subschema #12: Custom tool]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #12: Namespace -> subschema #13: Namespace]/tools/items/anyOf[FunctionToolParam]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #12: Namespace -> subschema #13: Namespace]/tools/items/anyOf[FunctionToolParam]/output_schemato the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #12: Namespace -> subschema #13: Namespace]/tools/items/anyOf[subschema #2: Custom tool]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #15: Apply patch tool -> subschema #16: Apply patch tool]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #1: Function]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #1: Function]/output_schemato the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #6: MCP tool]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #7: Code interpreter]/allowed_callersto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[subschema #18: Shell tool call -> subschema #20: Shell tool call]/callerto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[subschema #19: Shell call output -> subschema #21: Shell call output]/callerto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[subschema #20: Apply patch tool call -> subschema #22: Apply patch tool call]/callerto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[subschema #21: Apply patch tool call output -> subschema #23: Apply patch tool call output]/callerto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[subschema #26: ResponseCustomToolCallItem -> subschema #28: ResponseCustomToolCallItem]/allOf[subschema #1: Custom tool call]/callerto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[subschema #27: ResponseCustomToolCallOutputItem -> subschema #29: ResponseCustomToolCallOutputItem]/allOf[subschema #1: Custom tool call output]/callerto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[subschema #27: ResponseCustomToolCallOutputItem -> subschema #29: ResponseCustomToolCallOutputItem]/allOf[subschema #1: Custom tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #1: Input text]/prompt_cache_breakpointto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[subschema #27: ResponseCustomToolCallOutputItem -> subschema #29: ResponseCustomToolCallOutputItem]/allOf[subschema #1: Custom tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #2: Input image]/prompt_cache_breakpointto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[subschema #27: ResponseCustomToolCallOutputItem -> subschema #29: ResponseCustomToolCallOutputItem]/allOf[subschema #1: Custom tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #3: Input file]/prompt_cache_breakpointto the response with the200statusresponse-optional-property-added
- ○
added
ProgramProgramOutputto thedata/items/response propertyanyOflist for the response status200response-property-any-of-added
- ○
added
ProgrammaticToolCallingParamto thedata/items/anyOf[AdditionalTools]/tools/items/response propertyanyOflist for the response status200response-property-any-of-added
- ○
added
ProgrammaticToolCallingParamto thedata/items/anyOf[ToolSearchOutput]/tools/items/response propertyanyOflist for the response status200response-property-any-of-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
data/items/anyOf[AdditionalTools]/tools/items/anyOf[subschema #6: MCP tool]/tunnel_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #6: MCP tool]/tunnel_idto the response with the200statusresponse-optional-property-added
- ○
- ▲
the response property
data/items/anyOf[subschema #6: Web search tool call]/action/anyOf[subschema #1: Search action]/querybecame optional for the status200response-property-became-optional
- ○
added
AdditionalToolsto thedata/items/response propertyanyOflist for the response status200response-property-any-of-added
- ○
response property
data/items/anyOf[subschema #6: Web search tool call]/action/anyOf[subschema #1: Search action]/querydeprecatedresponse-property-deprecated
- ▲
- ●
added the new
chatgpt-image-latestenum value to thedata/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/model/anyOf[subschema #2]/response property for the response status200response-property-enum-value-added
- ●
added the new
gpt-image-2enum value to thedata/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/model/anyOf[subschema #2]/response property for the response status200response-property-enum-value-added
- ●
added the new
gpt-image-2-2026-04-21enum value to thedata/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/model/anyOf[subschema #2]/response property for the response status200response-property-enum-value-added
- ○
removed the
1024x1024enum value from thedata/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/sizeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
1024x1536enum value from thedata/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/sizeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
1536x1024enum value from thedata/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/sizeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
autoenum value from thedata/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/sizeresponse property for the response status200response-property-enum-value-removed
- ●
- ▲
the
data/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/sizeresponse's property type/format changed fromstring/to/for status200response-property-type-changed
- ○
added
subschema #1subschema #2to thedata/items/anyOf[ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/sizeresponse propertyanyOflist for the response status200response-property-any-of-added
- ▲