openapi: 3.0.0
info:
  title: "VIVACITY Agent Data API"
  version: 1.0.0
  description: "VIVACITY structured data API for AI agents. Use /discover for natural-language queries or /search for keyword lookup."
servers:
  -
    url: https://vivacity.ro/agent-data/api/v1
paths:
  /endpoints:
    get:
      summary: "List active endpoints"
      responses:
        200:
          description: "List of endpoints"
  /discover:
    get:
      summary: "Smart discovery"
      parameters:
        -
          name: query
          in: query
          schema:
            type: string
      responses:
        200:
          description: "Discovery results"
  /search:
    get:
      summary: "Keyword search"
      parameters:
        -
          name: q
          in: query
          required: true
          schema:
            type: string
        -
          name: endpoint
          in: query
          schema:
            type: string
      responses:
        200:
          description: "Search results"
  /apartament:
    get:
      summary: "Get all apartament"
      description: "Retrieve all entries for apartament"
      responses:
        200:
          description: "List of entries"
          content:
            application/json:
              schema:
                type: object
                properties:
                  endpoint:
                    type: string
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      type: object
                      properties:
  /compania:
    get:
      summary: "Get all compania"
      description: "Retrieve all entries for compania"
      responses:
        200:
          description: "List of entries"
          content:
            application/json:
              schema:
                type: object
                properties:
                  endpoint:
                    type: string
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      type: object
                      properties:
  /customer-support-vivacity:
    get:
      summary: "Get all Customer Support VIVACITY"
      description: "Retrieve all entries for Customer Support VIVACITY"
      responses:
        200:
          description: "List of entries"
          content:
            application/json:
              schema:
                type: object
                properties:
                  endpoint:
                    type: string
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      type: object
                      properties:
  /filosofia-vivacity:
    get:
      summary: "Get all Filosofia VIVACITY"
      description: "Retrieve all entries for Filosofia VIVACITY"
      responses:
        200:
          description: "List of entries"
          content:
            application/json:
              schema:
                type: object
                properties:
                  endpoint:
                    type: string
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      type: object
                      properties:
  /portofoliu:
    get:
      summary: "Get all portofoliu"
      description: "Retrieve all entries for portofoliu"
      responses:
        200:
          description: "List of entries"
          content:
            application/json:
              schema:
                type: object
                properties:
                  endpoint:
                    type: string
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      type: object
                      properties:
