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

# Update Client



## OpenAPI

````yaml /api-reference/openapi.json patch /v1/clients/{client_id}
openapi: 3.1.0
info:
  description: >-
    Modular and extensible framework for building AI agents. This API requires
    JWT Bearer token authentication for most endpoints. Include your JWT token
    in the Authorization header. Public endpoints include /, /health, /docs,
    /redoc, and /openapi.json.
  title: AgentArea API
  version: 0.1.0
servers: []
security:
  - bearer: []
paths:
  /v1/clients/{client_id}:
    patch:
      tags:
        - v1
        - protected
        - clients
      summary: Update Client
      operationId: update_client_v1_clients__client_id__patch
      parameters:
        - in: path
          name: client_id
          required: true
          schema:
            format: uuid
            title: Client Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    ClientUpdate:
      additionalProperties: false
      description: Patch payload for a client. Unset fields remain unchanged.
      properties:
        description:
          anyOf:
            - maxLength: 1000
              type: string
            - type: 'null'
          title: Description
        kind:
          anyOf:
            - maxLength: 32
              type: string
            - type: 'null'
          title: Kind
        name:
          anyOf:
            - maxLength: 255
              minLength: 1
              type: string
            - type: 'null'
          title: Name
        source_project_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Project Id
      title: ClientUpdate
      type: object
    ClientResponse:
      properties:
        created_by:
          title: Created By
          type: string
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        id:
          format: uuid
          title: Id
          type: string
        kind:
          title: Kind
          type: string
        mcp_endpoint_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Mcp Endpoint Url
        mcp_instances:
          default: []
          items:
            $ref: '#/components/schemas/ClientRef'
          title: Mcp Instances
          type: array
        name:
          title: Name
          type: string
        skills:
          default: []
          items:
            $ref: '#/components/schemas/ClientRef'
          title: Skills
          type: array
        source_project_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Project Id
        workspace_id:
          title: Workspace Id
          type: string
      required:
        - id
        - workspace_id
        - created_by
        - name
        - description
        - kind
        - source_project_id
      title: ClientResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ClientRef:
      properties:
        id:
          format: uuid
          title: Id
          type: string
        name:
          title: Name
          type: string
      required:
        - id
        - name
      title: ClientRef
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    bearer:
      bearerFormat: JWT
      description: JWT Bearer token for authentication
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````