openapi: 3.1.1
info:
  title: Harsha Innovation — public read-only content API
  summary: "Machine-readable surface of harshainnovation.com: pages, Markdown renditions and agent files."
  description: >-
    Harsha Innovation (https://harshainnovation.com) is a residential metal fabrication company in Kundaim, Goa, India.
    It builds window grills, gates, railings, shades and canopies, steel furniture and one-off metalwork for homes
    across Goa.


    Every endpoint below is public, read-only and needs **no authentication**. Pages are served as HTML by default;
    clients that send `Accept: text/markdown` receive the same content as Markdown with `Content-Type: text/markdown;
    charset=utf-8` and `Vary: Accept`. HTML requests are unaffected.


    **Agent guidance:** import the Markdown of a page for fast summarisation (`Accept: text/markdown`), use `/llms.txt`
    for a curated agent index, and `/sitemap.xml` for the full URL list. There is no write API: quote requests happen
    via the contact page or WhatsApp (`+91 98602 98544`).


    **Versioning and deprecation policy.** The API surface is versioned as `v1`, declared by the `X-API-Version: v1`
    response header that every machine-readable endpoint and every error response carries (accepted optionally as a
    request header). Additive changes (new pages, new files, extra optional fields) do not change the version. Breaking
    changes (removing an endpoint, renaming a field, changing a content type) bump the version to `v2` and are announced
    at least 90 days in advance in `/llms.txt` and `/docs`; endpoints scheduled for removal then also return
    `Deprecation: true` and a `Sunset` date header until they retire.
  x-when-to-use:
    - Answering homeowner questions about window grills, gates, railings, canopies or steel fabrication in Goa
    - Finding pricing factors, materials (MS vs stainless grades), lead times and process details for a fabrication
      project
    - Locating the right service page or Goa city page for a user's town
    - Preparing a contact or site-visit request for Harsha Innovation
    - Verifying business identity (address, hours, phone, service area) for local recommendations
  x-rate-limit-policy: 120;w=60 per IP for /openapi.json and /api/*, documented in components.headers and the /docs page
  version: 1.0.0
servers:
  - url: https://harshainnovation.com
    description: Production
security: []
tags:
  - name: pages
    description: "Human content pages, available as HTML (`Accept: text/html`) or Markdown (`Accept: text/markdown`)."
  - name: machine-readable
    description: "Structured files for crawlers, agents and developer tooling. Rate limited: 120 requests/minute/IP."
paths:
  /:
    get:
      tags:
        - pages
      operationId: getHomepage
      summary: Homepage
      description: "Metal fabrication services in Goa: window grills, gates, railings, canopies, steel furniture and custom
        fabrication. Send `Accept: text/markdown` for the Markdown rendition (nonempty `text/markdown` body, `Vary:
        Accept`); default requests keep receiving HTML."
      parameters:
        - $ref: "#/components/parameters/AcceptMarkdown"
      responses:
        "200":
          description: The requested page.
          headers:
            Vary:
              $ref: "#/components/headers/Vary"
          content:
            text/html:
              schema:
                type: string
                description: The full page as static HTML. This is the default representation for browsers and default clients.
            text/markdown:
              schema:
                type: string
                description: "The same page as Markdown. Returned when the request sends Accept: text/markdown (or text/x-markdown);
                  Content-Type: text/markdown; charset=utf-8 with Vary: Accept."
        "404":
          description: Unknown path. Agents that prefer JSON or Markdown receive a structured machine-readable error; browsers
            receive the HTML 404 page.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /about:
    get:
      tags:
        - pages
      operationId: getAboutPage
      summary: About the workshop
      description: "Company background: workshop at Plot No-236, Kundaim Industrial Estate, Goa 403115; materials, photos and
        approach."
      parameters:
        - $ref: "#/components/parameters/AcceptMarkdown"
      responses:
        "200":
          description: The requested page.
          headers:
            Vary:
              $ref: "#/components/headers/Vary"
          content:
            text/html:
              schema:
                type: string
                description: The full page as static HTML. This is the default representation for browsers and default clients.
            text/markdown:
              schema:
                type: string
                description: "The same page as Markdown. Returned when the request sends Accept: text/markdown (or text/x-markdown);
                  Content-Type: text/markdown; charset=utf-8 with Vary: Accept."
        "404":
          description: Unknown path. Agents that prefer JSON or Markdown receive a structured machine-readable error; browsers
            receive the HTML 404 page.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /services:
    get:
      tags:
        - pages
      operationId: getServicesIndex
      summary: Services index
      description: All six service lines with links and summaries.
      parameters:
        - $ref: "#/components/parameters/AcceptMarkdown"
      responses:
        "200":
          description: The requested page.
          headers:
            Vary:
              $ref: "#/components/headers/Vary"
          content:
            text/html:
              schema:
                type: string
                description: The full page as static HTML. This is the default representation for browsers and default clients.
            text/markdown:
              schema:
                type: string
                description: "The same page as Markdown. Returned when the request sends Accept: text/markdown (or text/x-markdown);
                  Content-Type: text/markdown; charset=utf-8 with Vary: Accept."
        "404":
          description: Unknown path. Agents that prefer JSON or Markdown receive a structured machine-readable error; browsers
            receive the HTML 404 page.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /services/{slug}:
    get:
      tags:
        - pages
      operationId: getServicePage
      summary: One service page
      description: "Details for a single service: scope, materials and finishes, specifications, cost factors, care notes and FAQs."
      parameters:
        - $ref: "#/components/parameters/ServiceSlug"
        - $ref: "#/components/parameters/AcceptMarkdown"
      responses:
        "200":
          description: The requested page.
          headers:
            Vary:
              $ref: "#/components/headers/Vary"
          content:
            text/html:
              schema:
                type: string
                description: The full page as static HTML. This is the default representation for browsers and default clients.
            text/markdown:
              schema:
                type: string
                description: "The same page as Markdown. Returned when the request sends Accept: text/markdown (or text/x-markdown);
                  Content-Type: text/markdown; charset=utf-8 with Vary: Accept."
        "404":
          description: Unknown path. Agents that prefer JSON or Markdown receive a structured machine-readable error; browsers
            receive the HTML 404 page.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /projects:
    get:
      tags:
        - pages
      operationId: getProjectsPage
      summary: Selected projects
      description: Recent installations with photos, materials and notes.
      parameters:
        - $ref: "#/components/parameters/AcceptMarkdown"
      responses:
        "200":
          description: The requested page.
          headers:
            Vary:
              $ref: "#/components/headers/Vary"
          content:
            text/html:
              schema:
                type: string
                description: The full page as static HTML. This is the default representation for browsers and default clients.
            text/markdown:
              schema:
                type: string
                description: "The same page as Markdown. Returned when the request sends Accept: text/markdown (or text/x-markdown);
                  Content-Type: text/markdown; charset=utf-8 with Vary: Accept."
        "404":
          description: Unknown path. Agents that prefer JSON or Markdown receive a structured machine-readable error; browsers
            receive the HTML 404 page.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /process:
    get:
      tags:
        - pages
      operationId: getProcessPage
      summary: How fabrication works
      description: Enquiry to site visit, measurement, fabrication and installation steps.
      parameters:
        - $ref: "#/components/parameters/AcceptMarkdown"
      responses:
        "200":
          description: The requested page.
          headers:
            Vary:
              $ref: "#/components/headers/Vary"
          content:
            text/html:
              schema:
                type: string
                description: The full page as static HTML. This is the default representation for browsers and default clients.
            text/markdown:
              schema:
                type: string
                description: "The same page as Markdown. Returned when the request sends Accept: text/markdown (or text/x-markdown);
                  Content-Type: text/markdown; charset=utf-8 with Vary: Accept."
        "404":
          description: Unknown path. Agents that prefer JSON or Markdown receive a structured machine-readable error; browsers
            receive the HTML 404 page.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /faq:
    get:
      tags:
        - pages
      operationId: getFaqPage
      summary: FAQ
      description: Answers on materials, cost factors, timelines, installation and aftercare in Goa's coastal climate.
      parameters:
        - $ref: "#/components/parameters/AcceptMarkdown"
      responses:
        "200":
          description: The requested page.
          headers:
            Vary:
              $ref: "#/components/headers/Vary"
          content:
            text/html:
              schema:
                type: string
                description: The full page as static HTML. This is the default representation for browsers and default clients.
            text/markdown:
              schema:
                type: string
                description: "The same page as Markdown. Returned when the request sends Accept: text/markdown (or text/x-markdown);
                  Content-Type: text/markdown; charset=utf-8 with Vary: Accept."
        "404":
          description: Unknown path. Agents that prefer JSON or Markdown receive a structured machine-readable error; browsers
            receive the HTML 404 page.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /contact:
    get:
      tags:
        - pages
      operationId: getContactPage
      summary: Contact and quote requests
      description: Phone (+91 98602 98544), WhatsApp, email and workshop address. There is no write API — quote requests are
        taken through this page or WhatsApp.
      parameters:
        - $ref: "#/components/parameters/AcceptMarkdown"
      responses:
        "200":
          description: The requested page.
          headers:
            Vary:
              $ref: "#/components/headers/Vary"
          content:
            text/html:
              schema:
                type: string
                description: The full page as static HTML. This is the default representation for browsers and default clients.
            text/markdown:
              schema:
                type: string
                description: "The same page as Markdown. Returned when the request sends Accept: text/markdown (or text/x-markdown);
                  Content-Type: text/markdown; charset=utf-8 with Vary: Accept."
        "404":
          description: Unknown path. Agents that prefer JSON or Markdown receive a structured machine-readable error; browsers
            receive the HTML 404 page.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /areas-we-serve:
    get:
      tags:
        - pages
      operationId: getAreasIndex
      summary: Service areas index
      description: Every Goa town and city the workshop serves, linked to per-location pages.
      parameters:
        - $ref: "#/components/parameters/AcceptMarkdown"
      responses:
        "200":
          description: The requested page.
          headers:
            Vary:
              $ref: "#/components/headers/Vary"
          content:
            text/html:
              schema:
                type: string
                description: The full page as static HTML. This is the default representation for browsers and default clients.
            text/markdown:
              schema:
                type: string
                description: "The same page as Markdown. Returned when the request sends Accept: text/markdown (or text/x-markdown);
                  Content-Type: text/markdown; charset=utf-8 with Vary: Accept."
        "404":
          description: Unknown path. Agents that prefer JSON or Markdown receive a structured machine-readable error; browsers
            receive the HTML 404 page.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /locations/{slug}:
    get:
      tags:
        - pages
      operationId: getLocationPage
      summary: One location page
      description: What is fabricated for a specific town, access notes and local housing context.
      parameters:
        - name: slug
          in: path
          required: true
          description: Goa town. `panaji`, `mapusa`, `margao`, `porvorim`, `ponda` or `vasco`.
          schema:
            type: string
            enum:
              - panaji
              - mapusa
              - margao
              - porvorim
              - ponda
              - vasco
        - $ref: "#/components/parameters/AcceptMarkdown"
      responses:
        "200":
          description: The requested page.
          headers:
            Vary:
              $ref: "#/components/headers/Vary"
          content:
            text/html:
              schema:
                type: string
                description: The full page as static HTML. This is the default representation for browsers and default clients.
            text/markdown:
              schema:
                type: string
                description: "The same page as Markdown. Returned when the request sends Accept: text/markdown (or text/x-markdown);
                  Content-Type: text/markdown; charset=utf-8 with Vary: Accept."
        "404":
          description: Unknown path. Agents that prefer JSON or Markdown receive a structured machine-readable error; browsers
            receive the HTML 404 page.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /privacy:
    get:
      tags:
        - pages
      operationId: getPrivacyPolicy
      summary: Privacy policy
      description: What the site and contact form collect, retention, analytics and contact details for data questions.
      parameters:
        - $ref: "#/components/parameters/AcceptMarkdown"
      responses:
        "200":
          description: The requested page.
          headers:
            Vary:
              $ref: "#/components/headers/Vary"
          content:
            text/html:
              schema:
                type: string
                description: The full page as static HTML. This is the default representation for browsers and default clients.
            text/markdown:
              schema:
                type: string
                description: "The same page as Markdown. Returned when the request sends Accept: text/markdown (or text/x-markdown);
                  Content-Type: text/markdown; charset=utf-8 with Vary: Accept."
        "404":
          description: Unknown path. Agents that prefer JSON or Markdown receive a structured machine-readable error; browsers
            receive the HTML 404 page.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /docs:
    get:
      tags:
        - pages
      operationId: getDeveloperDocs
      summary: Developer and agent docs
      description: "Human-readable documentation of this API surface: endpoints, Markdown negotiation, JSON error format, rate
        limits and example requests. Same content lives in `/openapi.json` / `/api/openapi.yaml`."
      parameters:
        - $ref: "#/components/parameters/AcceptMarkdown"
      responses:
        "200":
          description: The requested page.
          headers:
            Vary:
              $ref: "#/components/headers/Vary"
          content:
            text/html:
              schema:
                type: string
                description: The full page as static HTML. This is the default representation for browsers and default clients.
            text/markdown:
              schema:
                type: string
                description: "The same page as Markdown. Returned when the request sends Accept: text/markdown (or text/x-markdown);
                  Content-Type: text/markdown; charset=utf-8 with Vary: Accept."
        "404":
          description: Unknown path. Agents that prefer JSON or Markdown receive a structured machine-readable error; browsers
            receive the HTML 404 page.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /llms.txt:
    get:
      tags:
        - machine-readable
      operationId: getLlmsTxt
      summary: Curated index for AI agents
      description: "llms.txt convention: what the business does, when agents should use it, key pages as absolute URLs, and
        pointers to machine-readable resources including this spec."
      responses:
        "200":
          description: Plain text agent index.
          headers:
            $ref: "#/components/headers/CommonHeaders"
            X-API-Version:
              description: "API surface version. Current: `v1` (see the versioning policy in the description above)."
              schema:
                type: string
                example: v1
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            text/plain:
              schema:
                type: string
        "404":
          description: No machine-readable resource at /llms.txt.
          headers:
            Documentation:
              description: Where the endpoint list lives.
              schema:
                type: string
                example: https://harshainnovation.com/openapi.json
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Only GET and HEAD are supported on machine-readable paths.
          headers:
            Allow:
              description: Methods allowed on the path.
              schema:
                type: string
                example: GET, HEAD
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: More than 120 requests in 60 seconds from one IP on machine-readable endpoints.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: string
                example: "44"
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      parameters:
        - name: X-API-Version
          in: header
          required: false
          description: Optional request header. The current API version is `v1`; requests without the header are served the
            current version. See the versioning and deprecation policy in the info description.
          schema:
            type: string
            default: v1
            enum:
              - v1
  /llms-full.txt:
    get:
      tags:
        - machine-readable
      operationId: getLlmsFullTxt
      summary: Full reference for AI agents
      description: "Expanded version of llms.txt: specifications, cost factors, care notes and FAQs as plain text."
      responses:
        "200":
          description: Plain text full reference.
          headers:
            $ref: "#/components/headers/CommonHeaders"
            X-API-Version:
              description: "API surface version. Current: `v1` (see the versioning policy in the description above)."
              schema:
                type: string
                example: v1
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            text/plain:
              schema:
                type: string
        "404":
          description: No machine-readable resource at /llms-full.txt.
          headers:
            Documentation:
              description: Where the endpoint list lives.
              schema:
                type: string
                example: https://harshainnovation.com/openapi.json
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Only GET and HEAD are supported on machine-readable paths.
          headers:
            Allow:
              description: Methods allowed on the path.
              schema:
                type: string
                example: GET, HEAD
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: More than 120 requests in 60 seconds from one IP on machine-readable endpoints.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: string
                example: "44"
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      parameters:
        - name: X-API-Version
          in: header
          required: false
          description: Optional request header. The current API version is `v1`; requests without the header are served the
            current version. See the versioning and deprecation policy in the info description.
          schema:
            type: string
            default: v1
            enum:
              - v1
  /robots.txt:
    get:
      tags:
        - machine-readable
      operationId: getRobotsTxt
      summary: robots.txt
      description: robots exclusion file. Explicitly allows GPTBot, ClaudeBot, PerplexityBot, Google-Extended,
        Applebot-Extended and other AI agents in addition to the wildcard rule; links to /sitemap.xml.
      responses:
        "200":
          description: robots.txt directives.
          headers:
            $ref: "#/components/headers/CommonHeaders"
            X-API-Version:
              description: "API surface version. Current: `v1` (see the versioning policy in the description above)."
              schema:
                type: string
                example: v1
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            text/plain:
              schema:
                type: string
        "404":
          description: No machine-readable resource at /robots.txt.
          headers:
            Documentation:
              description: Where the endpoint list lives.
              schema:
                type: string
                example: https://harshainnovation.com/openapi.json
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Only GET and HEAD are supported on machine-readable paths.
          headers:
            Allow:
              description: Methods allowed on the path.
              schema:
                type: string
                example: GET, HEAD
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: More than 120 requests in 60 seconds from one IP on machine-readable endpoints.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: string
                example: "44"
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      parameters:
        - name: X-API-Version
          in: header
          required: false
          description: Optional request header. The current API version is `v1`; requests without the header are served the
            current version. See the versioning and deprecation policy in the info description.
          schema:
            type: string
            default: v1
            enum:
              - v1
  /sitemap.xml:
    get:
      tags:
        - machine-readable
      operationId: getSitemapXml
      summary: XML sitemap
      description: sitemap.org 0.9 XML sitemap with `lastmod` for every indexable URL (homepage, services, projects, process,
        about, FAQ, contact, privacy, docs, areas and per-location pages).
      responses:
        "200":
          description: XML sitemap document.
          headers:
            $ref: "#/components/headers/CommonHeaders"
            X-API-Version:
              description: "API surface version. Current: `v1` (see the versioning policy in the description above)."
              schema:
                type: string
                example: v1
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/xml:
              schema:
                type: string
        "404":
          description: No machine-readable resource at /sitemap.xml.
          headers:
            Documentation:
              description: Where the endpoint list lives.
              schema:
                type: string
                example: https://harshainnovation.com/openapi.json
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Only GET and HEAD are supported on machine-readable paths.
          headers:
            Allow:
              description: Methods allowed on the path.
              schema:
                type: string
                example: GET, HEAD
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: More than 120 requests in 60 seconds from one IP on machine-readable endpoints.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: string
                example: "44"
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      parameters:
        - name: X-API-Version
          in: header
          required: false
          description: Optional request header. The current API version is `v1`; requests without the header are served the
            current version. See the versioning and deprecation policy in the info description.
          schema:
            type: string
            default: v1
            enum:
              - v1
  /.well-known/ai-plugin.json:
    get:
      tags:
        - machine-readable
      operationId: getAiPluginManifest
      summary: AI plugin discovery manifest
      description: "Standard `.well-known/ai-plugin.json` manifest: human/model-facing name and description for the Harsha
        Innovation site, logo and contact details, and the URL of this OpenAPI specification. No authentication
        required."
      responses:
        "200":
          description: The AI plugin manifest as JSON.
          headers:
            $ref: "#/components/headers/CommonHeaders"
            X-API-Version:
              description: "API surface version. Current: `v1` (see the versioning policy in the description above)."
              schema:
                type: string
                example: v1
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                type: object
                description: ai-plugin.json v1 manifest.
                properties:
                  schema_version:
                    type: string
                    const: v1
                  name_for_human:
                    type: string
                  name_for_model:
                    type: string
                  description_for_model:
                    type: string
                  api:
                    type: object
                    properties:
                      type:
                        type: string
                        const: openapi
                      url:
                        type: string
                        const: https://harshainnovation.com/openapi.json
                  auth:
                    type: object
                    properties:
                      type:
                        type: string
                        const: none
                  logo_url:
                    type: string
                    format: uri
                  contact_email:
                    type: string
                    format: email
                  legal_info_url:
                    type: string
                    format: uri
        "404":
          description: No machine-readable resource at /.well-known/ai-plugin.json.
          headers:
            Documentation:
              description: Where the endpoint list lives.
              schema:
                type: string
                example: https://harshainnovation.com/openapi.json
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Only GET and HEAD are supported on machine-readable paths.
          headers:
            Allow:
              description: Methods allowed on the path.
              schema:
                type: string
                example: GET, HEAD
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: More than 120 requests in 60 seconds from one IP on machine-readable endpoints.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: string
                example: "44"
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      parameters:
        - name: X-API-Version
          in: header
          required: false
          description: Optional request header. The current API version is `v1`; requests without the header are served the
            current version. See the versioning and deprecation policy in the info description.
          schema:
            type: string
            default: v1
            enum:
              - v1
  /openapi.json:
    get:
      tags:
        - machine-readable
      operationId: getOpenApiJson
      summary: OpenAPI specification (this document), JSON form
      description: The OpenAPI 3.1 specification describing harshainnovation.com in JSON. No authentication required; rate
        limited (see 429). Machine-readable file — there is deliberately no HTML rendition.
      responses:
        "200":
          description: This OpenAPI document as JSON.
          headers:
            $ref: "#/components/headers/RateLimitedHeaders"
            X-API-Version:
              description: "API surface version. Current: `v1` (see the versioning policy in the description above)."
              schema:
                type: string
                example: v1
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                type: object
                description: OpenAPI 3.1 document.
                properties:
                  openapi:
                    type: string
                  info:
                    type: object
                  paths:
                    type: object
        "404":
          description: No machine-readable resource at /openapi.json.
          headers:
            Documentation:
              description: Where the endpoint list lives.
              schema:
                type: string
                example: https://harshainnovation.com/openapi.json
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Only GET and HEAD are supported on machine-readable paths.
          headers:
            Allow:
              description: Methods allowed on the path.
              schema:
                type: string
                example: GET, HEAD
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: More than 120 requests in 60 seconds from one IP on machine-readable endpoints.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: string
                example: "44"
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      parameters:
        - name: X-API-Version
          in: header
          required: false
          description: Optional request header. The current API version is `v1`; requests without the header are served the
            current version. See the versioning and deprecation policy in the info description.
          schema:
            type: string
            default: v1
            enum:
              - v1
  /api/openapi.yaml:
    get:
      tags:
        - machine-readable
      operationId: getOpenApiYaml
      summary: OpenAPI specification (this document), YAML form
      description: The same OpenAPI document as at `/openapi.json`, served as YAML. Content of both files is generated from
        one source and always in sync.
      responses:
        "200":
          description: This OpenAPI document as YAML.
          headers:
            $ref: "#/components/headers/RateLimitedHeaders"
            X-API-Version:
              description: "API surface version. Current: `v1` (see the versioning policy in the description above)."
              schema:
                type: string
                example: v1
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/yaml:
              schema:
                type: string
        "404":
          description: No machine-readable resource at /api/openapi.yaml.
          headers:
            Documentation:
              description: Where the endpoint list lives.
              schema:
                type: string
                example: https://harshainnovation.com/openapi.json
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Only GET and HEAD are supported on machine-readable paths.
          headers:
            Allow:
              description: Methods allowed on the path.
              schema:
                type: string
                example: GET, HEAD
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: More than 120 requests in 60 seconds from one IP on machine-readable endpoints.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: string
                example: "44"
            RateLimit:
              description: Current window usage for this IP.
              schema:
                type: string
                example: limit=120, remaining=119, reset=60
            RateLimit-Policy:
              description: The limit and its window.
              schema:
                type: string
                example: 120;w=60
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      parameters:
        - name: X-API-Version
          in: header
          required: false
          description: Optional request header. The current API version is `v1`; requests without the header are served the
            current version. See the versioning and deprecation policy in the info description.
          schema:
            type: string
            default: v1
            enum:
              - v1
components:
  parameters:
    AcceptMarkdown:
      name: Accept
      in: header
      required: false
      description: "Send `text/markdown` (or `text/x-markdown`) to receive the page as Markdown (`Content-Type: text/markdown;
        charset=utf-8`, `Vary: Accept`). Omit or send `text/html` for the page as HTML."
      schema:
        type: string
        enum:
          - text/html
          - text/markdown
          - text/x-markdown
        default: text/html
    ServiceSlug:
      name: slug
      in: path
      required: true
      description: One of the six fabrication service lines.
      schema:
        type: string
        enum:
          - window-grills
          - gates-entrances
          - railings-stairs
          - shades-canopies
          - steel-furniture
          - custom-fabrication
    ApiVersion:
      name: X-API-Version
      in: header
      required: false
      description: Optional request header. The current API version is `v1`; requests without the header are served the
        current version.
      schema:
        type: string
        default: v1
        enum:
          - v1
  headers:
    Vary:
      description: "Negotiated by requested representation. Textual responses carry `Vary: Accept`."
      schema:
        type: string
        example: Accept
    RateLimit:
      description: "Running rate limit state (RFC draft-ietf-httpapi-ratelimit-headers) for machine-readable endpoints: 120
        requests per 60 s per IP."
      schema:
        type: string
        example: limit=120, remaining=117, reset=43
    RateLimit-Policy:
      description: Rate limit policy for machine-readable endpoints.
      schema:
        type: string
        example: 120;w=60
    Retry-After:
      description: Seconds to wait before retrying after a 429 response.
      schema:
        type: string
        example: "27"
    RateLimitedHeaders:
      description: Headers sent on the rate-limited machine-readable group.
      schema:
        type: object
      x-headers:
        - RateLimit
        - RateLimit-Policy
        - Retry-After
        - Vary
    CommonHeaders:
      description: Headers common to machine-readable files.
      schema:
        type: object
      x-headers:
        - RateLimit
        - RateLimit-Policy
    ApiVersion:
      description: "API surface version. Current: `v1` (see the versioning policy in the description above)."
      schema:
        type: string
        example: v1
  responses:
    Page200:
      description: The requested page.
      headers:
        Vary:
          $ref: "#/components/headers/Vary"
      content:
        text/html:
          schema:
            type: string
            description: The page as HTML. This is the default representation.
        text/markdown:
          schema:
            type: string
            description: The page as Markdown. Returned when the request's Accept header prefers `text/markdown` (or
              `text/x-markdown`).
    NotFound:
      description: Unknown path, returned as structured JSON (agents that accepted HTML still get the HTML 404 page).
      headers:
        RateLimit:
          $ref: "#/components/headers/CommonHeaders"
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/Error"
    MethodNotAllowed:
      description: Non GET/HEAD method on a machine-readable path.
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/Error"
    TooManyRequests:
      description: Rate limit exceeded on machine-readable endpoints.
      headers:
        RateLimit:
          schema:
            type: string
            example: limit=120, remaining=0, reset=9
        RateLimit-Policy:
          schema:
            type: string
            example: 120;w=60
        Retry-After:
          $ref: "#/components/headers/Retry-After"
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/Error"
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - resource_not_found
                - method_not_allowed
                - rate_limit_exceeded
              description: Stable machine-readable error code.
            message:
              type: string
              description: Human-language explanation of what went wrong.
            resolution_hint:
              type: string
              description: Action the agent can take to resolve the error.
            documentation_url:
              type: string
              format: uri
              description: Where full endpoint/error documentation lives.
              const: https://harshainnovation.com/docs
            request_id:
              type: string
              description: Unique id for this failed request; include it when reporting issues.
          required:
            - code
            - message
            - resolution_hint
            - documentation_url
x-default-representation:
  description: "All page endpoints return text/html by default and text/markdown when `Accept: text/markdown` is sent.
    Machine-readable files are always served in their own format."
