cancelResponsesResponse

Cancels an in-progress response from the OpenAI Responses API.

Return

The OpenAIResponsesResponse reflecting the canceled state.

Parameters

responseId

The ID of the response to cancel.

See also

Throws

if the HTTP request fails.