Create site
Creates an additional AI site under the current account. Refuses if the proposed subdomain is taken.
Authorizations
API key in the format: Bearer {api_token}
Body
Build brief describing the storefront to generate — brand, what you're selling, and the look and feel. Kicks off an AI build. Required unless repository is given.
Optional "owner/repo" of an existing GitHub repository (reached through a connected GitHub App installation) to start the site from instead of generating a fresh one. When set, prompt is optional and only tells the agent what to adapt.
public, account, admins_only, me_only Response
AI site created. When created with a prompt, an engineering build is started automatically — build_task_id references it; track progress via GET /tasks/{id}. Do not start another build for the site.
public, account, admins_only, me_only 
