task.create
Creates a new task. The task runs asynchronously. Poll for progress with task.listMessages, send follow-ups with task.sendMessage. See the Task Lifecycle guide for the complete flow.
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.
Headers
API key for direct authentication. Provide either this or Authorization, not both. See Authentication.
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.
"Bearer {access_token}"
Body
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 to associate this task with. The project's instruction will be automatically applied. Use project.list to get available project IDs.
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.
Who can view the task.
private(default) — only the task creator.team— all team members.public— anyone with theshare_url, without authentication.
private, team, public 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.
standard, lite, max, max-medium, max-high, max-extra, max-ultra 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.
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.
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— invalidkind; an empty or overlong field;kind: "sandbox"together withdevice_id,working_directory, orworktree;kind: "device",working_directory, orworktreewithoutdevice_id; aworking_directorythat is not an absolute path or is outside the cloud computer's workspace; aworking_directoryon adesktopdevice that is not exactly thepathof one of itsfolders;worktreeon a device that is notdesktop, or withoutworking_directory.permission_denied— a Standard OAuth client setsdevice_idorkind: "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.
URL to view the task in the Manus webapp (e.g., https://manus.im/app/{task_id}).
Publicly accessible URL for sharing. Only present when share_visibility is not "private".
The actual visibility state of the task.
private, team, public