sites-ai

Create a site from an approved AI plan

Runs SlateHut block generation from a plan returned by POST /api/v1/sites/generate/plan (optionally edited), then persists like POST /api/v1/sites/generate. Still consumes AI credits — if your agent already has full block JSON, use POST /api/v1/sites with pages[] instead.

post/api/v1/sites/generate/from-plan

Request

  • Base URL: https://slatehut.com
  • URL: https://slatehut.com/api/v1/sites/generate/from-plan
  • Auth: HTTP bearer

Request body

subdomainstring

Optional; random site-xxxxxxxx if omitted.

Response

Created

subdomainstring required
urlstring required
generationWarningsstring[]

Optional post-generation quality hints (e.g. low block-type diversity). Site is still persisted.

Changes

No recorded changes to this operation across all 1 revision of this API.