{
  "openapi": "3.1.0",
  "info": {
    "title": "Nubis Digital agent API",
    "version": "1.0.0",
    "description": "Read-only structured content from nubisdigital.com, generated from the same copy the pages show."
  },
  "servers": [
    {
      "url": "https://www.nubisdigital.com"
    }
  ],
  "paths": {
    "/agent/v1/index.json": {
      "get": {
        "operationId": "getIndex",
        "summary": "Every agent interface in one document",
        "responses": {
          "200": {
            "description": "Index",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/agent/v1/tools.json": {
      "get": {
        "operationId": "listTools",
        "summary": "Agent tools and their permission tiers",
        "responses": {
          "200": {
            "description": "Tools",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/agent/v1/{locale}/business.json": {
      "get": {
        "operationId": "get_business",
        "summary": "Who Nubis Digital is, where it works and how to reach it",
        "parameters": [
          {
            "name": "locale",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "es"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Who Nubis Digital is, where it works and how to reach it",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/agent/v1/{locale}/services.json": {
      "get": {
        "operationId": "get_services",
        "summary": "Services offered",
        "parameters": [
          {
            "name": "locale",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "es"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Services offered",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/agent/v1/{locale}/pages.json": {
      "get": {
        "operationId": "get_pages",
        "summary": "Every page with URLs and Markdown versions",
        "parameters": [
          {
            "name": "locale",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "es"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Every page with URLs and Markdown versions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/agent/v1/{locale}/case-studies.json": {
      "get": {
        "operationId": "get_case_studies",
        "summary": "Websites built, with links to see them live",
        "parameters": [
          {
            "name": "locale",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "es"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Websites built, with links to see them live",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/agent/v1/{locale}/faqs.json": {
      "get": {
        "operationId": "get_faqs",
        "summary": "Questions and answers about AI visibility",
        "parameters": [
          {
            "name": "locale",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "es"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Questions and answers about AI visibility",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/agent/v1/{locale}/ai-visibility-questions.json": {
      "get": {
        "operationId": "get_ai_visibility_questions",
        "summary": "The AI visibility scorecard questions and weights",
        "parameters": [
          {
            "name": "locale",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "es"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The AI visibility scorecard questions and weights",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/agent/v1/{locale}/search-index.json": {
      "get": {
        "operationId": "get_search_index",
        "summary": "Every page split into sections, for search and citation",
        "parameters": [
          {
            "name": "locale",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "es"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Every page split into sections, for search and citation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/agent/v1/{locale}/offers.json": {
      "get": {
        "operationId": "get_offers",
        "summary": "Fixed-price offers agents can buy for the people they work for (start_checkout)",
        "parameters": [
          {
            "name": "locale",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "es"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Fixed-price offers agents can buy for the people they work for (start_checkout)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/agent/v1/{locale}/pages/{slug}.json": {
      "get": {
        "operationId": "getPage",
        "summary": "One page as Markdown with metadata",
        "parameters": [
          {
            "name": "locale",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "es"
              ]
            }
          },
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "home",
                "ai-visibility-check",
                "umbraco",
                "work",
                "about"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Page",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/mcp": {
      "post": {
        "operationId": "mcp",
        "summary": "Model Context Protocol endpoint (Streamable HTTP, JSON-RPC 2.0)",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  }
}