Cancel an active chat completion
Cancel an active chat completion
Cancels an actively executing chat completion by terminating the subprocess and rolling back session state.
POST
Cancel an active chat completion
Path Parameters
The ID of the chat completion to cancel
Response
The chat completion was cancelled successfully
Represents the cancellation confirmation of an active chat completion.
The ID of the cancelled chat completion.
The object type, which is always "chat.completion.cancelled".
Available options:
chat.completion.cancelled Whether the chat completion was successfully cancelled.
Additional information about the cancellation.

