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

> Updates an agent's nickname and description. Use [agent.detail](https://open.manus.ai/docs/v2/agent.detail) to view current values before updating.

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


## OpenAPI

````yaml POST /v2/agent.update
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.update:
    post:
      summary: UpdateAgent
      description: >-
        Updates an agent's nickname and description. Use
        [agent.detail](https://open.manus.ai/docs/v2/agent.detail) to view
        current values before updating.
      operationId: openapi.v2.OpenapiV2Service.UpdateAgent
      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).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                agent_id:
                  type: string
                  description: The unique identifier of the agent to update.
                nickname:
                  type: string
                  description: New display name for the agent.
                about:
                  type: string
                  description: New description or bio for the agent.
              required:
                - agent_id
      responses:
        '200':
          description: Agent updated 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.
                  agent:
                    $ref: '#/components/schemas/Agent'
                    description: The updated agent object.
        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

````