{
  "openapi": "3.1.0",
  "info": {
    "title": "Allocator Desk Public Content API",
    "version": "1.0.0",
    "summary": "Read-only JSON feeds of Allocator Desk public content for agents and integrations.",
    "description": "Public, unauthenticated, read-only endpoints that mirror the published content on allocatordesk.com: LP insights articles and the curated private markets conference calendar. No client data is exposed through this API.",
    "contact": {
      "name": "Allocator Desk",
      "url": "https://allocatordesk.com/about"
    },
    "license": {
      "name": "Content available for reference with attribution",
      "url": "https://allocatordesk.com/terms"
    }
  },
  "servers": [
    {
      "url": "https://allocatordesk.com/api",
      "description": "Production"
    }
  ],
  "externalDocs": {
    "description": "Human and agent readable API documentation",
    "url": "https://allocatordesk.com/api-docs/"
  },
  "paths": {
    "/insights.json": {
      "get": {
        "operationId": "listInsights",
        "summary": "List published insights articles",
        "description": "Returns every published Allocator Desk insight with slug, title, summary, tags, timestamps, and canonical URL.",
        "responses": {
          "200": {
            "description": "Insights collection",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightCollection"
                }
              }
            }
          }
        }
      }
    },
    "/conferences.json": {
      "get": {
        "operationId": "listConferences",
        "summary": "List curated LP conferences",
        "description": "Returns the curated private markets and LP conference calendar with dates, locations, organizers, asset classes, and audience.",
        "responses": {
          "200": {
            "description": "Conference collection",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConferenceCollection"
                }
              }
            }
          }
        }
      }
    },
    "/status.json": {
      "get": {
        "operationId": "getStatus",
        "summary": "API status",
        "description": "Health and freshness signal for the public content endpoints.",
        "responses": {
          "200": {
            "description": "Service status",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Status"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "InsightCollection": {
        "type": "object",
        "required": [
          "generatedAt",
          "count",
          "items"
        ],
        "properties": {
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "count": {
            "type": "integer"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Insight"
            }
          }
        }
      },
      "Insight": {
        "type": "object",
        "required": [
          "slug",
          "url"
        ],
        "properties": {
          "slug": {
            "type": "string"
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "publishedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "category": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "ConferenceCollection": {
        "type": "object",
        "required": [
          "generatedAt",
          "count",
          "items"
        ],
        "properties": {
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "count": {
            "type": "integer"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Conference"
            }
          }
        }
      },
      "Conference": {
        "type": "object",
        "required": [
          "slug",
          "name",
          "startDate",
          "endDate",
          "url"
        ],
        "properties": {
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "organizer": {
            "type": "string"
          },
          "organizerUrl": {
            "type": "string",
            "format": "uri"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "assetClasses": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "audience": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "focus": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Status": {
        "type": "object",
        "required": [
          "status",
          "checkedAt"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "pass",
              "warn",
              "fail"
            ]
          },
          "service": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "checkedAt": {
            "type": "string",
            "format": "date-time"
          },
          "endpoints": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            }
          }
        }
      }
    }
  }
}
