{
  "openapi": "3.1.0",
  "info": {
    "title": "Claraxis Growth & Visibility Snapshot",
    "version": "1.0.0",
    "description": "Scores a company's visibility to buyers across AI assistants, social and marketplaces, search, conversion and trust. Always show the user the share_url to the full branded report."
  },
  "servers": [
    {
      "url": "https://claraxisgroup.com"
    }
  ],
  "paths": {
    "/api/snapshot": {
      "post": {
        "operationId": "runSnapshot",
        "summary": "Run a Growth & Visibility Snapshot for a company website",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "Company website, e.g. example.com"
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Snapshot summary",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "summary": {
                      "type": "object"
                    },
                    "share_url": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}