AIR Domains
List domains for the current organization and projects within a domain.
List domains in current org
Returns all domains for the caller's current organization. Requires a user actor.
Create domain in current org
Creates a domain in the caller's current organization with `name` and `slug`. Requires org owner/admin. Returns 409 when the slug conflicts with an existing domain.
List projects in a domain
Returns a paginated page of projects within `domainPid`, with optional `search`, `sortBy`, and `sortDirection`. Requires a user actor; returns 404 when the domain is unknown or not visible to the caller.
Create project in domain
Creates a project under `domainPid` with `name`, `slug`, and optional `description`. Requires domain contributor access and an active billing subscription within project limits. Returns 403 when billing is inactive or the org project limit is exceeded; returns 409 when the slug conflicts.
Find domain by org and domain slugs
Returns the domain summary for the given `orgSlug` and `domainSlug`. Requires a user actor; returns 404 when either slug is unknown or not visible to the caller.
Delete domain
Permanently deletes `domainPid` when it belongs to the caller's current org. Requires org owner/admin. Returns 404 when the domain is unknown, foreign, or not visible.
Delete project from domain
Permanently deletes `projectPid` when it belongs to `domainPid`. Requires domain owner/admin. Returns 404 when the domain or project is unknown, the project is not in the domain, or not visible to the caller.