Skip to main content
POST
ConfirmAction
Questions or issues? Contact us at api-support@manus.ai.
Auth:
  • API Key: Full access.
  • Standard OAuth client: Requires create_task or manage_all_tasks. With create_task, only tasks created by the same client; see Task visibility.
  • Trusted client: Full access.

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. An OAuth client requires the create_task or manage_all_tasks scope unless it is a Trusted team client or Trusted public client. Provide either this or x-manus-api-key, not both. See the Open App guide.

Example:

"Bearer {access_token}"

Body

application/json
task_id
string
required

The unique identifier of the task with a pending action. Supports the shortcut agent-default-main_task for the IM agent's main task.

event_id
string
required

The waiting_for_event_id value from the status_update event that triggered the confirmation request. This identifies which specific action to confirm.

input
object

Optional input data for the pending action. Build it according to status_update.confirm_input_schema. For simple confirmations, input can be omitted.

Response

Confirmation request processed. Check confirmed to determine whether a confirmation event was submitted.

ok
boolean

Whether the request was successful.

Example:

true

request_id
string

Unique identifier for this API request.

task_id
string

The ID of the task that was confirmed.

confirmed
boolean

True when a confirmation event was submitted. False when the input was valid but the pending action did not consume it; the task remains waiting. True does not mean the external operation completed successfully.