Search Documentation
Search for a documentation page...
Knowledge API
Search and read the Your Next Store Help Center and developer docs from the Store API.
These endpoints search and read Your Next Store's own documentation: the Help Center, with how-to guides for merchants, and these developer docs. Agents use them to check how the platform works, and whether it can do something, before they guess. Known limits and their workarounds are documented there.
The documentation is public and the same for every store. Any credential may read it, a storefront key included, and so may every team member connected over OAuth. On the MCP server the two endpoints are also the search_docs and read_docs tools.
Search the docs
Matches words in each page's title and summary, so short topic words work best: refunds, local pickup, variants.
| Parameter | Type | Description |
|---|---|---|
query | string | What to look up, in plain words. 2–200 characters. Required |
source | "help" | "docs" | "all" | help (the Help Center), docs (the developer docs) or all. Default all |
limit | integer | Results to return, 1–10. Default 6 |
Response (200)
Best match first:
| Status | Description |
|---|---|
503 | The documentation site can't be reached |
Read docs pages
Returns the full markdown of up to five pages, by the urls the search returned.
| Parameter | Type | Description |
|---|---|---|
urls | string | Page URLs, separated by commas, at most 5. Only Help Center (/help/…) and developer docs (/docs/…) pages of yournextstore.com. Required |
Response (200)
Each entry has markdown, or error saying why that page could not be read. Cite the page URL when you answer from it.
| Status | Description |
|---|---|
400 | A URL is not a Your Next Store documentation page |
Related
- Support Cases – open a case when the docs don't answer it
- Public Content API – the same pages without a store credential