{
    "openapi": "3.1.0",
    "info": {
        "title": "Keona Health Public API",
        "version": "1.0.0",
        "summary": "Read-only public information about Keona Health for AI agents and integrations.",
        "description": "Read-only, no authentication. List Keona Health services, search keonahealth.com, read any public page as markdown, and get contact and demo details. The same operations are available as MCP tools at https://keonahealth.com/mcp. No patient or customer data is available.",
        "termsOfService": "https://keonahealth.com/terms-of-use/",
        "contact": {
            "name": "Keona Health",
            "url": "https://keonahealth.com/contact-us/",
            "email": "support@keonahealth.com"
        }
    },
    "servers": [
        {
            "url": "https://keonahealth.com/wp-json/keona/v1",
            "description": "Production"
        }
    ],
    "security": [],
    "tags": [
        {
            "name": "Public",
            "description": "Read-only public endpoints."
        }
    ],
    "paths": {
        "/services": {
            "get": {
                "operationId": "listServices",
                "summary": "List Keona Health services",
                "description": "List Keona Health products and services (AI call answering, self-scheduling, nurse triage, healthcare CRM and more) with a short summary and a link for each.",
                "tags": [
                    "Public"
                ],
                "responses": {
                    "200": {
                        "description": "Successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ServiceList"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid or missing parameters.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "x-mcp-tool": "list_services"
            }
        },
        "/search": {
            "get": {
                "operationId": "searchSite",
                "summary": "Search keonahealth.com",
                "description": "Search published pages, blog posts, news and case studies on keonahealth.com. Returns titles, URLs, markdown URLs and short excerpts.",
                "tags": [
                    "Public"
                ],
                "responses": {
                    "200": {
                        "description": "Successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SearchResults"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid or missing parameters.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "x-mcp-tool": "search_site",
                "parameters": [
                    {
                        "name": "query",
                        "in": "query",
                        "required": true,
                        "description": "Words to search for, e.g. \"nurse triage\" or \"orthopedics\".",
                        "schema": {
                            "type": "string",
                            "minLength": 2,
                            "maxLength": 200
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "description": "Maximum number of results.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 20,
                            "default": 8
                        }
                    }
                ]
            }
        },
        "/page": {
            "get": {
                "operationId": "getPageMarkdown",
                "summary": "Read a keonahealth.com page",
                "description": "Get the full text of a public keonahealth.com page or post as markdown. Accepts a full URL or a path such as /caredesk-kara/.",
                "tags": [
                    "Public"
                ],
                "responses": {
                    "200": {
                        "description": "Successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PageMarkdown"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid or missing parameters.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "No public page found at that URL.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "x-mcp-tool": "get_page",
                "parameters": [
                    {
                        "name": "url",
                        "in": "query",
                        "required": true,
                        "description": "Page URL on keonahealth.com, or a path like /triage-software/.",
                        "schema": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 500
                        }
                    }
                ]
            }
        },
        "/contact": {
            "get": {
                "operationId": "getContactInfo",
                "summary": "Get Keona Health contact details",
                "description": "Get Keona Health public contact details: phone, address, emails, demo request and contact page links.",
                "tags": [
                    "Public"
                ],
                "responses": {
                    "200": {
                        "description": "Successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ContactInfo"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid or missing parameters.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                },
                "x-mcp-tool": "get_contact_info"
            }
        }
    },
    "components": {
        "schemas": {
            "Error": {
                "type": "object",
                "description": "Error response.",
                "properties": {
                    "code": {
                        "type": "string",
                        "description": "Machine-readable error code."
                    },
                    "message": {
                        "type": "string",
                        "description": "Human-readable error message."
                    },
                    "data": {
                        "type": "object",
                        "properties": {
                            "status": {
                                "type": "integer",
                                "description": "HTTP status code."
                            }
                        }
                    }
                },
                "required": [
                    "code",
                    "message"
                ]
            },
            "ServiceList": {
                "type": "object",
                "description": "Keona Health products and services.",
                "properties": {
                    "services": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": "string",
                                    "description": "Stable service identifier."
                                },
                                "name": {
                                    "type": "string",
                                    "description": "Service name."
                                },
                                "summary": {
                                    "type": "string",
                                    "description": "One-sentence summary."
                                },
                                "url": {
                                    "type": "string",
                                    "format": "uri",
                                    "description": "Page with details about the service."
                                }
                            },
                            "required": [
                                "id",
                                "name",
                                "summary",
                                "url"
                            ],
                            "additionalProperties": false
                        }
                    }
                },
                "required": [
                    "services"
                ],
                "additionalProperties": false
            },
            "SearchResults": {
                "type": "object",
                "description": "Search results from keonahealth.com.",
                "properties": {
                    "query": {
                        "type": "string",
                        "description": "The query that was searched."
                    },
                    "results": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "title": {
                                    "type": "string",
                                    "description": "Page or post title."
                                },
                                "url": {
                                    "type": "string",
                                    "format": "uri",
                                    "description": "Page URL."
                                },
                                "markdown_url": {
                                    "type": "string",
                                    "description": "URL of the markdown version of the page (empty when unavailable)."
                                },
                                "type": {
                                    "type": "string",
                                    "description": "Content type, e.g. page, post, news_new, case-studies-new."
                                },
                                "date": {
                                    "type": "string",
                                    "format": "date",
                                    "description": "Publish date (YYYY-MM-DD)."
                                },
                                "excerpt": {
                                    "type": "string",
                                    "description": "Short plain-text excerpt (about 40 words)."
                                }
                            },
                            "required": [
                                "title",
                                "url",
                                "markdown_url",
                                "type",
                                "date",
                                "excerpt"
                            ],
                            "additionalProperties": false
                        }
                    }
                },
                "required": [
                    "query",
                    "results"
                ],
                "additionalProperties": false
            },
            "PageMarkdown": {
                "type": "object",
                "description": "A keonahealth.com page as markdown.",
                "properties": {
                    "title": {
                        "type": "string",
                        "description": "Page title."
                    },
                    "url": {
                        "type": "string",
                        "format": "uri",
                        "description": "Canonical page URL."
                    },
                    "markdown_url": {
                        "type": "string",
                        "description": "URL of the markdown version of the page."
                    },
                    "markdown": {
                        "type": "string",
                        "description": "Full page content as markdown, starting with YAML frontmatter."
                    }
                },
                "required": [
                    "title",
                    "url",
                    "markdown_url",
                    "markdown"
                ],
                "additionalProperties": false
            },
            "ContactInfo": {
                "type": "object",
                "description": "Keona Health public contact details.",
                "properties": {
                    "company": {
                        "type": "string",
                        "description": "Legal company name."
                    },
                    "website": {
                        "type": "string",
                        "format": "uri",
                        "description": "Company website."
                    },
                    "phone": {
                        "type": "string",
                        "description": "Main phone number."
                    },
                    "address": {
                        "type": "string",
                        "description": "Postal address."
                    },
                    "support_email": {
                        "type": "string",
                        "format": "email",
                        "description": "Customer support email."
                    },
                    "partners_email": {
                        "type": "string",
                        "format": "email",
                        "description": "Partnerships email."
                    },
                    "press_email": {
                        "type": "string",
                        "format": "email",
                        "description": "Press and media email."
                    },
                    "request_demo": {
                        "type": "string",
                        "format": "uri",
                        "description": "Demo request page."
                    },
                    "contact_page": {
                        "type": "string",
                        "format": "uri",
                        "description": "Contact page."
                    },
                    "linkedin": {
                        "type": "string",
                        "format": "uri",
                        "description": "LinkedIn page."
                    },
                    "youtube": {
                        "type": "string",
                        "format": "uri",
                        "description": "YouTube channel."
                    },
                    "x": {
                        "type": "string",
                        "format": "uri",
                        "description": "X (Twitter) profile."
                    }
                },
                "required": [
                    "company",
                    "website",
                    "phone",
                    "address",
                    "support_email",
                    "request_demo",
                    "contact_page"
                ],
                "additionalProperties": false
            }
        }
    },
    "externalDocs": {
        "description": "MCP server card for the same tools",
        "url": "https://keonahealth.com/mcp/server-card"
    }
}