Docs menu

API reference

sites.domains

List domains for a new Site

GET/api/v1/projects/{projectId}/domains

Needs the site:create permission. As an MCP tool it is named sites.domains.

Details

The domains (active zones) in a Project's Cloudflare account that a new Site can use as its address (sites.create `domain`): the domain itself or one subdomain of it. Read live from Cloudflare; empty when the account has none, and a Site can always use its free workers.dev address instead.

Input

FieldTypeNotes
projectIdrequiredstring

Output

FieldTypeNotes
domainsrequiredlist of object
domains.namerequiredstring

All Operations