Where a domain's nameservers move. `managed`: CustomDomain™ hosts the zone (route 1). `dns_host`: a zone we create in the platform's own DNS host account, a connected provider account with continuous access at Cloudflare, Amazon Route 53, Google Cloud DNS or Azure DNS (route 2a). `custom`: the platform's own nameservers, 2 to 13 host names, whose zone the platform runs (route 2b).
For `dns_host`: the DNS host (an adapter id such as `cloudflare`). Set from the account.
account_id
string
For `dns_host`: the connected provider account (`POST /provider-accounts`, continuous access). Saving it takes an admin, an owner or the member who connected it (`403 forbidden` for another member's);
nameservers
array
For `custom`: the nameserver host names, stored lower case without a trailing dot.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/customdomain-ai/json-schema/customdomain-ai-nameserver-target-schema.json",
"title": "NameserverTarget",
"description": "Where a domain's nameservers move. `managed`: CustomDomain™ hosts the zone (route 1). `dns_host`: a zone we create in the platform's own DNS host account, a connected provider account with continuous access at Cloudflare, Amazon Route 53, Google Cloud DNS or Azure DNS (route 2a). `custom`: the platform's own nameservers, 2 to 13 host names, whose zone the platform runs (route 2b).",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/customdomain-ai-applications-api-openapi.yml#/components/schemas/NameserverTarget",
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string",
"enum": [
"managed",
"dns_host",
"custom"
]
},
"provider": {
"type": "string",
"description": "For `dns_host`: the DNS host (an adapter id such as `cloudflare`). Set from the account."
},
"account_id": {
"type": "string",
"description": "For `dns_host`: the connected provider account (`POST /provider-accounts`, continuous access). Saving it takes an admin, an owner or the member who connected it (`403 forbidden` for another member's); the account the application already has may be kept by anyone who may change the setting."
},
"nameservers": {
"type": "array",
"minItems": 2,
"maxItems": 13,
"items": {
"type": "string"
},
"description": "For `custom`: the nameserver host names, stored lower case without a trailing dot."
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.