Building with AI
Plain Markdown, llms.txt and the OpenAPI file for coding assistants and LLMs.
You will give a coding assistant or an LLM the right context to write code against Nurish'd Connect.
What is available#
| Address | What it is |
|---|---|
Any docs page plus .md | The page as plain Markdown. /docs/concepts/errors is also at /docs/concepts/errors.md. |
/llms.txt | Every page with one line about what it covers, in the llmstxt.org format. |
/llms-full.txt | Every guide and the full API reference as one Markdown file. |
/openapi.json | The 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
.mdinto 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#
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#
- Quickstart: your first call by hand.
- Errors: the codes your code must handle.
- API reference: the operations.
Something wrong on this page? Email hello@nurishd.io with the page address.