Cancels a run that is `in_progress`.
Path parameters
The ID of the thread to which this run belongs.
The ID of the run to cancel.
Response
OK
Changes
Changed in 8 of the 35 revisions of this API.329
- ▲
added
subschema #1: Behaviorto theresponse_formatresponse propertyoneOflist for the response status200response-property-one-of-added
- ▲
added
subschema #1: Behaviorto thetool_choiceresponse propertyoneOflist for the response status200response-property-one-of-added
- ○
removed
subschema #1from theresponse_formatresponse propertyoneOflist for the response status200response-property-one-of-removed
- ○
removed
subschema #1from thetool_choiceresponse propertyoneOflist for the response status200response-property-one-of-removed
- ▲
- ○
the response property
tools/items/oneOf[subschema #2: FileSearch tool]/file_search/ranking_options/score_thresholdbecame required for the status200response-property-became-required
- ○
- ○
added the optional property
tools/items/oneOf[subschema #2: FileSearch tool]/file_search/ranking_optionsto the response with the200statusresponse-optional-property-added
- ○
- ▲
added
ResponseFormatTextResponseFormatJsonObjectResponseFormatJsonSchemato theresponse_formatresponse propertyoneOflist for the response status200response-property-one-of-added
- ○
removed
AssistantsApiResponseFormatfrom theresponse_formatresponse propertyoneOflist for the response status200response-property-one-of-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
json_schemaenum value to theresponse_format/oneOf[AssistantsApiResponseFormat]/typeresponse property for the response status200response-property-enum-value-added
- ○
added the optional property
tools/items/oneOf[subschema #3: Function tool]/function/strictto the response with the200statusresponse-optional-property-added
- ○
removed the
noneenum value from theresponse_format/oneOf[subschema #1]/response property for the response status200response-property-enum-value-removed
- ●
- ○
added the required property
parallel_tool_callsto the response with the200statusresponse-required-property-added
- ○
- ○
added the optional property
tools/items/oneOf[subschema #2: FileSearch tool]/file_searchto the response with the200statusresponse-optional-property-added
- ○
- ●
added the new
incompleteenum value to thestatusresponse property for the response status200response-property-enum-value-added
- ●