Skip to main content
POST
/
v2
/
task.stop
StopTask
curl --request POST \
  --url https://api.manus.ai/v2/task.stop \
  --header 'Content-Type: application/json' \
  --data '
{
  "task_id": "<string>"
}
'
{
  "ok": true,
  "request_id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://open.manus.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Questions or issues? Contact us at api-support@manus.ai.
OAuth scope: create_task or manage_all_tasks — see the OAuth2 guide. With create_task scope, can only access tasks created by this OAuth app.
Resumable: A stopped task can still be resumed by sending a new message via task.sendMessage.

Headers

x-manus-api-key
string

API key for direct authentication. Provide either this or Authorization, not both. See Authentication.

Authorization
string

OAuth2 access token in Bearer {token} format. Provide either this or x-manus-api-key, not both. See the OAuth2 guide.

Example:

"Bearer {access_token}"

Body

application/json
task_id
string
required

The unique identifier of the running task to stop. Supports the shortcut agent-default-main_task for the IM agent's main task.

Response

Task stopped successfully.

ok
boolean

Whether the request was successful.

Example:

true

request_id
string

Unique identifier for this API request.