Tasks
Cancel an agent task
Cancels a model task with the given ID. Only tasks created with the background parameter set to true can be cancelled. Learn more.
post/tasks/{task_id}/cancel
Request
- Base URL: https://api.linxueyuan.online/v1
- URL: https://api.linxueyuan.online/v1/tasks/{task_id}/cancel
- Auth: HTTP bearer
Path parameters
task_idstring required
The ID of the task to cancel
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.