v6

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-0182128753.1 KB
Completion Messages

Stop Completion Message Generation

Available for: Text Generator apps.

Stops a completion message generation task. Only supported in streaming mode.

post/completion-messages/{task_id}/stop

Path parameters

task_idstring required

Task ID, from the streaming events of Send Completion Message.

Request body

userstring required

End-user identifier, defined by your app and unique within it. Must match the user sent with the original message; if it differs, the stop silently does nothing and still returns success. See End User Identity.

Response

Operation successful.

resultstring

Operation result. Always success.