domains
create_domain
Create a tenant-owned draft. Cost class: fast.
The draft is editable and unusable until published. Validation runs on every write and is returned every time, so a caller never has to guess whether a publish will succeed.
Args: session: Database session. caller: The authenticated tenant, who will own the new domain. request: The slug, display name, and taxonomy.
Returns: The created draft and its validation.
Raises: PlatformError: reserved_domain_slug or domain_in_use.
post/v1/domains
Request
- Base URLhttps://ndi-api.nace.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.