Chat
Stop Chat Message Generation
Stops a chat message generation task. Only supported in streaming mode.
POST
Authorizations
API Key authentication. For all API requests, include your API Key in the Authorization
HTTP Header, prefixed with 'Bearer '. Example: Authorization: Bearer {API_KEY}
. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences.
Path Parameters
Task ID, can be obtained from the streaming chunk return of a /chat-messages
request.
Body
application/json
Response
200 - application/json
Operation successful.
The response is of type object
.