openapi: "3.1.0"
info:
  title: "AI Electronics - Revolutionary PCB Repair Solutions — Bilarna Provider API"
  version: "1.0.0"
  description: |
    Machine-readable API for interacting with AI Electronics - Revolutionary PCB Repair Solutions on the Bilarna B2B network.
    AI Electronics leverages advanced AI technology to diagnose, repair, and improve the reliability of PCBs across industries, saving time, reducing costs, and driving efficiency.
    Services offered: 3D Asset Creation, 3D Modeling Services, AI API & Integration, AI Art Generation, AI Chatbot Services, AI Chatbot Solutions, AI Content Enhancement Services, AI Data Query & Insights, AI Design Software, AI Design Support & Automation, AI Digital Asset Generation, AI Fitness Coaching, AI Manufacturing Optimization, AI Personal Assistant, AI Relationship & Communication Tools, AI Scheduling Assistants, AI SDK Solutions, AI Software Development, AI-Generated Content Services, AI-Generated Learning Materials, AI-Powered LinkedIn Posts, AI-Powered Personal Training, AI-Powered Resume Builder, AI-Powered Website Analysis, Architectural Design Services, Calendar Management Services, Career Advancement Services, Chemical & Microbiological Testing, Chemist/Microbiologist Platform, Cloud Services and Hosting, Coding Courses, Comedy Content Creation Services, Confidence Building Services, Content & Marketing Services, Content Generation Services, Content Marketing and Creation, Content Strategy and Enhancement, Conversion Analysis Services, Custom Chatbot Solutions, Database Analysis Tools, Date Idea Generator, Digital Asset Storage & Sharing, Digital Content & Media, Digital Illustration Services, DIY Home Projects, E-Learning Platforms, Eco-Friendly Waste Solutions, Educational Content & Courses, Educational Courses for Business, Email Automation Solutions, Email Campaign Management, Email Filtering & Organization, Email Notification Management, Event Planning Services, Expert Career Coaching, Feedback Analyzer Tool, Health & Relaxation Products, Health Insurance Planning, Healthcare Cost Management Software, Home Improvement Services, Image Content Organization, Image Recognition & Insights, Interview Coaching & Training, Interview Preparation Services, Itinerary & Trip Planning, Knowledge Visualization Solutions, Learning Management Tools, Mental Health Support Services, Mock Interview Platform, Motivational Quotes Services, Multilingual Course Creation, Offline Messaging & Data Sharing, Offline P2P Network Solutions, Online Dating & Flirting Services, Online Fitness & Training Platforms, Online Professional Communities, Online Shopping Solutions, Online Tools & Resources, PCB Repair Solutions, PDF & Text Comparison, Personal Fitness & Wellness, Personalized Meditation Services, Personalized Meditation Sessions, Photo Analysis & Personal Assessment, Photo Management Solutions, Photo Organizer Service, Plastic Recycling Assistance, Professional Pickup Lines, Professional Resume & Cover Letter Services, Professional Resume Writing Service, Professional SEO Services, Profile Optimization & Branding, Resume and Cover Letter Enhancement, Review Summarizer AI, Salary Negotiation Services, Search Engine Optimization, Search Technology Services, Secure PDF Storage Solutions, SEO and AEO Optimization, SEO and Content Optimization, SEO Optimization Services, SEO Services, Sightseeing and Activities, Software Development Services, Stress Reduction Techniques, Task & Schedule Management, Twitter Bio Creation, UI Design & Automation Services, User Interface Design, Website Audit Services, Website Creation & Optimization, Website Design & Development, Website Design and Development, Whiteboard to Polls, Workplace Meditation & Stress Management.
  contact:
    name: "AI Electronics - Revolutionary PCB Repair Solutions"
    url: "https://bilarna.com/provider/vercel"
  x-provider:
    slug: "vercel"
    verified: true
    accepts_meetings: false
    logo: "https://airbnbreviewsummarizer.vercel.app/favicon.ico"


servers:
  - url: "https://api.bilarna.com/api"
    description: Bilarna API

paths:
  /agent/match:
    post:
      operationId: bilarna_match
      summary: Find matching providers by service need
      description: |
        Returns a ranked list of providers (business_id, score, description).
        Use the returned business_id with /agent/request to submit a
        service request to AI Electronics - Revolutionary PCB Repair Solutions (business_id from match results).
      parameters:
        - name: api-version
          in: query
          required: true
          schema:
            type: string
            default: "1.0"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: [need]
              properties:
                need:
                  type: string
                  description: Free-text service description
                  example: "3D Asset Creation"
      responses:
        "200":
          description: Matched providers
          content:
            application/json:
              schema:
                type: object
                properties:
                  matchRequestId:
                    type: integer
                  candidates:
                    type: array
                    items:
                      type: object
                      properties:
                        business_id:
                          type: integer
                        score:
                          type: number
                        description:
                          type: string

  /agent/request:
    post:
      operationId: bilarna_request
      summary: Submit a service request to a provider
      description: |
        Sends a service request. When business_id is provided the request
        goes directly to that provider; otherwise Bilarna matches the
        request to relevant providers automatically.
      parameters:
        - name: api-version
          in: query
          required: true
          schema:
            type: string
            default: "1.0"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: [need, contact_name, email]
              properties:
                business_id:
                  type: integer
                  description: Target provider ID (from bilarna_match)
                  nullable: true
                need:
                  type: string
                  description: Free-text description of the service need
                contact_name:
                  type: string
                  description: Full name of the decision-maker
                email:
                  type: string
                  format: email
                  description: Business email for lead routing
                phone:
                  type: string
                  description: Business phone number (optional)
                category:
                  type: string
                  description: Service category
                country:
                  type: string
                  description: Provider country preference
                budget_max:
                  type: number
                  description: Maximum project budget in USD
      responses:
        "200":
          description: Request created
          content:
            application/json:
              schema:
                type: object
                properties:
                  matchRequestId:
                    type: integer
                  business_id:
                    type: integer
                  lead:
                    type: object
                    properties:
                      contactName:
                        type: string
                      email:
                        type: string
                      phone:
                        type: string
