List the custom domains attached to a project.
GET/ai-builder-api/projects/:projectId/custom-domains
Lists the app's custom domains with their setup status and the DNS records to add. A domain is attached with changes kind domain; once it is active it serves the live site.
Request
Version stringrequired
The API version.
Available options
v3projectId stringrequired
The project.
Possible values: Value must match regular expression ^prj_[A-Za-z0-9_-]+$
The project's custom domains.
- application/json
- Schema
- Example (auto)
Schema
domainsobject[]required
The custom domains attached to the project, with their setup status.
{
"domains": [
{
"hostname": "portal.acmefitness.com",
"tier": "production",
"status": "awaiting_dns",
"trafficType": "subdomain"
}
]
}