# Docs written for the agents that will read them.

> Dizo publishes llms.txt, llms-full.txt, an OpenAPI 3.1 spec, an MCP manifest and a Markdown twin of every page, so agents and code read the docs directly.

Every Dizo doc exists twice: as a web page for people and as plain text for models and code. Point an agent at `llms.txt` or a code generator at `openapi.json` and skip the HTML.

## Highlights
- **llms.txt.** A short index at `dizo.ai/llms.txt` that tells a model what Dizo is and where everything lives.
- **llms-full.txt.** The full reference as one text file, ready to drop into a model's context.
- **OpenAPI 3.1.** `dizo.ai/openapi.json` describes every endpoint for client generation and tool schemas.
- **A .md twin of every page.** Append `.md` to any page, such as `/pricing.md`, for clean Markdown.
- **MCP manifest.** `/.well-known/mcp.json` points clients at the MCP endpoint.
- **Live pricing, no auth.** `GET https://api.dizo.ai/v1/pricing` returns tiers and credit costs as JSON.

## Steps
1. **Start with llms.txt** — Give the agent the index URL so it can find the right page.
2. **Load what it needs** — Fetch a page's `.md` twin, or `llms-full.txt` for the whole reference.
3. **Generate code from OpenAPI** — Build typed clients or tool schemas from `openapi.json`.
4. **Check prices live** — Read `/v1/pricing` before budgeting a job.

