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



## OpenAPI

````yaml /api-reference/openapi.json patch /v1/registries/{registry_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/registries/{registry_id}:
    patch:
      tags:
        - v1
        - protected
        - registries
      summary: Update Registry
      operationId: update_registry_v1_registries__registry_id__patch
      parameters:
        - in: path
          name: registry_id
          required: true
          schema:
            format: uuid
            title: Registry Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegistryUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    RegistryUpdate:
      properties:
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        is_active:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Active
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        source_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Url
        sync_mode:
          anyOf:
            - type: string
            - type: 'null'
          title: Sync Mode
      title: RegistryUpdate
      type: object
    RegistryResponse:
      properties:
        created_at:
          title: Created At
          type: string
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        id:
          format: uuid
          title: Id
          type: string
        is_active:
          title: Is Active
          type: boolean
        item_count:
          title: Item Count
          type: integer
        last_sync_error:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Sync Error
        last_synced_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Synced At
        name:
          title: Name
          type: string
        registry_type:
          title: Registry Type
          type: string
        source_type:
          title: Source Type
          type: string
        source_url:
          title: Source Url
          type: string
        sync_mode:
          title: Sync Mode
          type: string
        updated_at:
          title: Updated At
          type: string
      required:
        - id
        - name
        - description
        - registry_type
        - source_type
        - source_url
        - sync_mode
        - is_active
        - last_synced_at
        - last_sync_error
        - item_count
        - created_at
        - updated_at
      title: RegistryResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      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

````