Documentation Index
Fetch the complete documentation index at: https://usenaive.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Live zone view, not the verification setup view. This returns every record
currently in the Vercel zone (with the provider record IDs needed for delete).
For the read-only list of Resend email setup records the customer needs to add
to pass verification, see
/dns-records.Domain UUID
Differences from GET /v1/domains/:id/dns-records
| Endpoint | Returns |
|---|---|
GET /v1/domains/:id/dns-records | The Resend setup records (MX, TXT for SPF, CNAME for DKIM) the customer must add at their registrar to pass verification. Read-only and informational. |
GET /v1/domains/:id/zone-records | Every record currently in the live Vercel zone, with the provider record ID (id) needed for DELETE /v1/domains/:id/zone-records/:recordId. |
Fields
| Field | Description |
|---|---|
domain | The fully-qualified domain |
domain_id | Domain UUID |
mock | true when running in DOMAIN_MOCK mode (no real Vercel call) |
records[].id | Provider record ID — pass to DELETE for removal |
records[].type | A, AAAA, CNAME, MX, TXT, NS, or CAA |
records[].name | Record name; "" for apex |
records[].value | Record value |
records[].ttl | TTL in seconds |
records[].priority | MX priority (MX records only) |
records[].comment | Vercel record comment; records written by Naive use naive:owned;company=...;agent=...;ts=... |
Errors
| Status | reason | Cause |
|---|---|---|
| 501 | FEATURE_DISABLED | AGENT_DNS_EDIT_ENABLED is false on the API |
| 501 | MOCK_MODE_REJECTED | No VERCEL_REGISTRAR_TOKEN and DOMAIN_MOCK not enabled |
| 403 | SYSTEM_DOMAIN | Tried to read a system-registered domain (system domains are read-only via this endpoint) |
| 404 | DOMAIN_NOT_FOUND | Domain doesn’t exist or belongs to another company |