## APIs used
| API | Endpoint | Credits | Charged | Reference |
|---|---|---|---|---|
| Pricing | `GET /v1/pricing` | Free, no auth | Never | [docs](https://dizo.ai/docs/pricing.md) |
| Key info | `GET /v1/me` | Free | Never | [docs](https://dizo.ai/docs/me.md) |
| Natural-language search | `POST /v1/search` | 1 credit / 25 results | Per result returned | [docs](https://dizo.ai/docs/search.md) |


## Who reads API docs now

API documentation used to have one audience: a developer with a browser open next to an editor. That reader is still here, but increasingly the first reader is a model. A coding assistant is asked to add an enrichment step and goes looking for the endpoint. An agent is told to find prospects and needs to know which tool to call and what it costs. A team pastes a docs link into a chat and asks how to authenticate.

Web pages are a poor format for those readers. Navigation, scripts, cookie banners and layout markup all compete with the actual content, and a model fetching the page has to dig the useful text out of the noise. Worse, it may only fetch part of the page and miss the parameter table it needed.

Dizo publishes its documentation in formats built for machines alongside the pages built for people. Each format answers a different question, and together they let an agent or a build tool get exactly what it needs without scraping.

## The files and what each one is for

Six resources cover discovery, reference, code generation and pricing. They are public and need no key.

- `https://dizo.ai/llms.txt`: a short index. What Dizo is, the main endpoints with their costs, and links to everything else.
- `https://dizo.ai/llms-full.txt`: the full reference as one text file, for loading into a model's context in one go.
- `https://dizo.ai/openapi.json`: an OpenAPI 3.1 description of the API for client generators, validators and tool schemas.
- `https://dizo.ai/.well-known/mcp.json`: the MCP manifest, pointing clients at `https://mcp.dizo.ai/mcp`.
- A Markdown twin of every page: append `.md` to any URL, for example `https://dizo.ai/pricing.md` or a docs page such as `/docs/search.md`.
- `https://api.dizo.ai/v1/pricing`: live price tiers and per-endpoint credit costs as JSON, with no authentication.

## llms.txt and llms-full.txt

`llms.txt` follows an emerging convention: a Markdown file at a site's root that tells language models what the site is and where to look. The [llms.txt glossary entry](/glossary/llms-txt) explains the idea. Dizo's index opens with a one-line description, lists the API and MCP URLs, states the beta status, summarises data coverage and lists every main API with its credit cost and a link to its reference page. A model that reads only this file already knows that email finder costs 1 credit if found and that searches cost 1 credit per 25 results.

`llms-full.txt` is the opposite trade-off. It is the complete reference in one file: every endpoint, its parameters, example requests and responses, and the rules for agents. It is larger, so it suits cases where you want a model to have everything up front, such as a system prompt for a dedicated Dizo agent or a coding session where the assistant will write several integrations.

As a rule, give an agent `llms.txt` and let it fetch what it needs. Give it `llms-full.txt` when you would rather spend context than round trips.

## OpenAPI for code and tool schemas

`openapi.json` is an OpenAPI 3.1 document. Most languages have generators that turn it into a typed client, and many agent frameworks can turn OpenAPI operations into tool definitions directly. That means fewer hand-written request types, fewer typos in field names and a client that can be regenerated whenever the spec changes. The [OpenAPI glossary entry](/glossary/openapi-spec) covers the format if it is new to you.

It is also useful for validation. You can check your own requests against the spec in tests, or validate responses in a staging environment, without hard-coding the schema yourself.

If you are building on a framework with good MCP support, you may not need OpenAPI tools at all: connecting to the [MCP server](/mcp) gives the model every endpoint as a tool with its credit cost in the description. OpenAPI shines when your code, rather than a model, decides what to call, or when your framework prefers HTTP tools.

## Markdown twins of every page

Every page on dizo.ai has a Markdown version at the same address with `.md` appended. The docs page for the email finder is available as `/docs/email-find.md`, the pricing page as `/pricing.md`, the trust page as `/trust.md`. The content matches the web page without the layout around it.

This is the simplest format to use from a chat. If you want an assistant to answer a question about Dizo accurately, paste the `.md` link for the relevant page and ask it to read it. Coding assistants such as [Cursor](/integrations/cursor) and Claude Code can fetch the same links while they work, so they write calls against the documented parameters instead of guessing.

Two pages are written specifically for agents. `/agents` sets out discovery links, the rules an agent should follow and a table of which endpoint to call for common requests. `/auth.md` explains how an agent gets access: test keys, self-serve signup, scoped live keys and MCP authentication.

## Pricing that a program can read

Pricing changes are a common reason for agents to give wrong answers. A model that memorised a price list, or read a cached page, will quote it confidently long after it has changed. `GET https://api.dizo.ai/v1/pricing` returns the current tiers, from $0.025 per credit for pay-as-you-go purchases down to $0.010 at the Enterprise tier, plus the per-endpoint costs, as JSON. It needs no key, so an agent can call it before it has been given one.

For a specific call, a dry run is better still. Add `"dry_run": true` to any billable request and you get the exact credit cost without spending anything. The pricing endpoint is for planning; the dry run is for the job in front of you. The [machine-readable pricing](/features/machine-readable-pricing) page goes into detail.

There is also `https://dizo.ai/data/latest.json`, which describes the latest data release in a machine-readable form.

## Fetch, do not memorise

A model's training data is a snapshot. Whatever it learned about an API, it learned at some point in the past, and it cannot tell you which details have changed since. The safest instruction you can give an agent working with Dizo is to read the current docs at the start of a task rather than relying on what it thinks it knows. The machine-readable files make that cheap: a compact index, and Markdown pages that load cleanly.

The same applies to any knowledge base you build. If you keep Dizo docs in a retrieval index or a project knowledge folder for an assistant, load them from the `.md` twins or `llms-full.txt` and refresh them on a schedule, so the copy your agent searches does not drift from the real reference. For anything to do with money, skip the copy entirely and read `/v1/pricing` live, or quote the specific call with `dry_run`.

This habit pays off most for the details that are easy to get slightly wrong: which statuses count as found, which parameters an endpoint accepts and what each one costs.

## A worked example: briefing a coding assistant

Say you ask a coding assistant to add a step to your signup flow that enriches each new user's company and finds the person's title. Without machine-readable docs, it may guess an endpoint shape from memory and invent field names. With them, you give it one instruction: read `https://dizo.ai/llms.txt` first.

From the index it learns that company enrich and person enrich exist, what they cost and where their references live. It fetches `/docs/company-enrich.md` and `/docs/people-enrich.md`, sees that company enrich costs 1 credit if matched and person enrich costs 2 credits if matched, and writes calls with the right parameters. If it is careful, it also adds an `Idempotency-Key` header and `max_credits`, because the agent rules recommend both.

For a product with 1,000 signups a month where 80% of companies and 60% of people match, the step costs about 800 + 1,200 = 2,000 credits a month, or $50 at $0.025 per credit. The assistant can do that arithmetic from the docs alone.

## Using the files well

None of these files replace testing. Build against a `dz_test_` key, which returns synthetic data and never spends credits, and confirm the behaviour your code relies on. [Sign up](/signup) for a live key.

- Point agents at `llms.txt` first; it is small and links to everything.
- Use `.md` twins rather than HTML when quoting or summarising a page.
- Regenerate clients from `openapi.json` instead of editing generated code by hand.
- Read live prices from `/v1/pricing`, not from a copy saved weeks ago.
- Give a new agent `/agents` and `/auth.md` so it knows the rules and how access works.

## FAQ

### What is the difference between llms.txt and llms-full.txt?
`llms.txt` is a short index with links. `llms-full.txt` is the complete reference in one file. Use the index when an agent can fetch pages, the full file when you want everything in context at once.

### Which OpenAPI version does Dizo publish?
OpenAPI 3.1, at `https://dizo.ai/openapi.json`.

### How do I get the Markdown version of a page?
Append `.md` to the URL, for example `https://dizo.ai/pricing.md` or `https://dizo.ai/docs/search.md`.

### Do I need a key to read the docs or pricing?
No. The docs files are public, and `GET https://api.dizo.ai/v1/pricing` needs no authentication.

### Is there an MCP manifest?
Yes, at `https://dizo.ai/.well-known/mcp.json`. It points clients at the MCP endpoint, `https://mcp.dizo.ai/mcp`.

### Which page should I give a new agent?
Start with `/agents` for rules and endpoint choice and `/auth.md` for how access works, plus `llms.txt` for everything else.
