{"openapi": "3.1.0", "info": {"title": "EliteHealthAI API", "version": "1.0.0", "description": "EliteHealthAI is a health information assistant. The supplement tool reads the same curated database the site uses and returns a supplement's common use, typical range, upper limit, the forms that absorb best, any regulatory warning and the source links. It never calls a language model. It is general information, not medical advice.", "contact": {"url": "https://elitehealthai.com/agents"}}, "servers": [{"url": "https://elitehealthai.com"}], "paths": {"/v1/supplement-facts": {"post": {"operationId": "doctor_supplement_facts", "summary": "Curated facts for one supplement", "description": "Send a supplement name or alias. You get its category, common use, typical range, upper limit, best absorbed forms, regulatory status and sources. General information, not medical advice.", "tags": ["actions"], "x-scope": "write", "x-free": true, "security": [{}, {"bearerKey": []}], "responses": {"200": {"description": "Success", "content": {"application/json": {"schema": {"type": "object"}}}}, "400": {"description": "Bad input", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "401": {"description": "Missing, unknown or revoked key", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "Key lacks the required scope", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "429": {"description": "Rate limit hit; see Retry-After", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "headers": {"Retry-After": {"schema": {"type": "integer"}}, "X-RateLimit-Limit": {"schema": {"type": "integer"}}, "X-RateLimit-Remaining": {"schema": {"type": "integer"}}}}}, "x-read-only": true, "x-pricing": {"unit": "call", "price_usd": 0, "free_quota": "200 per day per IP", "note": "Keyed volume pricing is published at https://elitehealthai.com/pricing"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"name": {"type": "string", "minLength": 1, "maxLength": 80}}, "required": ["name"]}}}}}}, "/v1/supplements": {"get": {"operationId": "doctor_supplement_list", "summary": "List supplements in the database", "description": "Returns the display name of every supplement the facts tool covers.", "tags": ["actions"], "x-scope": "read", "x-free": true, "security": [{}, {"bearerKey": []}], "responses": {"200": {"description": "Success", "content": {"application/json": {"schema": {"type": "object"}}}}, "400": {"description": "Bad input", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "401": {"description": "Missing, unknown or revoked key", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "Key lacks the required scope", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "429": {"description": "Rate limit hit; see Retry-After", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "headers": {"Retry-After": {"schema": {"type": "integer"}}, "X-RateLimit-Limit": {"schema": {"type": "integer"}}, "X-RateLimit-Remaining": {"schema": {"type": "integer"}}}}}, "x-pricing": {"unit": "call", "price_usd": 0, "free_quota": "200 per day per IP", "note": "Keyed volume pricing is published at https://elitehealthai.com/pricing"}}}, "/v1/about": {"get": {"operationId": "doctor_about", "summary": "What EliteHealthAI does and what is free", "description": "What EliteHealthAI does and what is free", "tags": ["actions"], "x-scope": "read", "x-free": true, "security": [{}, {"bearerKey": []}], "responses": {"200": {"description": "Success", "content": {"application/json": {"schema": {"type": "object"}}}}, "400": {"description": "Bad input", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "401": {"description": "Missing, unknown or revoked key", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "Key lacks the required scope", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "429": {"description": "Rate limit hit; see Retry-After", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "headers": {"Retry-After": {"schema": {"type": "integer"}}, "X-RateLimit-Limit": {"schema": {"type": "integer"}}, "X-RateLimit-Remaining": {"schema": {"type": "integer"}}}}}, "x-pricing": {"unit": "call", "price_usd": 0, "free_quota": "200 per day per IP", "note": "Keyed volume pricing is published at https://elitehealthai.com/pricing"}}}, "/v1/pricing": {"get": {"operationId": "doctor_pricing", "summary": "Where prices live and what costs nothing", "description": "Where prices live and what costs nothing", "tags": ["actions"], "x-scope": "read", "x-free": true, "security": [{}, {"bearerKey": []}], "responses": {"200": {"description": "Success", "content": {"application/json": {"schema": {"type": "object"}}}}, "400": {"description": "Bad input", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "401": {"description": "Missing, unknown or revoked key", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "Key lacks the required scope", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "429": {"description": "Rate limit hit; see Retry-After", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "headers": {"Retry-After": {"schema": {"type": "integer"}}, "X-RateLimit-Limit": {"schema": {"type": "integer"}}, "X-RateLimit-Remaining": {"schema": {"type": "integer"}}}}}, "x-pricing": {"unit": "call", "price_usd": 0, "free_quota": "200 per day per IP", "note": "Keyed volume pricing is published at https://elitehealthai.com/pricing"}}}, "/v1/company-info": {"get": {"operationId": "doctor_get_company_info", "summary": "Who runs EliteHealthAI and how to reach them", "description": "Operator, address, support email and phone, and the links to pricing, privacy, terms and refund pages.", "tags": ["actions"], "x-scope": "read", "x-free": true, "security": [{}, {"bearerKey": []}], "responses": {"200": {"description": "Success", "content": {"application/json": {"schema": {"type": "object"}}}}, "400": {"description": "Bad input", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "401": {"description": "Missing, unknown or revoked key", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "Key lacks the required scope", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "429": {"description": "Rate limit hit; see Retry-After", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "headers": {"Retry-After": {"schema": {"type": "integer"}}, "X-RateLimit-Limit": {"schema": {"type": "integer"}}, "X-RateLimit-Remaining": {"schema": {"type": "integer"}}}}}, "x-pricing": {"unit": "call", "price_usd": 0, "free_quota": "200 per day per IP", "note": "Keyed volume pricing is published at https://elitehealthai.com/pricing"}}}, "/v1/list-pricing": {"get": {"operationId": "doctor_list_pricing", "summary": "Plans and prices, same as the live pricing page", "description": "Medical Pro, Fitness + Wellness and All Access, monthly and yearly (yearly is ten times monthly), plus the free account trial. Read from the live Stripe prices.", "tags": ["actions"], "x-scope": "read", "x-free": true, "security": [{}, {"bearerKey": []}], "responses": {"200": {"description": "Success", "content": {"application/json": {"schema": {"type": "object"}}}}, "400": {"description": "Bad input", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "401": {"description": "Missing, unknown or revoked key", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "Key lacks the required scope", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "429": {"description": "Rate limit hit; see Retry-After", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "headers": {"Retry-After": {"schema": {"type": "integer"}}, "X-RateLimit-Limit": {"schema": {"type": "integer"}}, "X-RateLimit-Remaining": {"schema": {"type": "integer"}}}}}, "x-pricing": {"unit": "call", "price_usd": 0, "free_quota": "200 per day per IP", "note": "Keyed volume pricing is published at https://elitehealthai.com/pricing"}}}, "/v1/checkout-link": {"post": {"operationId": "doctor_get_checkout_link", "summary": "Get the checkout link for a paid EliteHealthAI plan", "description": "Returns the link to open for a plan. Opening it creates a Stripe Checkout page; nothing is charged by this call. General wellness information, not medical care.", "tags": ["actions"], "x-scope": "write", "x-free": true, "security": [{}, {"bearerKey": []}], "responses": {"200": {"description": "Success", "content": {"application/json": {"schema": {"type": "object"}}}}, "400": {"description": "Bad input", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "401": {"description": "Missing, unknown or revoked key", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "Key lacks the required scope", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "429": {"description": "Rate limit hit; see Retry-After", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "headers": {"Retry-After": {"schema": {"type": "integer"}}, "X-RateLimit-Limit": {"schema": {"type": "integer"}}, "X-RateLimit-Remaining": {"schema": {"type": "integer"}}}}}, "x-read-only": true, "x-pricing": {"unit": "call", "price_usd": 0, "free_quota": "200 per day per IP", "note": "Keyed volume pricing is published at https://elitehealthai.com/pricing"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"plan": {"type": "string", "enum": ["medical_pro", "fitness_wellness", "all_access", "medical_pro_yearly", "fitness_wellness_yearly", "all_access_yearly"]}}, "required": ["plan"]}}}}}}, "/v1/site-search": {"get": {"operationId": "doctor_search_site", "summary": "Find the right EliteHealthAI page", "description": "Keyword search over the public pages: pricing, contact, support, privacy, terms, refunds, medical disclaimer.", "tags": ["actions"], "x-scope": "read", "x-free": true, "security": [{}, {"bearerKey": []}], "responses": {"200": {"description": "Success", "content": {"application/json": {"schema": {"type": "object"}}}}, "400": {"description": "Bad input", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "401": {"description": "Missing, unknown or revoked key", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "Key lacks the required scope", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "429": {"description": "Rate limit hit; see Retry-After", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "headers": {"Retry-After": {"schema": {"type": "integer"}}, "X-RateLimit-Limit": {"schema": {"type": "integer"}}, "X-RateLimit-Remaining": {"schema": {"type": "integer"}}}}}, "x-pricing": {"unit": "call", "price_usd": 0, "free_quota": "200 per day per IP", "note": "Keyed volume pricing is published at https://elitehealthai.com/pricing"}, "parameters": [{"name": "query", "in": "query", "required": true, "schema": {"type": "string", "minLength": 1, "maxLength": 120}}]}}, "/v1/usage": {"get": {"operationId": "usage_get", "summary": "Usage for the calling key (last 30 days)", "tags": ["account"], "x-scope": "read", "security": [{"bearerKey": []}], "x-pricing": {"currency": "USD", "unit": "call", "price_usd": 0, "metered": false, "note": "Reading your own usage is never billed."}, "responses": {"200": {"description": "Usage counters", "content": {"application/json": {"schema": {"type": "object", "properties": {"key_id": {"type": "string"}, "calls": {"type": "integer"}, "by_operation": {"type": "object", "additionalProperties": {"type": "integer"}}}}}}}, "401": {"description": "Missing, unknown or revoked key", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "Key lacks the required scope", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "429": {"description": "Rate limit hit; see Retry-After", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "headers": {"Retry-After": {"schema": {"type": "integer"}}, "X-RateLimit-Limit": {"schema": {"type": "integer"}}, "X-RateLimit-Remaining": {"schema": {"type": "integer"}}}}}}}}, "components": {"securitySchemes": {"bearerKey": {"type": "http", "scheme": "bearer", "description": "API key. Free-tier operations also work without a key (rate limited)."}}, "schemas": {"Error": {"type": "object", "required": ["error"], "properties": {"error": {"type": "object", "required": ["code", "message"], "properties": {"code": {"type": "string"}, "message": {"type": "string"}}}}}}}, "x-rate-limits": {"free": {"requests_per_minute": 10, "requests_per_day": 200}, "keyed": {"requests_per_minute": 120}}, "x-pricing": {"currency": "USD", "summary": "The supplement facts lookup is free without a key, up to 200 calls a day per IP. Paid plans for people: All Access $15 a month ($150 a year), Medical Pro $9 a month ($90 a year), Fitness + Wellness $9 a month ($90 a year). Live prices: https://elitehealthai.com/pricing", "default": {"unit": "call", "price_usd": 0, "free_quota": "200 per day per IP", "note": "Keyed volume pricing is published at https://elitehealthai.com/pricing"}}}