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

# Create Registry



## OpenAPI

````yaml /api-reference/openapi.json post /v1/registries/
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/:
    post:
      tags:
        - v1
        - protected
        - registries
      summary: Create Registry
      operationId: create_registry_v1_registries__post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegistryCreate'
        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:
    RegistryCreate:
      properties:
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        name:
          description: Human-readable registry name
          title: Name
          type: string
        registry_type:
          description: 'Entity type: ''mcp_servers'' or ''skills'''
          title: Registry Type
          type: string
        source_type:
          description: 'Fetch method: ''url'', ''github'', or ''api'''
          title: Source Type
          type: string
        source_url:
          description: URL to the registry source (JSON or YAML)
          title: Source Url
          type: string
        sync_mode:
          default: manual
          description: '''auto'' or ''manual'''
          title: Sync Mode
          type: string
      required:
        - name
        - registry_type
        - source_type
        - source_url
      title: RegistryCreate
      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

````