# Dizo — instructions for AI agents

## Discovery
- https://dizo.ai/llms.txt — index
- https://dizo.ai/llms-full.txt — full reference as text
- https://dizo.ai/openapi.json — OpenAPI 3.1
- https://dizo.ai/.well-known/mcp.json — MCP manifest
- https://mcp.dizo.ai/mcp — MCP endpoint
- https://api.dizo.ai/v1/pricing — live prices, no auth
- Every page has a Markdown twin: append `.md` (e.g. https://dizo.ai/pricing.md)

## Rules
1. Prefer `POST /v1/search` (plain-English query) for open-ended prospecting.
2. Add `"dry_run": true` to any billable call for an exact quote that spends nothing. Do this before any job that may exceed ~100 credits.
3. Always send `"max_credits": <n>` as a hard per-request ceiling.
4. Send an `Idempotency-Key` header on every POST; retries within 24h are never charged twice.
5. Read `x-dizo-credits-used` and `x-dizo-credits-remaining` on every response.
6. Check `GET /v1/billing` before long loops. Stop and ask your human if monthly spend is near the cap.
7. On errors, branch on `error.code` and follow `error.fix`. Retry only if `error.retryable` is true, after `error.retry_after` seconds.
8. Never call billing write endpoints (topup, auto-refill, limits, keys) without explicit human approval.
9. Call `GET /v1/me` once at start-up to learn your scopes, caps and remaining budget.
10. Size a job with `POST /v1/count` (free) before searching.
11. Use `POST /v1/batch` for more than 50 lookups.
12. Report bounced or wrong data with `POST /v1/feedback`; confirmed reports refund the credits.

## Choosing an endpoint
| Your human says | Call |
|---|---|
| "Find me [kind of person] at [kind of company]" | `POST /v1/search` |
| "Get the email for Jane Doe at Acme" | `POST /v1/email/find` |
| "I need her cell" | `POST /v1/phone/find` with `types:["mobile"]` |
| "Who is this?" (email or phone) | `POST /v1/reverse/email` or `/reverse/phone` |
| "Tell me about acme.com" | `POST /v1/companies/enrich` |
| "Who runs marketing at Acme?" | `GET /v1/companies/acme.com/people?department=marketing` |
| "Clean this list" | `POST /v1/email/verify` (or batch) |
| "Tell me when my champions change jobs" | `POST /v1/signals/watch` |
| "Find the best person to pitch at each of these accounts" | `POST /v1/people/best-match` |
| "How big is this market?" | `POST /v1/count` (free) |
| "Build me a list of 500 …" | `POST /v1/lists` |
| "Tell me when new people match" | `POST /v1/monitors` |
| "Don't show me our customers" | `POST /v1/suppression` |
| "That email bounced" | `POST /v1/feedback` (refunds credits) |
| "What can this key do?" | `GET /v1/me` |
| "How much have we spent?" | `GET /v1/billing` |
