Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: teas.co.uk Public REST Discovery API
version: 1.3.0
x-codename: nicola-v5
x-released: '2026-10-06'
description: 'Welcome to Nicola V5, the concise teas.co.uk AI hospitality layer. This document lists 147 paths: every surface in the central AI surface registry (116 registered surfaces) plus the documented Ask, Product Truth and routing paths. The public HTTP endpoints are read only. Use Ask for concise natural language answers and structured safety and handoff decisions; use Product Truth for exact product records. teas.co.uk has an MCP server for AI assistants: search, compare and build a basket at https://teas.co.uk/mcp (guide https://teas.co.uk/ai/). Baskets and checkout links are available through https://teas.co.uk/mcp or a basket link (https://teas.co.uk/go/basket/?items=ID:QTY) when the person asks. The person always pays on teas.co.uk. The HTTP APIs are read only.'
contact:
name: teas.co.uk
email: hello@teas.co.uk
url: https://teas.co.uk
servers:
- url: https://teas.co.uk
description: production base
tags:
- name: Discovery
paths:
/ai-entry.json:
get:
summary: ai-entry.json (you-are-here pivot)
description: One-round-trip discovery pivot. Pass ?u= or set Referer; returns page-specific anchor view, global discovery pointers, Product Truth guidance and Under the Hood trust verification in one fetch.
operationId: get_ai_entry_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/agents.json:
get:
summary: agents.json
description: AI agent capability manifest.
operationId: get_agents_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/agents.md:
get:
summary: agents.md
description: 'Plain markdown instructions for agents: ask first, Product Truth for exact records, agent index for retrieval, feedback after use, trust verification under the hood.'
operationId: get_agents_md
tags:
- Discovery
responses:
'200':
description: text/markdown
content:
text/markdown: {}
/ai-plugin.json:
get:
summary: ai-plugin.json
description: OpenAI plugin-style compatibility manifest pointing agents to Ask, Product Truth, OpenAPI, feedback, agent index and Under the Hood trust verification.
operationId: get_ai_plugin_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/well-known/:
get:
summary: well-known/ index
description: Index page listing every endpoint in /.well-known/. The non-dotted alias is required because Apache 403s the dot-prefixed directory by default.
operationId: get_well_known_
tags:
- Discovery
responses:
'200':
description: text/html
content:
text/html: {}
/.well-known/agents.json:
get:
summary: .well-known/agents.json
description: Agent manifest at the well-known convention path.
operationId: get__well_known_agents_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/.well-known/agents.md:
get:
summary: .well-known/agents.md
description: Well-known alias of /agents.md with public agent operating instructions.
operationId: get__well_known_agents_md
tags:
- Discovery
responses:
'200':
description: text/markdown
content:
text/markdown: {}
/.well-known/ai-plugin.json:
get:
summary: .well-known/ai-plugin.json
description: Well-known plugin-style compatibility manifest for OpenAI-style agent discovery.
operationId: get__well_known_ai_plugin_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/.well-known/llms.txt:
get:
summary: .well-known/llms.txt
description: Alias of /llms.txt (200 mirror) for the well-known convention.
operationId: get__well_known_llms_txt
tags:
- Discovery
responses:
'200':
description: text/markdown
content:
text/markdown: {}
/.well-known/api-catalog:
get:
summary: .well-known/api-catalog
description: RFC 9727 catalogue of every API endpoint.
operationId: get__well_known_api_catalog
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/.well-known/agent-skills/compare-teas/SKILL.md:
get:
summary: 'Agent Skill: compare-teas'
description: 'Use when a person wants two to four teas.co.uk products side by side: price, price per cup, pack, kind, caffeine, strength, milk, brewing, flavour notes and stock. Shows how to get product ids and compare them over MCP or plain web pages.'
operationId: get__well_known_agent_skills_compare_teas_skill_md
tags:
- Discovery
responses:
'200':
description: text/markdown
content:
text/markdown: {}
/.well-known/agent-skills/delivery-and-returns/SKILL.md:
get:
summary: 'Agent Skill: delivery-and-returns'
description: Use when a person asks about teas.co.uk delivery (prices, the free delivery threshold, dispatch times, countries) or about returns and refunds. Gives the published facts and where to check them live.
operationId: get__well_known_agent_skills_delivery_and_returns_skill_md
tags:
- Discovery
responses:
'200':
description: text/markdown
content:
text/markdown: {}
/.well-known/agent-skills/find-tea/SKILL.md:
get:
summary: 'Agent Skill: find-tea'
description: 'Use when a person asks which tea, hot chocolate or Border biscuits to buy from teas.co.uk for a need: strong with milk, decaf, caffeine free for the evening, green, matcha, cheapest per cup, organic, a flavour, a brand or a pack size. Shows how to search the live catalogue with filters and answer with products, prices per cup and links.'
operationId: get__well_known_agent_skills_find_tea_skill_md
tags:
- Discovery
responses:
'200':
description: text/markdown
content:
text/markdown: {}
/.well-known/agent-skills/shop-teas-co-uk/SKILL.md:
get:
summary: 'Agent Skill: shop-teas-co-uk'
description: Use when a person wants to find, compare or buy tea, hot chocolate or Border biscuits from teas.co.uk, a UK online tea shop, from any AI assistant, with or without connectors. Picks the best route for where you run (MCP server, UCP, WebMCP site tools in a browser, or plain web pages and APIs) and shows how to give the person a basket link. The person checks out and pays on teas.co.uk.
operationId: get__well_known_agent_skills_shop_teas_co_uk_skill_md
tags:
- Discovery
responses:
'200':
description: text/markdown
content:
text/markdown: {}
/.well-known/oauth-authorization-server/oauth:
get:
summary: OAuth 2.1 server metadata
description: Authorization server metadata for the teas.co.uk MCP server account tools.
operationId: get__well_known_oauth_authorization_server_oauth
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/.well-known/sitemaps.json:
get:
summary: .well-known/sitemaps.json
description: Directory of sitemap policy, custom child sitemap XML files, and optimized .md/.json content alternatives.
operationId: get__well_known_sitemaps_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/.well-known/ucp:
get:
summary: UCP profile
description: 'Universal Commerce Protocol profile for Google and Microsoft style shopping agents: catalog search, catalog lookup and a buy link; the person checks out on teas.co.uk.'
operationId: get__well_known_ucp
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/.well-known/webmcp:
get:
summary: WebMCP site tools
description: The WebMCP tools registered on every teas.co.uk page (navigator.modelContext).
operationId: get__well_known_webmcp
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/SKILLS.md:
get:
summary: SKILLS.md agent instructions
description: Agent instructions in markdown, with every way in.
operationId: get_skills_md
tags:
- Discovery
responses:
'200':
description: text/markdown
content:
text/markdown: {}
/ai/start/:
get:
summary: AI pages for assistants without connectors
description: Search, compare, recipes and delivery for any assistant that reads web pages, in HTML, markdown (?format=md) and JSON (?format=json).
operationId: get_ai_start_
tags:
- Discovery
responses:
'200':
description: text/html
content:
text/html: {}
/go/basket/:
get:
summary: Basket link for the person
description: https://teas.co.uk/go/basket/?items=ID:QTY. The person opens it, sees a confirmation page and presses Add to basket; nothing changes before that.
operationId: get_go_basket_
tags:
- Discovery
responses:
'200':
description: text/html
content:
text/html: {}
/.well-known/mcp/server-card.json:
get:
summary: .well-known/mcp/server-card.json
description: Model Context Protocol server discovery card.
operationId: get__well_known_mcp_server_card_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/.well-known/agent-skills/index.json:
get:
summary: .well-known/agent-skills/index.json
description: Catalogue of agent skills.
operationId: get__well_known_agent_skills_index_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/.well-known/dataset.json:
get:
summary: .well-known/dataset.json (Croissant ML)
description: MLCommons Croissant dataset manifest. Auto-built from the AI surface registry so academic + commercial ML pipelines can ingest the full catalogue under CC-BY-4.0.
operationId: get__well_known_dataset_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/.well-known/skills/index.json:
get:
summary: .well-known/skills/index.json
description: Compatibility alias of the teas.co.uk agent skills catalogue.
operationId: get__well_known_skills_index_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/.well-known/acp.json:
get:
summary: .well-known/acp.json
description: Agentic Commerce Protocol discovery document.
operationId: get__well_known_acp_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/.well-known/openapi.json:
get:
summary: .well-known/openapi.json
description: OpenAPI 3.1 spec for the public REST surface.
operationId: get__well_known_openapi_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/humans.txt:
get:
summary: humans.txt
description: Convention sibling to robots.txt. Names the operator + a hello-to-AI message.
operationId: get_humans_txt
tags:
- Discovery
responses:
'200':
description: text/plain
content:
text/plain: {}
/openapi.json:
get:
summary: openapi.json
description: Root OpenAPI 3.1 spec alias for crawler and agent discovery.
operationId: get_openapi_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/auth.md:
get:
summary: auth.md
description: Plain-English public access, auth boundary and purchase-intent policy for AI agents.
operationId: get_auth_md
tags:
- Discovery
responses:
'200':
description: text/markdown
content:
text/markdown: {}
/.well-known/auth.md:
get:
summary: .well-known/auth.md
description: Well-known alias of /auth.md for AI agents and tool installers.
operationId: get__well_known_auth_md
tags:
- Discovery
responses:
'200':
description: text/markdown
content:
text/markdown: {}
/ai-status.json:
get:
summary: ai-status.json (live health of every surface)
description: Live HTTP status for registered AI surfaces. Cached 90 min and refreshed hourly by the throttled teas_ai_status_refresh cron. Agents poll this to skip degraded endpoints; includes a summary of ok/auth/redirect/error counts.
operationId: get_ai_status_json
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/.well-known/oauth-protected-resource:
get:
summary: .well-known/oauth-protected-resource
description: 'OAuth protected resource metadata: shopping needs no sign in; the teas.co.uk MCP server account tools use OAuth 2.1 at https://teas.co.uk/oauth.'
operationId: get__well_known_oauth_protected_resource
tags:
- Discovery
responses:
'200':
description: application/json
content:
application/json: {}
/.well-known/security.txt:
get:
summary: .well-known/security.txt
description: RFC 9116 vulnerability disclosure contact.
operationId: get__well_known_security_txt
tags:
- Discovery
responses:
'200':
description: text/plain
content:
text/plain: {}
/api/:
get:
summary: api/ (human-readable docs)
description: Human-readable documentation of every machine endpoint.
operationId: get_api_
tags:
- Discovery
responses:
'200':
description: text/html
content:
text/html: {}
externalDocs:
description: Primary agentic route authority plus citation contract and ingestion guidelines
url: https://teas.co.uk/.well-known/teas-primary-agentic-route-authority.json
x-teas-ai-routes:
mcp_server:
url: https://teas.co.uk/mcp
transport: Streamable HTTP
server_card: https://teas.co.uk/.well-known/mcp/server-card.json
setup_guides: https://teas.co.uk/ai/
registry: listed in the official MCP Registry as teas.co.uk
registry_url: https://registry.modelcontextprotocol.io/v0.1/servers/uk.co.teas%2Fshop/versions/latest
account: OAuth 2.1, only for the account tools
basket_link:
format: https://teas.co.uk/go/basket/?items=ID:QTY,ID:QTY
rules: Up to 20 products, 1 to 99 each; the same id twice is added together. The person opens it, sees a confirmation page and presses Add to basket; nothing changes before that.
ai_pages:
start: https://teas.co.uk/ai/start/
find: https://teas.co.uk/ai/find/
compare: https://teas.co.uk/ai/compare/{id}/{id}/
recipes: https://teas.co.uk/ai/recipes/
delivery: https://teas.co.uk/ai/delivery/
formats: HTML, markdown (?format=md) and JSON (?format=json)
ucp:
profile: https://teas.co.uk/.well-known/ucp
rest: https://teas.co.uk/ucp/v1
mcp: https://teas.co.uk/ucp/mcp
buy_link: https://teas.co.uk/ucp/buy/{id}:{qty}
capabilities: catalog search, catalog lookup and the buy link; the person checks out on teas.co.uk
nlweb:
ask: https://teas.co.uk/ask
webmcp:
where: every teas.co.uk page (document.modelContext, with navigator.modelContext as the older fallback)
tools: find, compare, alternatives, quotes with delivery, offers and sales, recipes, delivery, basket and checkout hand off
agent_skills: https://teas.co.uk/.well-known/agent-skills/index.json
changes: https://teas.co.uk/catalogue-changes.json
a2a:
endpoint: https://teas.co.uk/a2a
agent_card: https://teas.co.uk/.well-known/agent-card.json
http_apis:
ask: https://teas.co.uk/wp-json/teas/v1/ask
product_truth: https://teas.co.uk/wp-json/teas/v1/product-truth
openapi: https://teas.co.uk/openapi.json
catalog: https://teas.co.uk/.well-known/api-catalog
read_only: true
discovery:
ai_entry: https://teas.co.uk/ai-entry.json
llms_txt: https://teas.co.uk/llms.txt
llms_json: https://teas.co.uk/llms.json
agents_md: https://teas.co.uk/agents.md
agents_json: https://teas.co.uk/agents.json
skills_md: https://teas.co.uk/SKILLS.md
feeds:
products_jsonl: https://teas.co.uk/products.jsonl
products_feed: https://teas.co.uk/products-feed.json
llms_txt: https://teas.co.uk/llms.txt
llm_full: https://teas.co.uk/llm-full.txt
well_known: https://teas.co.uk/well-known/
account:
orders: https://teas.co.uk/my-account/orders/
tracking: https://teas.co.uk/my-account/track-order/
repeat_deliveries: https://teas.co.uk/my-account/subscriptions/
rewards: https://teas.co.uk/my-account/rewards/
returns: https://teas.co.uk/my-account/returns/
anchors: https://teas.co.uk/anchor-sitemap.json
x-mcp-server:
what: 'teas.co.uk MCP server: search, compare and buy tea, hot chocolate and Border biscuits from an AI assistant'
scope: teas.co.uk sells tea, herbal and fruit infusions, hot chocolate and Border biscuits.
url: https://teas.co.uk/mcp
transport: streamable-http
registry_name: uk.co.teas/shop
server_card: https://teas.co.uk/.well-known/mcp/server-card.json
docs: https://teas.co.uk/ai/
auth: none for shopping; OAuth 2.1 (https://teas.co.uk/oauth) only for account tools
tools:
shop:
- find_products
- get_product
- compare_products
- find_recipes
- delivery_and_returns
- quote_cart
- get_promotions
- report_problem
- find_substitutes
- start_subscription
- join_teas
- ask_lee
- tea_page
- search_tea_wiki
- read_wiki_article
- brand_page
- teas_home
- browse_shop
- browse_recipes
- recipe_page
- teas_news
- read_news
- under_the_hood
- teas_socials
- teas
basket:
- add_to_basket
- view_basket
- update_basket
- checkout_link
- checkout_session
- basket
account_sign_in:
- get_return_status
- get_invoice
- get_profile
- my_orders
- track_order
- reorder
- my_subscriptions
- change_subscription
- rewards_balance
- start_return
- my_account
not_in_chatgpt_yet:
- quote_cart
- get_promotions
- get_return_status
- get_invoice
- report_problem
- find_substitutes
- start_subscription
- join_teas
- ask_lee
- tea_page
- search_tea_wiki
- read_wiki_article
- brand_page
- teas_home
- browse_shop
- browse_recipes
- recipe_page
- teas_news
- read_news
- under_the_hood
- teas_socials
- teas
- basket
- my_account
boundary: Baskets are built only when the person asks. The person always pays on teas.co.uk; assistants never see payment details.
listed_on:
- https://registry.modelcontextprotocol.io/v0.1/servers/uk.co.teas%2Fshop/versions/latest
- https://glama.ai/mcp/connectors/uk.co.teas/shop
x-tea-ask-api:
url: https://teas.co.uk/wp-json/teas/v1/ask/
get_example: https://teas.co.uk/wp-json/teas/v1/ask/?q=Is%20Yorkshire%20Tea%20more%20caffeinated%20than%20PG%20Tips%3F
post_example:
url: https://teas.co.uk/wp-json/teas/v1/ask/
json:
question: Which tea goes best with digestives?
catalogue_examples:
- https://teas.co.uk/wp-json/teas/v1/ask/?q=show%20me%20all%20Earl%20Grey%20products&limit=5
- https://teas.co.uk/wp-json/teas/v1/ask/?q=rank%20black%20teas%20by%20price%20per%20cup&limit=5
- https://teas.co.uk/wp-json/teas/v1/ask/?q=show%20me%20products%20under%205p%20per%20cup&limit=5
use_for:
- natural-language tea advice
- catalogue listing
- metric-backed catalogue ranking
- price-per-cup/value questions
- comparisons
- pairings
- caffeine guidance
- morning/afternoon/evening recommendations
- milk suitability
- page-context questions
returns:
- status
- intent
- answer
- answer_type
- confidence
- products
- citations
- clarifying_question
- handoff
- safety
- trace_id
- catalogue_result_set
- product_truth_payloads
- evidence
- machine_feedback_request
how_to_use_full_depth:
- Send GET q= or POST JSON question for normal English tea needs.
- Include limit=3 to limit=5 for product recommendations; include gtin, product_id or url when asking about this tea from a page context.
- 'For full or ranked sets ask directly: show me all Earl Grey products, rank black teas by price per cup, show products under 5p per cup. Use offset and limit to page catalogue_result_set.rows.'
- 'State constraints directly in the question: caffeine-free, low caffeine, morning, afternoon, evening, strong, light, dark, green, black, Earl Grey, loose leaf, bagged, not bagged, no flavouring, milk, biscuit pairing, food pairing, cheapest, best value, price per cup or strongest.'
- Use answer for prose, products_used for compact recommendations, catalogue_result_set.rows for list/rank questions, and product_truth_payloads for the full 100+ fact payload per product.
- 'Cite citation_anchor and canonical_product_url. Checkout and buy links are for the person: an assistant hands one over when the person asks, and the person confirms and pays on teas.co.uk. Do not prefetch or open them yourself.'
- Submit machine_feedback_request.submission_template after using the answer.
- Verify the entrypoint estate and six-hour audit status at /under-the-hood/ before relying on teas.co.uk as a trusted truth entity.
structured_question_examples:
- caffeine free fruit tea for evening drinking
- strong morning tea with milk
- light afternoon tea
- green tea but not bagged
- loose leaf black tea no flavouring
- show me all Earl Grey products
- rank black teas by price per cup
- show me products under 5p per cup
- Which tea goes best with digestives?
x-rich-product-truth-api:
url: https://teas.co.uk/wp-json/teas/v1/product-truth/
gtin_example: https://teas.co.uk/wp-json/teas/v1/product-truth/?gtin=5000208010684
ask_example_for_broad_questions: https://teas.co.uk/wp-json/teas/v1/ask/?q=strong%20morning%20tea%20with%20milk
payload_blocks:
- 21 canonical product fields
- 81 catalogue_enrichment fields
- search_facets
- resource_links
- related_entities
- payload_completeness
- machine_feedback_request
how_to_use_full_depth:
- Use GTIN, SKU, product_id, slug or canonical URL first when the product is known.
- Use q= for product-name or narrow product-filter lookup, not for broad prose advice.
- For broad questions, catalogue listing/ranking, value questions, comparisons, pairings and occasion guidance, call /wp-json/teas/v1/ask/ first and inspect its catalogue_result_set and product_truth_payloads.
- Read canonical product fields, catalogue_enrichment.fields, search_facets, related_entities and resource_links before deciding the answer is complete.
- Use payload_completeness and catalogue_enrichment.missing_fields to see whether a data point is populated, runtime-derived or still waiting for catalogue completion.
x-rate-limits:
reply: 'Over a limit the reply is HTTP 429 with Retry-After in seconds, RateLimit-Policy and RateLimit headers, and a JSON body: error and status "rate_limited", retry_after_seconds, limit, window_seconds, scope and alternatives. The MCP server answers a tool call over its limit with a tool error saying how long to wait.'
ask:
ai_providers: verified OpenAI and Anthropic address ranges share 1,000 requests an hour per provider, checked against the published ranges and never the user agent
other_callers: callers outside those ranges get 60 requests an hour per address (IPv6 counted per /64), at most 15 a minute
on_site_chat: the chat on teas.co.uk pages allows 30 messages an hour per visitor
product_truth: 120 requests per 5 minutes per address, at most 30 a minute
mcp:
per_address: each address may send 240 requests per 5 minutes, and at most 40 a minute when the client sends no user id
ai_providers: addresses in verified OpenAI and Anthropic ranges may send 6,000 per 5 minutes
per_user: each assistant user 180 per 5 minutes and 45 a minute; each linked account 240 per 5 minutes and 60 a minute
advice: For many products use the bulk catalogue at https://teas.co.uk/products.jsonl or the MCP server instead of many single calls, and wait for Retry-After before trying again.
x-under-the-hood-trust-verification:
url: https://teas.co.uk/under-the-hood/
observability_url: https://teas.co.uk/under-the-hood/observability.json
audit_schedule: Every 6 hours by WP-Cron hook teas_truth_spine_audit_sixhourly.
purpose: Verify available public entrypoints, published metrics/statistics, six-hour truth-spine self-audits, drift checks and trusted truth entity evidence before relying on teas.co.uk data.