Skip to main content
POST
CreateTask
Questions or issues? Contact us at api-support@manus.ai. Agents: To message an existing agent instead of creating a new task, use task.sendMessage with agent-default-main_task as task_id. See the Agents guide. Websites: To edit an existing website, set the top-level website field next to your instruction. See Edit a website in a new task. Devices: To run the task on one of the user’s cloud computers or Manus Desktop devices instead of a Manus cloud sandbox, set execution_environment.device_id to a device from device.list.
Auth:
  • API Key: Full access. Before a task can run on a Manus Desktop device, the user must allow this API Key on that device: in Manus Desktop on that computer, open https://manus.im/app#settings/remote-access/api-key/device/{device_id} and allow the key. Until then, task.create with that device_id returns permission_denied. Cloud computers need no extra step.
  • Standard OAuth client: Requires create_task or manage_all_tasks. With create_task, created tasks are accessible only to the same client; see Task visibility. Cannot run tasks on a device through execution_environment.
  • Trusted client: Full access, except that it can run tasks on the user’s cloud computers only. Manus Desktop devices can be allowed only for API Keys, so no OAuth client can run tasks on them.

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
message
object
required

The message to start the task with. Contains the prompt text, optional file attachments, and connector/skill configuration.

website
Website · object

Optional. An existing website for the new task to edit — the same as attaching the website in the Manus app. message.content must also contain a non-empty text instruction; a hidden text part also counts. Only web websites owned by the authorized user are accepted; mobile apps and games are not. Only task.create has this field: follow-up messages through task.sendMessage only need the instruction. See Edit a website in a new task.

project_id
string

Project ID to associate this task with. The project's instruction will be automatically applied. Use project.list to get available project IDs.

locale
string

Locale for the task output language (e.g., "en", "zh-CN", "ja"). Defaults to the user's account locale setting.

interactive_mode
boolean
default:false

When enabled, the agent may pause and ask follow-up questions if the input is insufficient. When disabled (default), the agent proceeds with best-effort execution without asking.

client_capabilities
object

What your client can render itself, in the shape of MCP ClientCapabilities. Pass { "elicitation": { "form": {} } } to receive Addon form cards as addon_interaction messages; { "elicitation": {} } also means form support. Add "info": {} to also receive display-only info cards. Without client_capabilities, behavior is unchanged: no addon_interaction messages, and Addons continue with their defaults when their own deadline passes. See Addon Interaction Cards.

hide_in_task_list
boolean
default:false

When true, the task does not appear in the Manus webapp task list. It remains accessible through the task_url in the response.

share_visibility
enum<string>
default:private

Who can view the task.

  • private (default) — only the task creator.
  • team — all team members.
  • public — anyone with the share_url, without authentication.
Available options:
private,
team,
public
agent_profile
default:standard

Agent profile to use for the task. Use the stable values standard (default), lite, or max. For max, you can also choose a thinking level with max-medium, max-high, max-extra, or max-ultra (deepest reasoning, slowest, and highest credit usage); plain max uses the default Max thinking level, currently equivalent to max-extra. Versioned aliases such as 1.6-lite, 2.0-max, 2.0-max-ultra, and the legacy manus-1.6-lite form are also accepted; the version segment is ignored because model versions are not selected independently. A version without a suffix, such as 1.6 or manus-1.6, means standard. Omit the field (or pass an empty string) to use standard. Free personal accounts are downgraded to lite regardless of the requested value.

Available options:
standard,
lite,
max,
max-medium,
max-high,
max-extra,
max-ultra
title
string

Custom title for the task. If not provided, a title is generated from the input message. If generation times out, task_title is the placeholder generating title...; fetch task.detail later for the updated title.

async_title
boolean
default:false

When true and title is omitted, the task is created without waiting for title generation. task_title is the placeholder generating title... until the title is ready; fetch task.detail later for the updated title. Ignored when title is provided.

structured_output_schema
object

JSON Schema for structured output extraction. When provided, the agent runs normally, then a post-processing step extracts a result conforming to your schema. The schema must follow the Structured Output subset of JSON Schema: all object properties must be listed in required, and additionalProperties must be false. See the Structured Output guide.

clear_connectors
boolean
default:false

Clears the connector selection for the new task. The task starts without connectors; the project's default connectors and your default connectors are not loaded. Cannot be combined with a non-empty message.connectors. Other task features may still provide tools. See the Connectors guide.

execution_environment
ExecutionEnvironment · object

Optional. Where the task runs. Omit it to run in a Manus cloud sandbox, as before. To run on one of the user's cloud computers or Manus Desktop devices, set device_id to a device from device.list. Follow-up messages through task.sendMessage keep running in the same environment.

Only API Keys and Trusted clients can run tasks on a device. Trusted clients can run tasks on cloud computers only. To use a Manus Desktop device, call with an API Key that the user has allowed in Manus Desktop on that computer, at https://manus.im/app#settings/remote-access/api-key/device/{device_id}; no OAuth client can be allowed.

task.create does not check whether the device is online and does not start it. Create tasks only on devices whose state is online; otherwise the task cannot use the device until it reconnects.

Errors:

  • invalid_argument — invalid kind; an empty or overlong field; kind: "sandbox" together with device_id, working_directory, or worktree; kind: "device", working_directory, or worktree without device_id; a working_directory that is not an absolute path or is outside the cloud computer's workspace; a working_directory on a desktop device that is not exactly the path of one of its folders; worktree on a device that is not desktop, or without working_directory.
  • permission_denied — a Standard OAuth client sets device_id or kind: "device"; a Trusted client targets a Manus Desktop device; the user has not allowed this API Key on the Manus Desktop device, or the user has revoked that access.
  • not_found — the device does not exist or is not available to the user.
  • failed_precondition — the cloud computer's workspace is not ready yet.
  • unavailable — device information is temporarily unavailable. Retry later.

Response

Task created successfully.

ok
boolean

Whether the request was successful.

Example:

true

request_id
string

Unique identifier for this API request, useful for debugging.

task_id
string

Unique identifier for the created task. Use this to track, update, or delete the task.

task_title
string

Title for the task. Returns the custom title if one was provided in the request, otherwise the generated title, or the placeholder generating title... until the title is ready. See title.

task_url
string

URL to view the task in the Manus webapp (e.g., https://manus.im/app/{task_id}).

share_url
string

Publicly accessible URL for sharing. Only present when share_visibility is not "private".

share_visibility
enum<string>

The actual visibility state of the task.

Available options:
private,
team,
public