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

# agent.list

> Lists all custom agents in your account. Use the returned IDs in [task.list](https://open.manus.ai/docs/v2/task.list) with `scope=agent_subtask` to view subtasks, or in [agent.detail](https://open.manus.ai/docs/v2/agent.detail) for full details. See the [Agents](https://open.manus.ai/docs/v2/agents-overview) guide.

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

<Tip>
  **Auth:** API Key only — not available with OAuth tokens.
</Tip>

<Tip>
  **Talk to an agent:** Use [task.sendMessage](https://open.manus.ai/docs/v2/task.sendMessage) with the agent's `task_id` to send messages to an agent's main task. See the [Agents](https://open.manus.ai/docs/v2/agents-overview) guide.
</Tip>


## OpenAPI

````yaml GET /v2/agent.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/agent.list:
    get:
      summary: ListAgents
      description: >-
        Lists all custom agents in your account. Use the returned IDs in
        [task.list](https://open.manus.ai/docs/v2/task.list) with
        `scope=agent_subtask` to view subtasks, or in
        [agent.detail](https://open.manus.ai/docs/v2/agent.detail) for full
        details. See the [Agents](https://open.manus.ai/docs/v2/agents-overview)
        guide.
      operationId: openapi.v2.OpenapiV2Service.ListAgents
      parameters:
        - name: x-manus-api-key
          in: header
          required: true
          schema:
            type: string
          description: >-
            API key for authentication. This endpoint does not support OAuth2
            tokens. See
            [Authentication](https://open.manus.ai/docs/v2/authentication).
      responses:
        '200':
          description: Agents 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/Agent'
                    description: Array of agent objects.
        4XX:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security: []
components:
  schemas:
    Agent:
      type: object
      description: >-
        A custom agent with its own identity (nickname and description) that can
        be customized for specific use cases. See the
        [Agents](https://open.manus.ai/docs/v2/agents-overview) guide.
      properties:
        id:
          type: string
          description: >-
            Unique identifier for the agent. Use this as `agent_id` in
            [task.list](https://open.manus.ai/docs/v2/task.list) (with
            `scope=agent_subtask`) to view this agent's subtasks.
        task_id:
          type: string
          description: >-
            The task ID associated with this agent's creation or configuration.
            Use [task.detail](https://open.manus.ai/docs/v2/task.detail) to view
            the associated task.
        nickname:
          type: string
          description: >-
            Display name of the agent. Can be updated via
            [agent.update](https://open.manus.ai/docs/v2/agent.update).
        about:
          type: string
          description: >-
            Description or bio of the agent explaining its purpose and
            specialization. Can be updated via
            [agent.update](https://open.manus.ai/docs/v2/agent.update).
    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

````