{
  "openapi": "3.1.0",
  "info": {
    "title": "ClipIt",
    "summary": "Public HTTP surface for ClipIt (clipit.now)",
    "description": "ClipIt is a signed-in web product for AI video search and clipping. This OpenAPI document describes only unauthenticated public endpoints. There is no public REST API for uploads, recordings, or clips. See https://www.clipit.now/developers.",
    "version": "1.0.0",
    "contact": {
      "name": "ClipIt support",
      "email": "support@clipit.now",
      "url": "https://www.clipit.now/contact"
    }
  },
  "servers": [
    {
      "url": "https://www.clipit.now"
    }
  ],
  "paths": {
    "/api/health": {
      "get": {
        "operationId": "getHealth",
        "summary": "Deployment health",
        "description": "Reports whether this ClipIt deployment can reach its database and which credentials resolved. No authentication.",
        "responses": {
          "200": {
            "description": "Health payload",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "status": {
                      "type": "string"
                    },
                    "commit": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/share/{token}": {
      "get": {
        "operationId": "getSharedClip",
        "summary": "Public share payload",
        "description": "Returns the public finding for a clip share token created in the ClipIt web app. Reveals title, range, quote, rationale, and optional export playback — not the source recording or account. No authentication. Unlisted: do not scrape.",
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Share payload",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "404": {
            "description": "Unknown or revoked token"
          }
        }
      }
    }
  }
}
