openapi: 3.1.0
info:
  title: Packrift SKU Fit + Substitution Matrix
  version: "2026-05-28"
  description: Read-only public Packrift fit matrix for same-family packaging SKU review candidates. It does not approve substitutes or place orders.
servers:
  - url: https://packrift-fit-substitution-matrix.vercel.app
paths:
  /:
    get:
      summary: Human-readable matrix home
  /methodology:
    get:
      summary: Scoring methodology and count treatment
  /families:
    get:
      summary: Family summary
  /products/{slug}:
    get:
      summary: SKU fit candidate page
      parameters:
        - name: slug
          in: path
          required: true
          schema:
            type: string
  /data/manifest.json:
    get:
      summary: Dataset manifest
  /data/top-fit-relationships.jsonl:
    get:
      summary: Top fit relationships as JSONL
  /metadata.json:
    get:
      summary: Croissant metadata
