Skip to main content
POST
Stop Completion Message Generation

Authorizations

Authorization
string
header
required

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. Requests with a missing or invalid API key fail with HTTP 401 and error code unauthorized.

Path Parameters

task_id
string
required

Task ID, can be obtained from the streaming chunk return of the Send Completion Message API.

Body

application/json
user
string
required

User identifier. Must match the user passed when the message was sent: if it differs, the stop silently does nothing and the response still returns success.

Response

Operation successful.

result
string

Operation result. Always success.

Last modified on July 9, 2026