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
Request
- Base URLhttps://api.dify.ai/v1
- URLhttps://api.dify.ai/v1/completion-messages/{task_id}/stop
- AuthHTTP bearer
Path parameters
task_idstring required
Task ID, from the streaming events of Send Completion Message.
Request body
Response
Operation successful.
Changes
No recorded changes to this operation across all 17 revisions of this API.