Developers

Search the docs

Search guides and headings.

Building with AI

Plain Markdown, llms.txt and the OpenAPI file for coding assistants and LLMs.

View as Markdown

You will give a coding assistant or an LLM the right context to write code against Nurish'd Connect.

What is available#

AddressWhat it is
Any docs page plus .mdThe page as plain Markdown. /docs/concepts/errors is also at /docs/concepts/errors.md.
/llms.txtEvery page with one line about what it covers, in the llmstxt.org format.
/llms-full.txtEvery guide and the full API reference as one Markdown file.
/openapi.jsonThe public OpenAPI document. It is the authority for paths, parameters and shapes.

All four are public. You do not need a key to read them.

The API host also serves a Swagger page, where a person can read the API and try calls with a key.

Which to use#

  • For a small task, paste one page's .md into the assistant, such as the page for the route you are calling.
  • For a larger task, give the assistant /llms-full.txt. It holds everything.
  • For generated clients or tools that read OpenAPI, use /openapi.json.

A suggested prompt#

text
You are writing code against the Nurish'd Connect partner API.
The file llms-full.txt is attached. Treat it as the only source of truth.

Rules:
- Base URL is https://api.dev.nurishd.ca. Send the API key in the X-Partner-API-Key header.
- Read the key from the NURISHD_API_KEY environment variable. Never hard-code a key.
- Use only paths, parameters and fields that appear in the documentation.
- Handle the error shape {"error": {"code", "message", "request_id"}} and log request_id.
- Retry only 429, 502, 503 and 504, with backoff. Honor Retry-After.
- Ignore fields and event types you do not know.

Task: <describe what you want, for example "list the vendors that deliver to Mississauga, ON, CA">.

Check what it writes#

An assistant can invent a field or a path. Check generated code against the API reference. Run it against the Sandbox first. Never paste a real key, a patient record or a customer's personal data into an assistant.

Next#