{
  "openapi": "3.1.0",
  "info": {
    "title": "Left Hook Catalog API",
    "version": "2026-12-01",
    "summary": "Read-only catalog: products, platforms, APIs, partners, and the Market Graph.",
    "description": "Read-only JSON over HTTPS. Two surfaces, two hosts:\n\n- **Catalog** — `https://admin.lefthook.com/api/public` (every operation below except the Market Graph).\n- **Market Graph** — `https://lefthook.com/api/explorer` (snapshot-pinned).\n\n---\n\n**Three things to know before your first call**\n\n1. **The catalog is currently unauthenticated.** No key, a bogus `x-api-key` and a bogus Bearer all answer 200.\n   Send `x-api-key` anyway — it is what will work when the gate closes. **Do not** build a scope model on this\n   surface; it enforces versions, not identity.\n2. **Versions are dates.** `x-api-version: YYYY-MM-DD`, optional — omit for latest. Paths stay unversioned.\n   The only profile today is `2026-12-01`; anything older answers 400 with the supported list. The Market Graph\n   ignores this header entirely.\n3. **Market Graph pins data, not contract.** Read `/current`, pass `?s=<snapshotId>` on every drill-in. A stale id\n   answers 409 with the current one; drill-ins are 25 rows with no paging.\n\nGuides for these — and the \"who integrates with X\" recipe — are at\n[developers.lefthook.com/guides](https://developers.lefthook.com/guides).\n\n---\n\nSchemas list the fields observed in the live payload. The API is additive: extra fields may appear, and where a\nshape is not documented here it is because it was not observed."
  },
  "servers": [
    {
      "url": "https://admin.lefthook.com/api/public",
      "description": "Catalog (read-only)"
    }
  ],
  "x-tagGroups": [
    {
      "name": "Guides",
      "tags": [
        "Quickstart",
        "Authentication",
        "Versions",
        "Pagination",
        "Snapshots",
        "Errors",
        "For agents"
      ]
    },
    {
      "name": "Catalog API",
      "tags": [
        "Search",
        "Products",
        "Platforms",
        "APIs",
        "More catalog"
      ]
    },
    {
      "name": "Market Graph",
      "tags": [
        "Market Graph"
      ]
    }
  ],
  "tags": [
    {
      "name": "Quickstart",
      "x-displayName": "Quickstart",
      "description": "First call in under two minutes, against the real base URL.\n\n```bash\ncurl \"https://admin.lefthook.com/api/public/search?q=hubspot&limit=3\" \\\n  -H \"x-api-key: $LEFTHOOK_KEY\" \\\n  -H \"x-api-version: 2026-12-01\"   # optional — omit for latest\n```\n\nThe response is `{\"data\":[{\"type\",\"slug\",\"title\",\"description\",\"score\"}],\"meta\":{\"query\",\"total\",\"returned\",\"types\"}}`.\n\n**The catalog is currently unauthenticated.** Any key, or no key, answers 200 today. Send `x-api-key` anyway so\nyour code keeps working when the gate closes — see [Authentication](#tag/authentication)."
    },
    {
      "name": "Authentication",
      "x-displayName": "Authentication",
      "description": "The public catalog API is **currently unauthenticated**: a request with no key, a bogus `x-api-key`, or a bogus\n`Authorization: Bearer` all answer 200. Treat every record it returns as public data.\n\nSend the credentials anyway, because the code should be right the day the gate closes:\n\n- `x-api-key: <key>` — the documented mechanism.\n- `Authorization: Bearer <key>` — also accepted by the same check.\n\nKeys are created and revoked on `app.lefthook.com` with the same account you sign in with here:\n[API keys](https://app.lefthook.com/dashboard/settings/api-keys). There is no separate developers.lefthook.com account.\n\nOAuth apps (`app.lefthook.com/dashboard/settings/oauth-apps`) exist for installed apps; the catalog does not\ncurrently require them. Do not build a scope model on top of this surface yet — it enforces versions, not identity."
    },
    {
      "name": "Versions",
      "x-displayName": "Versions",
      "description": "Versions are **dates**, not path prefixes (ADR 0028). Send `x-api-version: YYYY-MM-DD`; the server selects the\nnewest profile at or before that date. No header means latest.\n\n| Surface | Base URL | Negotiation |\n|---|---|---|\n| Catalog (registered) | https://admin.lefthook.com/api/public | `x-api-version`, enforced |\n| Market Graph | https://lefthook.com/api/explorer | none — pin data with `?s=` |\n\nToday the `public` surface has exactly one profile, `2026-12-01`, and it is the only date that resolves.\n\n| Request | Result |\n|---|---|\n| no header | 200, latest |\n| `x-api-version: 2026-12-01` | 200 |\n| `x-api-version: 2027-01-01` (future) | 200 — resolves to latest |\n| `x-api-version: 2025-06-01` (outside the window) | 400 `unsupported version 2025-06-01` + `supported` |\n| `x-api-version: garbage` | 400 ``x-api-version` must be a date (YYYY-MM-DD)` |\n\nResponses carry `x-api-version` (the profile served) and `x-api-versions` (the supported list), so a client can\ndetect a silent upgrade from the response alone.\n\nThe old `/v1` path prefix still answers, as a 308 redirect to the canonical path with\n`Sunset: Tue, 01 Jun 2027 00:00:00 GMT`. New code should not use it."
    },
    {
      "name": "Pagination",
      "x-displayName": "Pagination",
      "description": "Every list route takes `page` and `pageSize` (1–100, default 20) and answers the same envelope:\n\n```json\n{\n  \"data\": [ ... ],\n  \"meta\": { \"page\": 1, \"pageSize\": 20, \"total\": 70, \"totalPages\": 4, \"hasNextPage\": true },\n  \"links\": { \"self\": \"?page=1&pageSize=20\", \"next\": \"?page=2&pageSize=20\", \"last\": \"?page=4&pageSize=20\" }\n}\n```\n\n`links.next` is `null` on the last page.\n\n**`limit` is search-only.** `/search` accepts `limit` (1–100, default 20) and ignores paging; every other list\nroute ignores `limit` and returns the default 20 rows — use `pageSize`.\n\n`/platforms/{slug}/children` is the exception to the envelope: it answers `{data, meta:{total, parentSlug}}`\nwith no paging, because a platform has a bounded set of children."
    },
    {
      "name": "Snapshots",
      "x-displayName": "Snapshots",
      "description": "Market Graph is the second API surface, on the marketing host:\n\n`https://lefthook.com/api/explorer`\n\nIt versions **data**, not contract. Start at `/current`, then pass that id as `?s=` on every drill-in:\n\n```bash\nS=$(curl -s https://lefthook.com/api/explorer/current | jq -r .snapshotId)\ncurl \"https://lefthook.com/api/explorer/card?s=$S&id=prod_hubspot\"\n```\n\n| Behaviour | Response |\n|---|---|\n| `?s=` missing or malformed | 400 `missing or invalid snapshot id (s)` |\n| `?s=` stale (superseded) | 409 `snapshot superseded` with `{\"current\":\"<new id>\"}` |\n| ids | `prod_*` or a UUID; a bare slug answers 404 `unknown product` |\n| drill-in size | 25 rows, no paging — `offset` answers 400 `paging is not supported` |\n\nSnapshot ids are immutable: the same id returns the same answers forever, which is what makes a citation stable.\nA 409 means re-read `/current` and retry once — not a bug.\n\n`/explore` accepts an omitted `s` and resolves the live pointer; `/traverse` is flag-gated and answers 503 until\nit is enabled on the deployment.\n\n`/api/public/explorer/*` on the admin host is a **different, key-authenticated server-to-server** family. It is not\ndocumented here and is not the surface these routes describe."
    },
    {
      "name": "Errors",
      "x-displayName": "Errors",
      "description": "Errors are `{ \"error\": string, \"message\": string }` — with one exception on the catalog version check, which adds\n`supported: string[]`.\n\n| Status | When |\n|---|---|\n| 400 | `/search` without `q`; an unsupported or malformed `x-api-version`; a Market Graph route without `?s=` |\n| 401 | Reserved: the catalog gate, when it is switched on, refuses a missing or invalid key |\n| 404 | Unknown slug, or a Market Graph id that is not `prod_*`/UUID |\n| 409 | Market Graph snapshot superseded |\n\nSee [Errors](#tag/errors) in the sidebar for these under the guides."
    },
    {
      "name": "For agents",
      "x-displayName": "For agents",
      "description": "- [llms.txt](https://developers.lefthook.com/llms.txt) — the plain-text map.\n- [openapi.json](https://developers.lefthook.com/openapi.json) — this document.\n- MCP: `https://mcp.lefthook.com/mcp`, 30 tools. Catalog tools mirror the routes below; `market_graph_*` tools\n  take `snapshotId`. None of them accept `apiVersion` — see [For agents](https://developers.lefthook.com/agents)."
    },
    {
      "name": "Search",
      "description": "Scored search across every catalog type."
    },
    {
      "name": "Products",
      "description": "Software products businesses use, and who builds integrations for them."
    },
    {
      "name": "Platforms",
      "description": "Directories, ecosystems and marketplaces, with their children."
    },
    {
      "name": "APIs",
      "description": "The APIs themselves, plus category and provider facets."
    },
    {
      "name": "More catalog",
      "description": "Integration tools, case studies, partners, resources, industries, stats."
    },
    {
      "name": "Market Graph",
      "description": "`https://lefthook.com/api/explorer` — where products show up across directories, and where the gaps are.\n\nSnapshot-pinned: read `/current`, pass `?s=`. Drill-ins are 25-row locked previews with no paging.\nListing relationships only — no contacts, pricing, revenue, or firmographics."
    }
  ],
  "paths": {
    "/search": {
      "get": {
        "tags": [
          "Search"
        ],
        "operationId": "search",
        "summary": "Search everything",
        "description": "Scored search over apis, platforms, products, integration-tools, case-studies, blog-posts, partners, clients and resources. `q` is required (400 without it). `limit` is 1–100 (default 20); `types` is a comma-separated subset of those nine.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Search text."
          },
          {
            "name": "types",
            "in": "query",
            "required": false,
            "description": "Comma-separated types to include; default is all nine.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Hits to return, 1–100.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SearchHit"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                },
                "example": {
                  "data": [
                    {
                      "type": "partner",
                      "slug": "hubspot",
                      "title": "HubSpot",
                      "description": "HubSpot is the leading CRM platform for scaling businesses. As a HubSpot Solutions Partner, we help companies implement, integrate, and optimize their HubSpot setup.",
                      "score": 280
                    },
                    {
                      "type": "blog-post",
                      "slug": "hubspot-evolving-ecosystem-opportunity-part-one",
                      "title": "HubSpot's Evolving Ecosystem Opportunity (Part 1 of 2)",
                      "description": "Examining HubSpot's platform transformation with 73,000+ customer orgs, 700K+ marketplace installations, and 33% YoY growth.",
                      "score": 270
                    },
                    {
                      "type": "platform",
                      "slug": "hubspot",
                      "title": "HubSpot",
                      "description": "Fast-growing CRM and marketing automation platform with a strong developer ecosystem and accessible marketplace.",
                      "score": 250
                    }
                  ],
                  "meta": {
                    "query": "hubspot",
                    "total": 14,
                    "returned": 3,
                    "types": [
                      "apis",
                      "platforms",
                      "products",
                      "integration-tools",
                      "case-studies",
                      "blog-posts",
                      "partners",
                      "clients",
                      "resources"
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/products": {
      "get": {
        "tags": [
          "Products"
        ],
        "operationId": "listProducts",
        "summary": "List products",
        "description": "Paginated. Sort fields: name, company, category, status, featured, targetMarket. Extra filters: `targetMarket`.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number, 1-based. Default 1.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1–100. Default 20.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Field to sort on. Unknown fields are ignored.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Filter by category slug.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Filter by status, e.g. Active.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "featured",
            "in": "query",
            "required": false,
            "description": "Only featured records.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Case-insensitive text search over name/description/tags.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "targetMarket",
            "in": "query",
            "required": false,
            "description": "Filter by target market, e.g. all | smb | enterprise.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Product"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                },
                "example": {
                  "data": [
                    {
                      "id": "hubspot-product",
                      "slug": "hubspot",
                      "name": "HubSpot",
                      "company": "HubSpot",
                      "category": "crm",
                      "categories": [],
                      "description": "All-in-one CRM platform combining marketing, sales, service, and content management tools for growing businesses.",
                      "logo": "/images/logos/hubspot.jpg",
                      "website": "https://hubspot.com",
                      "targetMarket": "all",
                      "availableOn": [],
                      "apiSlugs": [
                        "hubspot"
                      ],
                      "integrationToolSlugs": [],
                      "experience": "Expert",
                      "hasPlatform": true,
                      "platformSlug": "hubspot",
                      "caseStudySlugs": [],
                      "relatedProductSlugs": [
                        "salesforce",
                        "microsoft-365"
                      ],
                      "tags": [
                        "crm",
                        "marketing-automation",
                        "sales",
                        "inbound"
                      ],
                      "featured": true,
                      "status": "Active"
                    }
                  ],
                  "meta": {
                    "page": 1,
                    "pageSize": 1,
                    "total": 162,
                    "totalPages": 162,
                    "hasNextPage": true
                  },
                  "links": {
                    "self": "?page=1&pageSize=1",
                    "next": "?page=2&pageSize=1",
                    "last": "?page=162&pageSize=1"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/products/categories": {
      "get": {
        "tags": [
          "Products"
        ],
        "operationId": "listProductCategories",
        "summary": "Product categories with counts",
        "description": "Answers `{data:[{name,count}],meta:{total}}` — not paginated.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Count"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                },
                "example": {
                  "data": [
                    {
                      "name": "crm",
                      "count": 16
                    },
                    {
                      "name": "finance",
                      "count": 27
                    },
                    {
                      "name": "productivity",
                      "count": 24
                    }
                  ],
                  "meta": {
                    "total": 21
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/products/{slug}": {
      "get": {
        "tags": [
          "Products"
        ],
        "operationId": "getProduct",
        "summary": "Get one product",
        "description": "Answers `{data:{…},meta:{}}`. Unknown slug answers 404.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "description": "Record slug.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Product"
                    },
                    "meta": {
                      "type": "object",
                      "properties": {},
                      "required": [],
                      "additionalProperties": true
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "additionalProperties": true
                },
                "example": {
                  "data": {
                    "id": "hubspot-product",
                    "slug": "hubspot",
                    "name": "HubSpot",
                    "company": "HubSpot",
                    "category": "crm",
                    "categories": [],
                    "description": "All-in-one CRM platform combining marketing, sales, service, and content management tools for growing businesses.",
                    "logo": "/images/logos/hubspot.jpg",
                    "website": "https://hubspot.com",
                    "targetMarket": "all",
                    "availableOn": [],
                    "apiSlugs": [
                      "hubspot"
                    ],
                    "integrationToolSlugs": [],
                    "experience": "Expert",
                    "hasPlatform": true,
                    "platformSlug": "hubspot",
                    "caseStudySlugs": [],
                    "relatedProductSlugs": [
                      "salesforce",
                      "microsoft-365"
                    ],
                    "tags": [
                      "crm",
                      "marketing-automation",
                      "sales",
                      "inbound"
                    ],
                    "featured": true,
                    "status": "Active"
                  },
                  "meta": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/platforms": {
      "get": {
        "tags": [
          "Platforms"
        ],
        "operationId": "listPlatforms",
        "summary": "List platforms",
        "description": "Paginated. Directories, ecosystems and marketplaces. Sort fields: name, company, category, status, featured, entityLevel. Extra filters: `isEcosystem`, `hasMarketplace`, `entityLevel`.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number, 1-based. Default 1.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1–100. Default 20.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Field to sort on. Unknown fields are ignored.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Filter by category slug.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Filter by status, e.g. Active.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "featured",
            "in": "query",
            "required": false,
            "description": "Only featured records.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Case-insensitive text search over name/description/tags.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isEcosystem",
            "in": "query",
            "required": false,
            "description": "true | false",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hasMarketplace",
            "in": "query",
            "required": false,
            "description": "true | false",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entityLevel",
            "in": "query",
            "required": false,
            "description": "e.g. product | ecosystem",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Platform"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                },
                "example": {
                  "data": [
                    {
                      "id": "airtable",
                      "slug": "airtable",
                      "name": "Airtable",
                      "company": "Airtable",
                      "category": "productivity",
                      "description": "Cloud-based spreadsheet-database hybrid platform for building collaborative applications and workflows.",
                      "logo": "/images/logos/airtable.jpg",
                      "website": "https://airtable.com",
                      "entityLevel": "product",
                      "childSlugs": [],
                      "isLandingOnly": false,
                      "isEcosystem": true,
                      "apiCount": 1,
                      "ecosystemProducts": [],
                      "ecosystemUseCases": [],
                      "hasMarketplace": true,
                      "status": "Active",
                      "experience": "Expert",
                      "featured": false
                    }
                  ],
                  "meta": {
                    "page": 1,
                    "pageSize": 1,
                    "total": 70,
                    "totalPages": 70,
                    "hasNextPage": true
                  },
                  "links": {
                    "self": "?page=1&pageSize=1",
                    "next": "?page=2&pageSize=1",
                    "last": "?page=70&pageSize=1"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/platforms/{slug}": {
      "get": {
        "tags": [
          "Platforms"
        ],
        "operationId": "getPlatform",
        "summary": "Get one platform",
        "description": "Answers `{data:{…},meta:{}}`. Unknown slug answers 404.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "description": "Record slug.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Platform"
                    },
                    "meta": {
                      "type": "object",
                      "properties": {},
                      "required": [],
                      "additionalProperties": true
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/platforms/{slug}/children": {
      "get": {
        "tags": [
          "Platforms"
        ],
        "operationId": "listPlatformChildren",
        "summary": "A platform's children",
        "description": "The platforms inside a parent (Google → Google Workspace, Google Cloud Platform, …). Answers `{data:[…],meta:{total,parentSlug}}` with no paging. This is the second half of the \"who integrates with X\" recipe.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "description": "Record slug.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Platform"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "properties": {
                        "total": {
                          "type": "integer"
                        },
                        "parentSlug": {
                          "type": "string"
                        }
                      },
                      "required": [],
                      "additionalProperties": true
                    }
                  },
                  "required": [],
                  "additionalProperties": true
                },
                "example": {
                  "data": [
                    {
                      "id": "google-workspace",
                      "slug": "google-workspace",
                      "name": "Google Workspace",
                      "company": "Google (Alphabet Inc.)",
                      "category": "productivity",
                      "entityLevel": "ecosystem",
                      "parentSlug": "google",
                      "childSlugs": [],
                      "isEcosystem": true,
                      "apiCount": 7,
                      "isLandingOnly": false
                    }
                  ],
                  "meta": {
                    "total": 4,
                    "parentSlug": "google"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/apis": {
      "get": {
        "tags": [
          "APIs"
        ],
        "operationId": "listApis",
        "summary": "List APIs",
        "description": "Paginated. Sort fields: name, provider, category, status, featured. Extra filter: `provider` (exact, case-insensitive).",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number, 1-based. Default 1.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1–100. Default 20.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Field to sort on. Unknown fields are ignored.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Filter by category slug.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Filter by status, e.g. Active.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "featured",
            "in": "query",
            "required": false,
            "description": "Only featured records.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Case-insensitive text search over name/description/tags.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "provider",
            "in": "query",
            "required": false,
            "description": "Exact provider name.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Api"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                },
                "example": {
                  "data": [
                    {
                      "id": "hubspot-crm",
                      "slug": "hubspot",
                      "name": "HubSpot CRM",
                      "provider": "HubSpot",
                      "category": "crm",
                      "description": "Complete CRM platform with contacts, deals, companies, and marketing automation.",
                      "logo": "/images/logos/hubspot.jpg",
                      "website": "https://hubspot.com",
                      "documentationUrl": "https://developers.hubspot.com/docs/api/overview",
                      "status": "Active",
                      "experience": "Expert",
                      "complexity": "Medium",
                      "platformSlug": "hubspot",
                      "tags": [
                        "crm",
                        "marketing",
                        "sales",
                        "automation"
                      ],
                      "featured": false
                    }
                  ],
                  "meta": {
                    "page": 1,
                    "pageSize": 20,
                    "total": 237,
                    "totalPages": 12,
                    "hasNextPage": true
                  },
                  "links": {
                    "self": "?page=1&pageSize=20",
                    "next": "?page=2&pageSize=20",
                    "last": "?page=12&pageSize=20"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/apis/categories": {
      "get": {
        "tags": [
          "APIs"
        ],
        "operationId": "listApiCategories",
        "summary": "API categories with counts",
        "description": "Answers `{data:[{name,count}],meta:{total}}`. 15 categories today.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Count"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                },
                "example": {
                  "data": [
                    {
                      "name": "crm",
                      "count": 31
                    },
                    {
                      "name": "productivity",
                      "count": 41
                    },
                    {
                      "name": "finance",
                      "count": 34
                    }
                  ],
                  "meta": {
                    "total": 15
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/apis/providers": {
      "get": {
        "tags": [
          "APIs"
        ],
        "operationId": "listApiProviders",
        "summary": "API providers with counts",
        "description": "Answers `{data:[{name,count}],meta:{total}}`, sorted by provider name. Not paginated — the whole list is returned.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Count"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                },
                "example": {
                  "data": [
                    {
                      "name": "Adobe",
                      "count": 2
                    },
                    {
                      "name": "Amazon Web Services",
                      "count": 10
                    },
                    {
                      "name": "Anthropic",
                      "count": 1
                    }
                  ],
                  "meta": {
                    "total": 195
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/integration-tools": {
      "get": {
        "tags": [
          "More catalog"
        ],
        "operationId": "listIntegrationTools",
        "summary": "List integration tools",
        "description": "Paginated. iPaaS, embedded integration platforms and ETL tools. Sort fields: name, category, featured, openSource. Extra filters: `openSource`, `deployment`.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number, 1-based. Default 1.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1–100. Default 20.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Field to sort on. Unknown fields are ignored.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Filter by category slug.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Filter by status, e.g. Active.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "featured",
            "in": "query",
            "required": false,
            "description": "Only featured records.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Case-insensitive text search over name/description/tags.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "openSource",
            "in": "query",
            "required": false,
            "description": "true",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "deployment",
            "in": "query",
            "required": false,
            "description": "saas | self-hosted | embedded | hybrid",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/IntegrationTool"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/case-studies": {
      "get": {
        "tags": [
          "More catalog"
        ],
        "operationId": "listCaseStudies",
        "summary": "List case studies",
        "description": "Paginated. Sort fields: title, client, industry, category, featured. Extra filter: `industry`.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number, 1-based. Default 1.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1–100. Default 20.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Field to sort on. Unknown fields are ignored.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Filter by category slug.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Filter by status, e.g. Active.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "featured",
            "in": "query",
            "required": false,
            "description": "Only featured records.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Case-insensitive text search over name/description/tags.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "Filter by industry.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CaseStudy"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/blog-posts": {
      "get": {
        "tags": [
          "More catalog"
        ],
        "operationId": "listBlogPosts",
        "summary": "List blog posts",
        "description": "Paginated. Sort fields: title, author, publishDate, category, featured. Extra filter: `tag`.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number, 1-based. Default 1.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1–100. Default 20.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Field to sort on. Unknown fields are ignored.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Filter by category slug.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Filter by status, e.g. Active.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "featured",
            "in": "query",
            "required": false,
            "description": "Only featured records.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Case-insensitive text search over name/description/tags.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tag",
            "in": "query",
            "required": false,
            "description": "Filter by tag.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/BlogPost"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/partners": {
      "get": {
        "tags": [
          "More catalog"
        ],
        "operationId": "listPartners",
        "summary": "List partners",
        "description": "Paginated. Sort fields: name, type, status, featured. Extra filter: `type`.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number, 1-based. Default 1.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1–100. Default 20.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Field to sort on. Unknown fields are ignored.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Filter by category slug.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Filter by status, e.g. Active.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "featured",
            "in": "query",
            "required": false,
            "description": "Only featured records.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Case-insensitive text search over name/description/tags.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "Filter by partner type.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Partner"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/resources": {
      "get": {
        "tags": [
          "More catalog"
        ],
        "operationId": "listResources",
        "summary": "List resources",
        "description": "Paginated. Sort fields: title, type, audience, category, featured. Extra filters: `type`, `audience`.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number, 1-based. Default 1.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1–100. Default 20.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Field to sort on. Unknown fields are ignored.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Filter by category slug.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Filter by status, e.g. Active.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "featured",
            "in": "query",
            "required": false,
            "description": "Only featured records.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Case-insensitive text search over name/description/tags.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "Filter by resource type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "audience",
            "in": "query",
            "required": false,
            "description": "Filter by audience.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Resource"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/faqs": {
      "get": {
        "tags": [
          "More catalog"
        ],
        "operationId": "listFaqs",
        "summary": "List FAQs",
        "description": "Paginated. Currently returns an empty list — `total: 0` — so do not build a FAQ screen on it without checking the count first.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number, 1-based. Default 1.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1–100. Default 20.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Field to sort on. Unknown fields are ignored.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Faq"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                },
                "example": {
                  "data": [],
                  "meta": {
                    "page": 1,
                    "pageSize": 20,
                    "total": 0,
                    "totalPages": 1,
                    "hasNextPage": false
                  },
                  "links": {
                    "self": "?page=1&pageSize=20",
                    "next": null,
                    "last": "?page=1&pageSize=20"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/industries": {
      "get": {
        "tags": [
          "More catalog"
        ],
        "operationId": "listIndustries",
        "summary": "List industries",
        "description": "Paginated. SMB industries with headline, pain points and solutions. Sort fields: name, headline, subheadline. Large payload — request a small `pageSize`.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number, 1-based. Default 1.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1–100. Default 20.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Field to sort on. Unknown fields are ignored.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Industry"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/software-stages": {
      "get": {
        "tags": [
          "More catalog"
        ],
        "operationId": "listSoftwareStages",
        "summary": "List software stages",
        "description": "Paginated. Three stages today (early-stage, …). Sort fields: name, headline, subheadline.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number, 1-based. Default 1.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1–100. Default 20.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Field to sort on. Unknown fields are ignored.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Sort direction.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SoftwareStage"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PageMeta"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    }
                  },
                  "required": [
                    "data",
                    "meta",
                    "links"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/stats": {
      "get": {
        "tags": [
          "More catalog"
        ],
        "operationId": "getStats",
        "summary": "Catalog counts",
        "description": "Answers `{data:{apis,platforms,ecosystems,marketplaces,products,integrationTools,caseStudies,blogPosts,partners,clients,resources,faqs,industries,softwareStages},meta:{generatedAt}}`. Counts are computed per request.",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2026-12-01"
            },
            "description": "Optional — omit for latest. A date selects the newest profile at or before it. A malformed value answers 400; a date older than the supported window answers 400 with the supported list."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Stats"
                    },
                    "meta": {
                      "type": "object",
                      "properties": {},
                      "required": [],
                      "additionalProperties": true
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "additionalProperties": true
                },
                "example": {
                  "data": {
                    "apis": 237,
                    "platforms": 70,
                    "ecosystems": 50,
                    "marketplaces": 64,
                    "products": 162,
                    "integrationTools": 164,
                    "caseStudies": 6,
                    "blogPosts": 43,
                    "partners": 11,
                    "clients": 1,
                    "resources": 17,
                    "faqs": 0,
                    "industries": 11,
                    "softwareStages": 3
                  },
                  "meta": {
                    "generatedAt": "2026-12-01T22:01:18.487Z"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/explorer/current": {
      "get": {
        "tags": [
          "Market Graph"
        ],
        "operationId": "marketGraphCurrentSnapshot",
        "summary": "The published snapshot pointer",
        "description": "Start here. Answers `{snapshotId, s, takenAtUtc, publishedAt, schema, defaultN}`. Send `snapshotId` as `?s=` on every other Market Graph route.\n\nThe Market Graph ignores `x-api-version`: it has no version negotiation, declared or enforced. Pin the *data* with `?s=` instead.",
        "servers": [
          {
            "url": "https://lefthook.com",
            "description": "Market Graph (read-only)"
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "required": [],
                  "additionalProperties": true
                },
                "example": {
                  "snapshotId": "prod-20261201-explorer",
                  "s": "prod-20261201-explorer",
                  "takenAtUtc": "2026-12-01T05:42:50Z",
                  "publishedAt": "2026-12-01T05:55:29.534Z",
                  "schema": 1,
                  "defaultN": 60
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/explorer/search": {
      "get": {
        "tags": [
          "Market Graph"
        ],
        "operationId": "marketGraphSearch",
        "summary": "Resolve a name to a drill-in id",
        "description": "Answers `{q, items:[{t, id, n}]}` where `t` is a type marker (`p` = product) and `id` is `prod_*` or a UUID. Pass that id to /card, /product, /gaps.\n\nThe Market Graph ignores `x-api-version`: it has no version negotiation, declared or enforced. Pin the *data* with `?s=` instead.",
        "servers": [
          {
            "url": "https://lefthook.com",
            "description": "Market Graph (read-only)"
          }
        ],
        "parameters": [
          {
            "name": "s",
            "in": "query",
            "required": true,
            "description": "Snapshot id from GET /api/explorer/current. Required on this route — the API answers 400 without it; a stale id answers 409 with the current one.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Name fragment (2–80 chars)."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Hits to return (1–20).",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "required": [],
                  "additionalProperties": true
                },
                "example": {
                  "q": "hubspot",
                  "items": [
                    {
                      "t": "p",
                      "id": "prod_hubspot",
                      "n": "HubSpot"
                    },
                    {
                      "t": "p",
                      "id": "952be29c-71ae-4ffd-8116-2f9668973e68",
                      "n": "HubSpot CRM"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Snapshot superseded. The body carries `current`, the snapshot id to switch to.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SnapshotConflict"
                }
              }
            }
          }
        }
      }
    },
    "/api/explorer/card": {
      "get": {
        "tags": [
          "Market Graph"
        ],
        "operationId": "marketGraphGetCard",
        "summary": "Display card for a product",
        "description": "Answers `{id, n, c, u, w, kind, categories, family, lifecycle, listedIn{total,integrates,listed,top[]}, listsOut{total,top[]}, evidence{…}}`. `listedIn` counts the listings that point at this product; `listsOut` counts the listings this product points at. They have different denominators — do not subtract them.\n\nThe Market Graph ignores `x-api-version`: it has no version negotiation, declared or enforced. Pin the *data* with `?s=` instead.",
        "servers": [
          {
            "url": "https://lefthook.com",
            "description": "Market Graph (read-only)"
          }
        ],
        "parameters": [
          {
            "name": "s",
            "in": "query",
            "required": true,
            "description": "Snapshot id from GET /api/explorer/current. Required on this route — the API answers 400 without it; a stale id answers 409 with the current one.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "`prod_*` or UUID."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "required": [],
                  "additionalProperties": true
                },
                "example": {
                  "id": "prod_hubspot",
                  "n": "HubSpot",
                  "c": "marketing-automation",
                  "u": "https://ylfzrfjxrndlbwihuodv.supabase.co/storage/v1/object/public/product-logos/prod_hubspot/5e3d32c06f065e54.svg",
                  "w": "https://hubspot.com/",
                  "kind": "point",
                  "categories": [
                    "marketing-automation",
                    "crm",
                    "sales-engagement"
                  ],
                  "family": null,
                  "lifecycle": null,
                  "listedIn": {
                    "total": 768,
                    "integrates": 768,
                    "listed": 0,
                    "top": [
                      {
                        "id": "ffea5565-4c47-48a3-9ef9-8040482ea1b4",
                        "n": "Zapier",
                        "kind": "integrates"
                      },
                      {
                        "id": "979468b5-6011-4890-9f50-d7d5d5d44284",
                        "n": "White Swan",
                        "kind": "integrates"
                      }
                    ]
                  },
                  "listsOut": {
                    "total": 2324,
                    "top": [
                      {
                        "id": "prod_slack",
                        "n": "Slack"
                      },
                      {
                        "id": "prod_salesforce",
                        "n": "Salesforce"
                      }
                    ]
                  },
                  "evidence": {
                    "hasWebsite": true,
                    "hasLogo": true,
                    "ecosystems": 784,
                    "provisional": false,
                    "score": 4
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Snapshot superseded. The body carries `current`, the snapshot id to switch to.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SnapshotConflict"
                }
              }
            }
          }
        }
      }
    },
    "/api/explorer/product": {
      "get": {
        "tags": [
          "Market Graph"
        ],
        "operationId": "marketGraphListProductListings",
        "summary": "Listings on one side of a product",
        "description": "`section=in` (default) lists the partners that list this product; `section=out` lists the partners this product lists. Answers `{id,name,category,total,integrates,listed,truncated,items[],listsOut{…},unlocked}`. **25 rows, no paging** — `offset` answers 400 `paging is not supported`.\n\nThe Market Graph ignores `x-api-version`: it has no version negotiation, declared or enforced. Pin the *data* with `?s=` instead.",
        "servers": [
          {
            "url": "https://lefthook.com",
            "description": "Market Graph (read-only)"
          }
        ],
        "parameters": [
          {
            "name": "s",
            "in": "query",
            "required": true,
            "description": "Snapshot id from GET /api/explorer/current. Required on this route — the API answers 400 without it; a stale id answers 409 with the current one.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "section",
            "in": "query",
            "required": false,
            "description": "in (default) | out",
            "schema": {
              "type": "string",
              "enum": [
                "in",
                "out"
              ],
              "default": "in"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows to return, capped at 25 while the preview is locked.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 25
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "required": [],
                  "additionalProperties": true
                },
                "example": {
                  "id": "prod_hubspot",
                  "name": "HubSpot",
                  "category": "marketing-automation",
                  "total": 768,
                  "integrates": 768,
                  "listed": 0,
                  "truncated": true,
                  "items": [
                    {
                      "id": "ffea5565-4c47-48a3-9ef9-8040482ea1b4",
                      "n": "Zapier",
                      "c": "ipaas",
                      "kind": "integrates",
                      "via": [
                        {
                          "s": "zapier",
                          "n": "zapier",
                          "lc": "Marketing Automation",
                          "k": 1,
                          "url": null
                        }
                      ]
                    }
                  ],
                  "listsOut": {
                    "total": 2324,
                    "truncated": true,
                    "items": []
                  },
                  "unlocked": false
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Snapshot superseded. The body carries `current`, the snapshot id to switch to.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SnapshotConflict"
                }
              }
            }
          }
        }
      }
    },
    "/api/explorer/gaps": {
      "get": {
        "tags": [
          "Market Graph"
        ],
        "operationId": "marketGraphGaps",
        "summary": "Outbound reciprocity gaps",
        "description": "Walks the product's `listsOut` set and asks, for each partner, whether that partner lists the product back. Answers `{id,name,snapshotHasCoverage,coverage{…},stateFilter,total,truncated,items[],unlocked}`. `verified-gap` means \"not found in our index\", not \"no integration exists\".\n\nThe Market Graph ignores `x-api-version`: it has no version negotiation, declared or enforced. Pin the *data* with `?s=` instead.",
        "servers": [
          {
            "url": "https://lefthook.com",
            "description": "Market Graph (read-only)"
          }
        ],
        "parameters": [
          {
            "name": "s",
            "in": "query",
            "required": true,
            "description": "Snapshot id from GET /api/explorer/current. Required on this route — the API answers 400 without it; a stale id answers 409 with the current one.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "all | verified-gap | unknown | reciprocated",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "required": [],
                  "additionalProperties": true
                },
                "example": {
                  "id": "prod_hubspot",
                  "name": "HubSpot",
                  "snapshotHasCoverage": true,
                  "coverage": {
                    "listedRaw": 2723,
                    "listedResolved": 2324,
                    "reciprocated": 313,
                    "verifiedGap": 139,
                    "unknown": 2271,
                    "evaluableFraction": 0.8534704370179949
                  },
                  "stateFilter": "all",
                  "total": 2324,
                  "truncated": true,
                  "unlocked": false
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Snapshot superseded. The body carries `current`, the snapshot id to switch to.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SnapshotConflict"
                }
              }
            }
          }
        }
      }
    },
    "/api/explorer/explore": {
      "get": {
        "tags": [
          "Market Graph"
        ],
        "operationId": "marketGraphExplore",
        "summary": "Bounded graph slice",
        "description": "Nodes and edges around one product: `{snapshotId,takenAtUtc,id,scope,direction,unlocked,depth,fanout,kinds,nodes[],edges[],completeWithinScope,truncated,stopReasons[]}`. Caps at 100 nodes / 200 edges and reports `stopReasons` when truncated. Accepts an omitted `s` and resolves the live pointer.\n\nThe Market Graph ignores `x-api-version`: it has no version negotiation, declared or enforced. Pin the *data* with `?s=` instead.",
        "servers": [
          {
            "url": "https://lefthook.com",
            "description": "Market Graph (read-only)"
          }
        ],
        "parameters": [
          {
            "name": "s",
            "in": "query",
            "required": false,
            "description": "Optional on this route; omitted resolves the live pointer.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "depth",
            "in": "query",
            "required": false,
            "description": "0–2",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "fanout",
            "in": "query",
            "required": false,
            "description": "1–25",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "kinds",
            "in": "query",
            "required": false,
            "description": "integrates | listed (comma-separated)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "required": [],
                  "additionalProperties": true
                },
                "example": {
                  "snapshotId": "prod-20261201-explorer",
                  "takenAtUtc": "2026-12-01T05:42:50Z",
                  "id": "prod_hubspot",
                  "scope": "public_product_previews",
                  "direction": "out",
                  "unlocked": false,
                  "depth": 1,
                  "fanout": 10,
                  "kinds": [
                    "integrates"
                  ],
                  "nodes": [
                    {
                      "id": "prod_hubspot",
                      "n": "HubSpot",
                      "c": "marketing-automation",
                      "hop": 0
                    },
                    {
                      "id": "03fd88ca-47ae-4044-8c60-cddb798213f2",
                      "n": "…",
                      "c": null,
                      "hop": 1
                    }
                  ],
                  "edges": [
                    {
                      "from": "prod_hubspot",
                      "to": "03fd88ca-47ae-4044-8c60-cddb798213f2",
                      "kind": "integrates",
                      "evidence": {
                        "productId": "prod_hubspot"
                      }
                    }
                  ],
                  "completeWithinScope": false,
                  "truncated": true,
                  "stopReasons": [
                    "fanout"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Snapshot superseded. The body carries `current`, the snapshot id to switch to.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SnapshotConflict"
                }
              }
            }
          }
        }
      }
    },
    "/api/explorer/directory": {
      "get": {
        "tags": [
          "Market Graph"
        ],
        "operationId": "marketGraphDirectory",
        "summary": "A directory by slug",
        "description": "Directories resolve to their owning product; most answers are a moved pointer. Unknown slug answers 404 `unknown directory`.\n\nThe Market Graph ignores `x-api-version`: it has no version negotiation, declared or enforced. Pin the *data* with `?s=` instead.",
        "servers": [
          {
            "url": "https://lefthook.com",
            "description": "Market Graph (read-only)"
          }
        ],
        "parameters": [
          {
            "name": "s",
            "in": "query",
            "required": true,
            "description": "Snapshot id from GET /api/explorer/current. Required on this route — the API answers 400 without it; a stale id answers 409 with the current one.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "slug",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "required": [],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Snapshot superseded. The body carries `current`, the snapshot id to switch to.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SnapshotConflict"
                }
              }
            }
          }
        }
      }
    },
    "/api/explorer/render": {
      "get": {
        "tags": [
          "Market Graph"
        ],
        "operationId": "marketGraphRender",
        "summary": "Baked overview render",
        "description": "Graph coordinates and category labels for a snapshot. Answers `{snapshotId,takenAtUtc,categories{…},…}`. Large (several MB) — cache it, do not poll it.\n\nThe Market Graph ignores `x-api-version`: it has no version negotiation, declared or enforced. Pin the *data* with `?s=` instead.",
        "servers": [
          {
            "url": "https://lefthook.com",
            "description": "Market Graph (read-only)"
          }
        ],
        "parameters": [
          {
            "name": "s",
            "in": "query",
            "required": true,
            "description": "Snapshot id from GET /api/explorer/current. Required on this route — the API answers 400 without it; a stale id answers 409 with the current one.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "required": [],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Snapshot superseded. The body carries `current`, the snapshot id to switch to.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SnapshotConflict"
                }
              }
            }
          }
        }
      }
    },
    "/api/explorer/marketplaces": {
      "get": {
        "tags": [
          "Market Graph"
        ],
        "operationId": "marketGraphMarketplaces",
        "summary": "Marketplace overview",
        "description": "Marketplace overview for the snapshot. Add `layer=overview|top24|glyphs|ids` for a lighter projection; `n=20|60|120` only with an explicit layer.\n\nThe Market Graph ignores `x-api-version`: it has no version negotiation, declared or enforced. Pin the *data* with `?s=` instead.",
        "servers": [
          {
            "url": "https://lefthook.com",
            "description": "Market Graph (read-only)"
          }
        ],
        "parameters": [
          {
            "name": "s",
            "in": "query",
            "required": true,
            "description": "Snapshot id from GET /api/explorer/current. Required on this route — the API answers 400 without it; a stale id answers 409 with the current one.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "layer",
            "in": "query",
            "required": false,
            "description": "overview | top24 | glyphs | ids",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "n",
            "in": "query",
            "required": false,
            "description": "20 | 60 | 120, only with an explicit layer.",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "required": [],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Snapshot superseded. The body carries `current`, the snapshot id to switch to.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SnapshotConflict"
                }
              }
            }
          }
        }
      }
    },
    "/api/explorer/clusters": {
      "get": {
        "tags": [
          "Market Graph"
        ],
        "operationId": "marketGraphClusters",
        "summary": "Cluster membership and labels",
        "description": "Answers `{snapshotId,takenAtUtc,view,n,modularity,labelsStatus,labels[{id,name,…}]}`.\n\nThe Market Graph ignores `x-api-version`: it has no version negotiation, declared or enforced. Pin the *data* with `?s=` instead.",
        "servers": [
          {
            "url": "https://lefthook.com",
            "description": "Market Graph (read-only)"
          }
        ],
        "parameters": [
          {
            "name": "s",
            "in": "query",
            "required": true,
            "description": "Snapshot id from GET /api/explorer/current. Required on this route — the API answers 400 without it; a stale id answers 409 with the current one.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "required": [],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Snapshot superseded. The body carries `current`, the snapshot id to switch to.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SnapshotConflict"
                }
              }
            }
          }
        }
      }
    },
    "/api/explorer/universe": {
      "get": {
        "tags": [
          "Market Graph"
        ],
        "operationId": "marketGraphUniverse",
        "summary": "Category universe with cluster sizes",
        "description": "Answers `{snapshotId,takenAtUtc,view,n,clusters[{id,slug,label,size}]}`.\n\nThe Market Graph ignores `x-api-version`: it has no version negotiation, declared or enforced. Pin the *data* with `?s=` instead.",
        "servers": [
          {
            "url": "https://lefthook.com",
            "description": "Market Graph (read-only)"
          }
        ],
        "parameters": [
          {
            "name": "s",
            "in": "query",
            "required": true,
            "description": "Snapshot id from GET /api/explorer/current. Required on this route — the API answers 400 without it; a stale id answers 409 with the current one.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "required": [],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Snapshot superseded. The body carries `current`, the snapshot id to switch to.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SnapshotConflict"
                }
              }
            }
          }
        }
      }
    },
    "/api/explorer/ecosystems": {
      "get": {
        "tags": [
          "Market Graph"
        ],
        "operationId": "marketGraphEcosystems",
        "summary": "Ecosystem counts per category",
        "description": "Answers `{snapshotId,takenAtUtc,view,n,clusters[{id,slug,label,size}]}` — counts of ecosystems, not listings.\n\nThe Market Graph ignores `x-api-version`: it has no version negotiation, declared or enforced. Pin the *data* with `?s=` instead.",
        "servers": [
          {
            "url": "https://lefthook.com",
            "description": "Market Graph (read-only)"
          }
        ],
        "parameters": [
          {
            "name": "s",
            "in": "query",
            "required": true,
            "description": "Snapshot id from GET /api/explorer/current. Required on this route — the API answers 400 without it; a stale id answers 409 with the current one.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "required": [],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Snapshot superseded. The body carries `current`, the snapshot id to switch to.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SnapshotConflict"
                }
              }
            }
          }
        }
      }
    },
    "/api/explorer/traverse": {
      "get": {
        "tags": [
          "Market Graph"
        ],
        "operationId": "marketGraphTraverse",
        "summary": "Bounded traversal, both directions",
        "description": "Flag-gated. Answers **503** `{\"error\":\"snapshot unavailable\"}` on the current deployment — the flag is off, so do not plan around this route yet. When enabled: `id`, `direction=out|in|both`, `depth` 0–2, `fanout` 1–25.\n\nThe Market Graph ignores `x-api-version`: it has no version negotiation, declared or enforced. Pin the *data* with `?s=` instead.",
        "servers": [
          {
            "url": "https://lefthook.com",
            "description": "Market Graph (read-only)"
          }
        ],
        "parameters": [
          {
            "name": "s",
            "in": "query",
            "required": true,
            "description": "Snapshot id from GET /api/explorer/current. Required on this route — the API answers 400 without it; a stale id answers 409 with the current one.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "direction",
            "in": "query",
            "required": false,
            "description": "out | in | both",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "depth",
            "in": "query",
            "required": false,
            "description": "0–2",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "fanout",
            "in": "query",
            "required": false,
            "description": "1–25",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "required": [],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request — missing required parameter, or an x-api-version outside the window.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key",
        "description": "Send it even though the catalog is currently unauthenticated — the gate is not on today, and this header is what will work when it is. `Authorization: Bearer <key>` is also accepted."
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "example": "Not Found"
          },
          "message": {
            "type": "string",
            "example": "Product with identifier \"nope-nope\" was not found."
          },
          "supported": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Present only on a version-negotiation 400.",
            "example": [
              "2026-12-01"
            ]
          }
        },
        "required": [
          "error"
        ],
        "additionalProperties": true
      },
      "SnapshotConflict": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "example": "snapshot superseded"
          },
          "current": {
            "type": "string",
            "example": "prod-20261201-explorer"
          }
        },
        "required": [
          "error",
          "current"
        ],
        "additionalProperties": true
      },
      "PageMeta": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer"
          },
          "pageSize": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          },
          "totalPages": {
            "type": "integer"
          },
          "hasNextPage": {
            "type": "boolean"
          }
        },
        "required": [
          "page",
          "pageSize",
          "total",
          "totalPages",
          "hasNextPage"
        ],
        "additionalProperties": true
      },
      "Links": {
        "type": "object",
        "properties": {
          "self": {
            "type": "string",
            "example": "?page=1&pageSize=20"
          },
          "next": {
            "type": [
              "string",
              "null"
            ],
            "example": "?page=2&pageSize=20"
          },
          "last": {
            "type": "string",
            "example": "?page=4&pageSize=20"
          }
        },
        "required": [
          "self",
          "next",
          "last"
        ],
        "additionalProperties": true
      },
      "SearchHit": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "apis",
              "platforms",
              "products",
              "integration-tools",
              "case-studies",
              "blog-posts",
              "partners",
              "clients",
              "resources"
            ]
          },
          "slug": {
            "type": "string",
            "example": "hubspot"
          },
          "title": {
            "type": "string",
            "example": "HubSpot"
          },
          "description": {
            "type": "string"
          },
          "score": {
            "type": "integer",
            "example": 250,
            "description": "Relevance score, higher first."
          }
        },
        "required": [
          "type",
          "slug",
          "title",
          "description",
          "score"
        ],
        "additionalProperties": true
      },
      "Product": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "hubspot-product"
          },
          "slug": {
            "type": "string",
            "example": "hubspot"
          },
          "name": {
            "type": "string",
            "example": "HubSpot"
          },
          "company": {
            "type": "string",
            "example": "HubSpot"
          },
          "category": {
            "type": "string",
            "example": "crm"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "targetMarket": {
            "type": "string",
            "example": "all"
          },
          "availableOn": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiSlugs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "integrationToolSlugs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "experience": {
            "type": "string",
            "example": "Expert"
          },
          "hasPlatform": {
            "type": "boolean"
          },
          "platformSlug": {
            "type": [
              "string",
              "null"
            ]
          },
          "caseStudySlugs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "relatedProductSlugs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "featured": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "example": "Active"
          }
        },
        "required": [
          "id",
          "slug",
          "name"
        ],
        "additionalProperties": true
      },
      "Platform": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "hubspot"
          },
          "slug": {
            "type": "string",
            "example": "hubspot"
          },
          "name": {
            "type": "string",
            "example": "HubSpot"
          },
          "company": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "entityLevel": {
            "type": "string",
            "example": "product",
            "description": "product | ecosystem"
          },
          "parentSlug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Present on a child platform."
          },
          "childSlugs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isLandingOnly": {
            "type": "boolean"
          },
          "isEcosystem": {
            "type": "boolean"
          },
          "apiCount": {
            "type": "integer"
          },
          "ecosystemOverview": {
            "type": "string"
          },
          "ecosystemProducts": {
            "type": "array",
            "items": {}
          },
          "ecosystemUseCases": {
            "type": "array",
            "items": {}
          },
          "hasMarketplace": {
            "type": "boolean"
          },
          "marketplaces": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "example": "app-store"
                },
                "url": {
                  "type": "string"
                },
                "totalApps": {
                  "type": "string",
                  "example": "1,000+"
                },
                "complexity": {
                  "type": "string"
                },
                "strategies": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "keyBenefits": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [],
              "additionalProperties": true
            }
          },
          "status": {
            "type": "string"
          },
          "experience": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "featured": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "slug",
          "name"
        ],
        "additionalProperties": true
      },
      "Api": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "hubspot-crm"
          },
          "slug": {
            "type": "string",
            "example": "hubspot"
          },
          "name": {
            "type": "string",
            "example": "HubSpot CRM"
          },
          "provider": {
            "type": "string",
            "example": "HubSpot"
          },
          "category": {
            "type": "string",
            "example": "crm"
          },
          "description": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "documentationUrl": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "example": "Active"
          },
          "experience": {
            "type": "string",
            "example": "Expert"
          },
          "complexity": {
            "type": "string",
            "example": "Medium"
          },
          "platformSlug": {
            "type": [
              "string",
              "null"
            ],
            "example": "hubspot"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "featured": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "slug",
          "name",
          "provider"
        ],
        "additionalProperties": true
      },
      "IntegrationTool": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "actian"
          },
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "category": {
            "type": "string",
            "example": "data-etl"
          },
          "description": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "deployment": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "saas",
                "self-hosted",
                "embedded",
                "hybrid"
              ]
            }
          },
          "founded": {
            "type": "string"
          },
          "history": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "pricingModel": {
            "type": "string"
          },
          "targetMarket": {
            "type": "string"
          },
          "openSource": {
            "type": "boolean"
          },
          "keyFeatures": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "integrationCount": {
            "type": "string",
            "example": "100+"
          },
          "experience": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "featured": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "slug",
          "name"
        ],
        "additionalProperties": true
      },
      "CaseStudy": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "quo"
          },
          "slug": {
            "type": "string"
          },
          "category": {
            "type": "string",
            "example": "software"
          },
          "title": {
            "type": "string"
          },
          "client": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "segment": {
            "type": "string"
          },
          "duration": {
            "type": "string"
          },
          "challenge": {
            "type": "string"
          },
          "solution": {
            "type": "string"
          },
          "results": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "id",
          "slug",
          "title"
        ],
        "additionalProperties": true
      },
      "BlogPost": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "excerpt": {
            "type": "string"
          },
          "author": {
            "type": "string"
          },
          "publishDate": {
            "type": "string",
            "format": "date"
          },
          "category": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "example": "published"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "readTime": {
            "type": "string",
            "example": "6 min read"
          },
          "featured": {
            "type": "boolean"
          },
          "contentFile": {
            "type": "string"
          },
          "thumbnail": {
            "type": "string"
          },
          "ogImage": {
            "type": "string"
          },
          "heroImage": {
            "type": "string"
          },
          "toc": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          }
        },
        "required": [
          "id",
          "slug",
          "title"
        ],
        "additionalProperties": true
      },
      "Partner": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "example": "software"
          },
          "description": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "partnerSince": {
            "type": "string"
          },
          "tier": {
            "type": "string",
            "example": "Partner"
          },
          "mutualReferrals": {
            "type": "boolean"
          },
          "specialOffer": {
            "type": "object",
            "properties": {
              "headline": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "ctaText": {
                "type": "string"
              },
              "ctaHref": {
                "type": "string"
              }
            },
            "required": [],
            "additionalProperties": true
          },
          "caseStudySlugs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "certifications": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "badges": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "id",
          "slug",
          "name"
        ],
        "additionalProperties": true
      },
      "Resource": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "example": "Template"
          },
          "audience": {
            "type": "string",
            "example": "Technical"
          },
          "category": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "featured": {
            "type": "boolean"
          },
          "gated": {
            "type": "boolean"
          },
          "downloadUrl": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "slug",
          "title"
        ],
        "additionalProperties": true
      },
      "Industry": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "legal-firms"
          },
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "headline": {
            "type": "string"
          },
          "subheadline": {
            "type": "string"
          },
          "icon": {
            "type": "string"
          },
          "examples": {
            "type": "string"
          },
          "painPoints": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                }
              },
              "required": [],
              "additionalProperties": true
            }
          },
          "solutions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                }
              },
              "required": [],
              "additionalProperties": true
            }
          }
        },
        "required": [
          "id",
          "slug",
          "name"
        ],
        "additionalProperties": true
      },
      "SoftwareStage": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "early-stage"
          },
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "headline": {
            "type": "string"
          },
          "subheadline": {
            "type": "string"
          },
          "icon": {
            "type": "string"
          },
          "examples": {
            "type": "string"
          },
          "painPoints": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                }
              },
              "required": [],
              "additionalProperties": true
            }
          },
          "solutions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                }
              },
              "required": [],
              "additionalProperties": true
            }
          }
        },
        "required": [
          "id",
          "slug",
          "name"
        ],
        "additionalProperties": true
      },
      "Count": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "crm"
          },
          "count": {
            "type": "integer",
            "example": 16
          }
        },
        "required": [
          "name",
          "count"
        ],
        "additionalProperties": true
      },
      "Faq": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "question": {
            "type": "string"
          },
          "answer": {
            "type": "string"
          },
          "category": {
            "type": "string"
          }
        },
        "required": [],
        "additionalProperties": true
      },
      "Stats": {
        "type": "object",
        "properties": {
          "apis": {
            "type": "integer",
            "example": 237
          },
          "platforms": {
            "type": "integer",
            "example": 70
          },
          "ecosystems": {
            "type": "integer",
            "example": 50
          },
          "marketplaces": {
            "type": "integer",
            "example": 64
          },
          "products": {
            "type": "integer",
            "example": 162
          },
          "integrationTools": {
            "type": "integer",
            "example": 164
          },
          "caseStudies": {
            "type": "integer",
            "example": 6
          },
          "blogPosts": {
            "type": "integer",
            "example": 43
          },
          "partners": {
            "type": "integer",
            "example": 11
          },
          "clients": {
            "type": "integer",
            "example": 1
          },
          "resources": {
            "type": "integer",
            "example": 17
          },
          "faqs": {
            "type": "integer",
            "example": 0
          },
          "industries": {
            "type": "integer",
            "example": 11
          },
          "softwareStages": {
            "type": "integer",
            "example": 3
          }
        },
        "required": [
          "apis",
          "platforms",
          "products"
        ],
        "additionalProperties": true
      }
    }
  }
}