> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eden.art/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Agent

> Update the configuration, settings, or properties of an existing agent.



## OpenAPI

````yaml openapi.json patch /v2/agents/{agentId}
openapi: 3.0.0
info:
  title: '@fastify/swagger'
  description: API for Eden.art platform
  version: 8.14.0
servers:
  - url: https://api.eden.art
    description: Production server
  - url: https://api-staging.eden.art
    description: Staging server
  - url: http://localhost:8080
    description: Development server
security: []
tags:
  - name: Agent Creation
    description: Operations related to agent creation
  - name: Agents
    description: Operations related to agents
  - name: Agents - Deployments
    description: Operations related to agents - deployments
  - name: Agents - Memory
    description: Operations related to agents - memory
  - name: Agents - Triggers
    description: Operations related to agents - triggers
  - name: API Keys
    description: Operations related to api keys
  - name: Collections
    description: Operations related to collections
  - name: Concepts V2
    description: Operations related to concepts v2
  - name: Creations
    description: Operations related to creations
  - name: Creators
    description: Operations related to creators
  - name: Manna
    description: Operations related to manna
  - name: Models
    description: Operations related to models
  - name: Sessions
    description: Operations related to sessions
  - name: Sessions - Permissions
    description: Operations related to sessions - permissions
  - name: Tasks
    description: Operations related to tasks
  - name: Tools
    description: Operations related to tools
paths:
  /v2/agents/{agentId}:
    patch:
      tags:
        - Agents
      summary: Update Agent
      description: Update the configuration, settings, or properties of an existing agent.
      parameters:
        - required: true
          in: path
          name: agentId
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                key:
                  type: string
                description:
                  type: string
                image:
                  type: string
                public:
                  type: boolean
                models:
                  type: array
                  items:
                    type: object
                    properties:
                      lora:
                        type: string
                      use_when:
                        type: string
                    required:
                      - lora
                persona:
                  type: string
                isPersonaPublic:
                  type: boolean
                greeting:
                  type: string
                knowledge:
                  type: string
                voice:
                  type: string
                suggestions:
                  type: array
                  items:
                    type: object
                    properties:
                      label:
                        type: string
                      prompt:
                        type: string
                    required:
                      - label
                      - prompt
                owner_pays:
                  anyOf:
                    - type: string
                      enum:
                        - 'off'
                    - type: string
                      enum:
                        - deployments
                    - type: string
                      enum:
                        - full
                    - type: boolean
                tools:
                  type: object
                  additionalProperties:
                    type: string
                llm_settings:
                  type: object
                  properties:
                    model_profile:
                      anyOf:
                        - type: string
                          enum:
                            - low
                        - type: string
                          enum:
                            - medium
                        - type: string
                          enum:
                            - high
                    thinking_policy:
                      anyOf:
                        - type: string
                          enum:
                            - auto
                        - type: string
                          enum:
                            - 'off'
                        - type: string
                          enum:
                            - always
                    thinking_effort_cap:
                      anyOf:
                        - type: string
                          enum:
                            - low
                        - type: string
                          enum:
                            - medium
                        - type: string
                          enum:
                            - high
                    thinking_effort_instructions:
                      type: string
      responses:
        '200':
          description: Default Response
          content:
            '*/*':
              schema:
                type: object
                properties:
                  agentId:
                    type: string
                required:
                  - agentId
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: X-Api-Key
      in: header

````