Submit tool outputs to run
Changed onWhen a run has the status: "requires_action" and required_action.type is submit_tool_outputs, this endpoint can be used to submit the outputs from the tool calls once they're all completed. All outputs must be submitted in a single request.
Request
- Base URLhttps://api.openai.com/v1
- URLhttps://api.openai.com/v1/threads/{thread_id}/runs/{run_id}/submit_tool_outputs
- AuthHTTP bearer
Path parameters
The ID of the thread to which this run belongs.
The ID of the run that requires the tool output submission.
Request body
Response
OK
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//////to the response with the status
- info
- breaking
the request property
became not nullable - breaking
response property
metadatalist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
tools/items/oneOf[subschema #3: Function tool]/function/strictlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
the
response's property type changed fromintegertointegernull, and format from no format tounixtimefor status - breaking
the
response's property type changed fromintegertointegernull, and format from no format tounixtimefor status - breaking
the
response's property type changed fromintegertointegernull, and format from no format tounixtimefor status - breaking
the
response's property type changed fromintegertointegernull, and format from no format tounixtimefor status - breaking
the
response's property type changed fromintegertointegernull, and format from no format tounixtimefor status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
added the media type
text/event-streamfor the response with the status - info
added the non-success response with the status
- info
added
subschema #2to theresponse propertyanyOflist for the response status - info
added
subschema #2to theresponse propertyanyOflist for the response status - info
added
subschema #2to theresponse propertyanyOflist for the response status - info
added
subschema #1subschema #2to theresponse propertyanyOflist for the response status - info
the
response's property default valuefalsewas removed for the status - info
removed
subschema #1from theresponse propertyoneOflist for the response status - info
removed
subschema #1from theresponse propertyoneOflist for the response status
- breaking