> ## 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.

# task.list

> Lists tasks with optional filtering and cursor-based pagination. Use `scope` to filter by task type, e.g. `agent_subtask` with `agent_id` for agent subtasks. See [task.detail](https://open.manus.ai/docs/v2/task.detail) for full details on a specific task.

By default only tasks created by the caller are listed (`sort=created_at`). With an API key, set `sort=last_activity` to list every task the key's user can see in Manus (the same set and order as the web task list): their own tasks, tasks shared with them, and colleagues' tasks in Projects where they have full access, newest activity first. The extra filters below apply only in this mode. Visibility always follows the user's permissions in Manus; it is never wider. OAuth clients, including Trusted clients, cannot use `sort=last_activity`.

<sup>Questions or issues? Contact us at [api-support@manus.ai](mailto:api-support@manus.ai).</sup>

> [!TIP]
>
> **Auth:**
>
> * **API Key:** Full access, including `sort=last_activity` (everything the user can see in Manus).
> * **Standard OAuth client:** Requires `create_task` or `manage_all_tasks`. With `create_task`, only tasks created by the same client; see [Task visibility](https://open.manus.ai/docs/v2/open-app.md#task-visibility).
> * **Trusted client:** Full access to the user's tasks, but `sort=last_activity` is not available (`permission_denied`).


## OpenAPI

````yaml GET /v2/task.list
openapi: 3.1.0
info:
  title: Manus OpenAPI v2
  description: >-
    API for integrating Manus into your workflow. All responses are wrapped with
    {"ok": true, "request_id": "...", ...} for success and {"ok": false,
    "request_id": "...", "error": {"code": "...", "message": "..."}} for errors.
  version: 2.0.0
servers:
  - url: https://api.manus.ai
security:
  - ApiKeyAuth: []
paths:
  /v2/task.list:
    get:
      summary: ListTasks
      description: >-
        Lists tasks with optional filtering and cursor-based pagination. Use
        `scope` to filter by task type, e.g. `agent_subtask` with `agent_id` for
        agent subtasks. See
        [task.detail](https://open.manus.ai/docs/v2/task.detail) for full
        details on a specific task.


        By default only tasks created by the caller are listed
        (`sort=created_at`). With an API key, set `sort=last_activity` to list
        every task the key's user can see in Manus (the same set and order as
        the web task list): their own tasks, tasks shared with them, and
        colleagues' tasks in Projects where they have full access, newest
        activity first. The extra filters below apply only in this mode.
        Visibility always follows the user's permissions in Manus; it is never
        wider. OAuth clients, including Trusted clients, cannot use
        `sort=last_activity`.
      operationId: openapi.v2.OpenapiV2Service.ListTasks
      parameters:
        - name: x-manus-api-key
          in: header
          required: false
          schema:
            type: string
          description: >-
            API key for direct authentication. Provide either this or
            `Authorization`, not both. See
            [Authentication](https://open.manus.ai/docs/v2/authentication).
        - name: Authorization
          in: header
          required: false
          schema:
            type: string
            example: Bearer {access_token}
          description: >-
            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](https://open.manus.ai/docs/v2/open-app) guide.
        - name: limit
          in: query
          schema:
            type: integer
            description: 'Number of tasks to return per page. Default: 20, Max: 100.'
        - name: cursor
          in: query
          schema:
            type: string
            description: >-
              Pagination cursor from the previous response's next_cursor field.
              Omit for the first page.
        - name: order
          in: query
          schema:
            type: string
            enum:
              - asc
              - desc
            description: >-
              Sort direction by creation time. "desc" (default) returns newest
              first, "asc" returns oldest first. With `sort=last_activity`, only
              `desc` is supported.
        - name: scope
          in: query
          schema:
            type: string
            enum:
              - all
              - agent_subtask
              - project
              - standard
            description: >-
              Filter by task type.


              - `all` (default) — all tasks.

              - `standard` — regular tasks.

              - `project` — tasks in a project. Requires `project_id`.

              - `agent_subtask` — subtasks created by an agent. Requires
              `agent_id`.
        - name: agent_id
          in: query
          schema:
            type: string
            description: >-
              Filter tasks by agent. Required when scope="agent_subtask".
              Supports the shortcut `agent-default` for the IM agent. Use
              [agent.list](https://open.manus.ai/docs/v2/agent.list) to get
              available agent IDs.
        - name: project_id
          in: query
          schema:
            type: string
            description: >-
              Filter tasks by project. Required when scope="project". Use
              [project.list](https://open.manus.ai/docs/v2/project.list) to get
              available project IDs.
        - name: oauth_client_id
          in: query
          schema:
            type: string
            description: >-
              Return only tasks created by this Open App. Mutually exclusive
              with `api_key_id`; passing both returns `invalid_argument`.
              Unknown IDs return an empty list.


              - **API Key or Trusted client:** any client ID.

              - **Standard OAuth client:** any client ID with
              `manage_all_tasks`; its own client ID only with `create_task`, and
              another ID returns `permission_denied`.
        - name: api_key_id
          in: query
          schema:
            type: string
            description: >-
              Return only tasks created by this API key. Mutually exclusive with
              `oauth_client_id`; passing both returns `invalid_argument`.
              Unknown IDs return an empty list.


              - **API Key or Trusted client:** any key ID.

              - **Standard OAuth client:** any key ID with `manage_all_tasks`;
              not available with `create_task` only, which returns
              `permission_denied`.
        - name: include_deleted
          in: query
          schema:
            type: boolean
            description: >-
              Include deleted tasks in the results. Default: `false`.


              When `true`, deleted tasks are returned in the same order and
              pages as other tasks, with `status: "deleted"` and `deleted_at`.
              All other filters and the same task visibility rules still apply.


              A deleted task contains only `id`, `status`, `created_at`,
              `updated_at`, `deleted_at`, `task_type`, and `task_url`. `title`
              and `share_visibility` are empty strings, and optional fields such
              as `credit_usage` and `agent_profile` are omitted.


              Use this to reconcile deletions your endpoint missed. See the
              `task_deleted` event in
              [Webhooks](https://open.manus.ai/docs/v2/webhooks-overview).
        - name: is_archived
          in: query
          schema:
            type: boolean
            description: >-
              Filter by archive state. `true` returns only archived tasks;
              `false` returns only tasks that are not archived. With
              `sort=last_activity`, omitting it returns only tasks that are not
              archived, like the Manus task list; with `sort=created_at` (the
              default), omitting it returns both.


              With `include_deleted=true`, deleted tasks are filtered by their
              archive state before deletion.
        - name: sort
          in: query
          schema:
            type: string
            enum:
              - created_at
              - last_activity
            description: >-
              Sort order and visibility scope.


              - `created_at` (default) — only tasks created by the caller,
              ordered by creation time.

              - `last_activity` — every task the caller's user can see in Manus
              (own, shared with them, and colleagues' tasks in full-access
              Projects), newest activity first. Only `order=desc` is supported,
              and `agent_subtask` scope, `oauth_client_id`, `api_key_id` and
              `include_deleted` are not supported. Not available to OAuth
              clients, including Trusted clients (`permission_denied`).


              A `cursor` is only valid with the same `sort`, filters and `scope`
              that produced it.
        - name: owner_ids
          in: query
          schema:
            type: array
            items:
              type: string
            maxItems: 100
            description: >-
              Only tasks started by these user IDs (the `owner.id` of a task).
              Requires `sort=last_activity`.
          explode: true
        - name: owned_only
          in: query
          schema:
            type: boolean
            description: >-
              `true` returns only tasks started by the caller's user. Cannot be
              combined with `keyword`. Requires `sort=last_activity`.
        - name: participant_id
          in: query
          schema:
            type: string
            description: Only tasks this user takes part in. Requires `sort=last_activity`.
        - name: keyword
          in: query
          schema:
            type: string
            description: >-
              Search task titles and content, like the search box in Manus; with
              `scope=project`, only titles are searched. Cannot be combined with
              `owned_only`. Without `scope=project` this is a global search that
              only combines with `is_archived`; adding `owner_ids`,
              `participant_id`, `status`, `is_favorite`, `is_shared` or
              `scope=standard` returns an invalid-argument error. Requires
              `sort=last_activity`.
        - name: status
          in: query
          schema:
            type: array
            items:
              type: string
              enum:
                - waiting
                - running
                - stopped
                - error
            description: >-
              Only tasks in these states. `waiting` also includes tasks that
              were just created. Requires `sort=last_activity`.
          explode: true
        - name: is_favorite
          in: query
          schema:
            type: boolean
            description: >-
              `true` returns only the caller's favorite tasks. Requires
              `sort=last_activity`.
        - name: is_shared
          in: query
          schema:
            type: boolean
            description: '`true` returns only shared tasks. Requires `sort=last_activity`.'
      responses:
        '200':
          description: Tasks retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    example: true
                    description: Whether the request was successful.
                  request_id:
                    type: string
                    description: Unique identifier for this API request.
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Task'
                    description: Array of task objects matching the filter criteria.
                  has_more:
                    type: boolean
                    description: >-
                      Whether there are more tasks beyond this page. If true,
                      use next_cursor to fetch the next page.
                  next_cursor:
                    type: string
                    description: >-
                      Cursor to pass as the cursor parameter for the next page.
                      Only present when has_more is true.
        4XX:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security: []
components:
  schemas:
    Task:
      type: object
      description: Represents a task with its current status and metadata.
      properties:
        id:
          type: string
          description: Unique identifier for the task.
        status:
          type: string
          enum:
            - running
            - stopped
            - waiting
            - error
            - deleted
          description: >-
            Current main-agent status.


            - `running` — the agent is working.

            - `stopped` — the main agent stopped. Read the results;
            `has_running_background_jobs` tells you whether background work may
            wake the task again.

            - `waiting` — the agent needs user input or a confirmation.

            - `error` — the task hit an unrecoverable error.

            - `deleted` — the task was deleted. Only returned by
            [task.list](https://open.manus.ai/docs/v2/task.list) with
            `include_deleted=true`.
        created_at:
          type: integer
          format: int64
          description: Unix timestamp (seconds) when the task was created.
        updated_at:
          type: integer
          format: int64
          description: Unix timestamp (seconds) when the task was last updated.
        task_type:
          type: string
          enum:
            - standard
            - project
            - agent_subtask
          description: >-
            Type of the task. "standard" — a regular standalone task. "project"
            — a task within a project. "agent_subtask" — a subtask created by an
            agent. Use [task.list](https://open.manus.ai/docs/v2/task.list) with
            `scope` to filter by task type.
        share_visibility:
          type: string
          enum:
            - private
            - team
            - public
          description: >-
            Who can view the task. "private" — only the task creator. "team" —
            all team members. "public" — anyone with the share link. Empty for
            deleted tasks.
        title:
          type: string
          description: Title of the task. Empty for deleted tasks.
        credit_usage:
          type: integer
          format: int32
          description: >-
            Total credits consumed by the task. Only present when the task has
            consumed credits. Omitted for tasks the caller did not create (see
            `owner`).
        task_url:
          type: string
          description: >-
            URL to view the task in the Manus webapp (e.g.,
            https://manus.im/app/{task_id}).
        created_by_api_key:
          type: object
          nullable: true
          description: >-
            The API key that created this task. Present when the task was
            created via the API; null or absent when created through the UI or
            other means. Also omitted for tasks the caller did not create (see
            `owner`). The name reflects the API key's current name, not a
            snapshot from creation time.
          properties:
            id:
              type: string
              description: The API key ID.
            name:
              type: string
              description: The current display name of the API key.
        agent_profile:
          type: string
          description: >-
            Agent profile most recently used by the task — reflects the latest
            turn (e.g. a
            [task.sendMessage](https://open.manus.ai/docs/v2/task.sendMessage)
            override), not just the value supplied at task creation. For tasks
            created through the API, the value you most recently specified in
            [task.create](https://open.manus.ai/docs/v2/task.create) or
            task.sendMessage is returned exactly as you sent it, including
            versioned aliases such as `2.0-max` or `manus-1.6-lite`; if
            task.create did not specify one, it is treated as if you sent
            `standard`. When the profile in effect differs from the value you
            sent (for example a free personal account downgraded to `lite`, a
            plain `max` override that kept the task's existing thinking level,
            or a change made in the Manus web app), the profile in effect is
            returned instead: in the `manus-1.6` style (`manus-1.6`,
            `manus-1.6-lite`, or `manus-1.6-max`) if you sent a 1.x value such
            as `manus-1.6-max`, otherwise as the stable name `standard`, `lite`,
            or `max`. Tasks with no recorded value also use the `manus-1.6`
            style: tasks created outside the API, such as in the Manus web app,
            even after a task.sendMessage override; and tasks created through
            the v2 API before this behavior was introduced, until a later
            task.sendMessage specifies a profile. When a Max task has a thinking
            level selected, it is appended, for example `max-ultra` or
            `manus-1.6-max-ultra`. To check the tier, ignore any version prefix
            (treat `2.0-max-ultra` and `manus-1.6-max-ultra` as `max-ultra`; a
            version alone, such as `1.6` or `manus-1.6`, means `standard`), and
            tolerate new values. Omitted when this information is not available
            (e.g. older tasks).
        has_running_background_jobs:
          type: boolean
          description: >-
            Whether background work is still running after the main agent
            stopped. When `true`, a background process may wake the task again
            later, add messages, and change the results; keep polling if you
            want them. Older tasks do not report this field.
        is_archived:
          type: boolean
          description: >-
            Whether the task is archived. Change it with
            [task.update](https://open.manus.ai/docs/v2/task.update). Not
            present on deleted tasks.
        is_unread:
          type: boolean
          description: >-
            Whether the task has new results that you have not seen yet. Matches
            the unread dot in the Manus app task list: it becomes `false` once
            you open the task in the Manus app, and `true` again when new
            results arrive or when you mark the task as unread in the app. It
            reflects only your own read state. `false` when you have no read
            history for the task. Not present on deleted tasks. Reading a task
            through the API, such as `task.detail`, `task.list`, or
            `task.listMessages`, does not change this value, and the API cannot
            currently mark a task as read or unread. Do not derive this from
            `updated_at`, which also changes on edits that do not produce new
            results.
        deleted_at:
          type: integer
          format: int64
          description: >-
            Unix timestamp (seconds) when the task was deleted. Only present on
            deleted tasks returned by
            [task.list](https://open.manus.ai/docs/v2/task.list) with
            `include_deleted=true`.
        owner:
          type: object
          description: The user who started the task. Not returned for deleted tasks.
          properties:
            id:
              type: string
              description: The owner's user ID. Use it as `owner_ids` in task.list.
            name:
              type: string
              description: >-
                The owner's display name. May be empty if it could not be
                resolved.
        project_id:
          type: string
          description: >-
            The Project the task belongs to. Omitted when the task is not in a
            Project.
        last_activity_at:
          type: integer
          format: int64
          description: >-
            Unix timestamp (seconds) of the task's latest activity; the ordering
            key of `sort=last_activity`.
    ErrorResponse:
      type: object
      description: Standard error response format returned when a request fails.
      properties:
        ok:
          type: boolean
          example: false
          description: Always false for error responses.
        request_id:
          type: string
          description: >-
            Unique identifier for this API request, useful for debugging with
            support.
        error:
          type: object
          description: Error details.
          properties:
            code:
              type: string
              description: >-
                Machine-readable error code (e.g., "invalid_argument",
                "not_found", "permission_denied", "rate_limited").
            message:
              type: string
              description: Human-readable error description explaining what went wrong.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-manus-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.