Developers Dashboard

Build a whole site from a prompt with the AI pipeline, and follow it.

Build a site from a prompt

POST/builds
ScopegenerateIdempotent with a key

Start the full AI build: research, a design reference, the design system, copy, pages and images, then deploy, a proof pass and an audit. It takes several minutes and runs on its own; follow it with GET /builds/{buildId} or stream GET /builds/{buildId}/events. The same request sent twice within two minutes returns the build already running. You can have two builds running at once.

Headers

  • Idempotency-Keystring

    Send the same key to repeat this request safely; the first answer is replayed for 24 hours.

    up to 200 characters

Request body JSON

  • promptstringrequired

    What the business does and who for, in two or three sentences or more. The more real detail, the better the site.

    up to 8,000 characters

  • namestring

    The business name.

    up to 120 characters

  • websitestring

    The business’s current website. Research reads it for real details; enough on its own to start from.

    up to 300 characters

  • subdomainstring

    The free address to use, like "harbour-bakery" for harbour-bakery.<sites domain>. Check it with GET /subdomains/{name}.

    up to 40 characters

  • localestring

    The site’s language, like en-GB or es.

    up to 20 characters

  • addressstring

    up to 300 characters

  • phonestring

    up to 40 characters

  • emailstring

    up to 200 characters

  • mapsobject

    The business’s Google Maps listing.

    2 child fields
    • placeIdstringrequired
    • urlstring
  • brandobject

    Colours and a note on the look you want.

    2 child fields
    • tokensmap of string
    • notesstring

      up to 1,000 characters

  • logostring

    An upload id from POST /builds/uploads/logo.

    up to 80 characters

  • iconstring

    A logo upload id to use as the site icon.

    up to 80 characters

  • inspirationarray of strings

    Upload ids from POST /builds/uploads/inspiration: sites or pictures whose look you like.

    up to 6 items

  • siteIdstring

    Rebuild this site (you must own it) instead of making a new one.

  • sourceobject

    Rebuild your own live website as an editable Unvop site.

    3 child fields
    • urlstringrequired
    • ownSitetruerequired

      You confirm the site is your own.

    • instructionsstring

      up to 2,000 characters

  • screenshotobject

    Rebuild a screenshot as an editable site.

    3 child fields
    • uploadstringrequired

      An upload id from POST /builds/uploads/screenshot.

    • viewportobjectrequired
      3 child fields
      • widthintegerrequired
      • heightintegerrequired
      • devicestringrequired

        One of desktop tablet mobile

    • instructionsstring

      up to 2,000 characters

Response 202

  • jobobjectrequired

    An AI site build: the full research, design, writing, building, deploy and review pipeline.

    14 child fields
    • idstringrequired
    • statusstringrequired

      One of queued running succeeded failed

    • stagestringrequired

      The stage the build is in, like researching, designing, writing, building, deploying, reviewing, done.

    • messagestringrequired

      What it is doing now, in a sentence.

    • promptstringrequired
    • siteIdstringrequirednullable

      The site, once deployed.

    • hostnamestringrequirednullable
    • urlstringrequirednullable

      The live site, once deployed.

    • referenceUrlstringrequirednullable

      The design reference image, once drawn.

    • imagesarray of objectsrequired
      3 child fields
      • urlstringrequired
      • altstringrequired
      • placementstringrequired
    • errorstringrequirednullable
    • errorCodestringrequirednullable
    • createdAtstringrequired

      An ISO 8601 timestamp.

    • updatedAtstringrequired

      An ISO 8601 timestamp.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 409It conflicts with the current state.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
  • 503Not available on this server.
Try itSends a real request. Asks before it changes anything.
curl https://api.unvop.com/v1/builds \
  -H "Authorization: Bearer $UNVOP_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "prompt": "Harbour Bakery is a family bakery in Falmouth. Sourdough, pastries and celebration cakes, open 7 to 3 every day, with a cafe upstairs looking over the harbour.",
    "name": "Harbour Bakery",
    "subdomain": "harbour-bakery"
  }'
Response 202
{
  "job": {
    "id": "job_123",
    "status": "queued",
    "stage": "lead",
    "message": "Building the homepage",
    "prompt": "Harbour Bakery is a family bakery in Falmouth. Sourdough, pastries and celebration cakes.",
    "siteId": "site_123",
    "hostname": "harbour-bakery.unvop.dev",
    "url": "https://harbour-bakery.unvop.dev",
    "referenceUrl": null,
    "images": [],
    "error": null,
    "errorCode": null,
    "createdAt": "2026-11-20T08:00:00.000Z",
    "updatedAt": "2026-11-20T08:00:00.000Z"
  }
}

List builds

GET/builds

Your account’s 20 most recent builds, newest first.

Response 200

  • itemsarray of objectsrequired
    14 child fields
    • idstringrequired
    • statusstringrequired

      One of queued running succeeded failed

    • stagestringrequired

      The stage the build is in, like researching, designing, writing, building, deploying, reviewing, done.

    • messagestringrequired

      What it is doing now, in a sentence.

    • promptstringrequired
    • siteIdstringrequirednullable

      The site, once deployed.

    • hostnamestringrequirednullable
    • urlstringrequirednullable

      The live site, once deployed.

    • referenceUrlstringrequirednullable

      The design reference image, once drawn.

    • imagesarray of objectsrequired
      3 child fields
      • urlstringrequired
      • altstringrequired
      • placementstringrequired
    • errorstringrequirednullable
    • errorCodestringrequirednullable
    • createdAtstringrequired

      An ISO 8601 timestamp.

    • updatedAtstringrequired

      An ISO 8601 timestamp.

  • cursorstringnullable

    Pass as ?cursor= to get the next page. Null when there are no more.

  • totalinteger

    How many there are in all, when the list knows.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/builds \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "items": [
    {
      "id": "job_123",
      "status": "queued",
      "stage": "lead",
      "message": "Building the homepage",
      "prompt": "Harbour Bakery is a family bakery in Falmouth. Sourdough, pastries and celebration cakes.",
      "siteId": "site_123",
      "hostname": "harbour-bakery.unvop.dev",
      "url": "https://harbour-bakery.unvop.dev",
      "referenceUrl": null,
      "images": [],
      "error": null,
      "errorCode": null,
      "createdAt": "2026-11-20T08:00:00.000Z",
      "updatedAt": "2026-11-20T08:00:00.000Z"
    }
  ],
  "cursor": null,
  "total": 1
}

Get a build

GET/builds/{buildId}

Where a build is: its status (queued, running, succeeded, failed), stage, a sentence on what it is doing, the images so far, and once deployed the site id and live address. A build that went quiet is picked back up.

Path parameters

  • buildIdstringrequired

Response 200

  • jobobjectrequired

    An AI site build: the full research, design, writing, building, deploy and review pipeline.

    14 child fields
    • idstringrequired
    • statusstringrequired

      One of queued running succeeded failed

    • stagestringrequired

      The stage the build is in, like researching, designing, writing, building, deploying, reviewing, done.

    • messagestringrequired

      What it is doing now, in a sentence.

    • promptstringrequired
    • siteIdstringrequirednullable

      The site, once deployed.

    • hostnamestringrequirednullable
    • urlstringrequirednullable

      The live site, once deployed.

    • referenceUrlstringrequirednullable

      The design reference image, once drawn.

    • imagesarray of objectsrequired
      3 child fields
      • urlstringrequired
      • altstringrequired
      • placementstringrequired
    • errorstringrequirednullable
    • errorCodestringrequirednullable
    • createdAtstringrequired

      An ISO 8601 timestamp.

    • updatedAtstringrequired

      An ISO 8601 timestamp.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/builds/job_123 \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "job": {
    "id": "job_123",
    "status": "queued",
    "stage": "lead",
    "message": "Building the homepage",
    "prompt": "Harbour Bakery is a family bakery in Falmouth. Sourdough, pastries and celebration cakes.",
    "siteId": "site_123",
    "hostname": "harbour-bakery.unvop.dev",
    "url": "https://harbour-bakery.unvop.dev",
    "referenceUrl": null,
    "images": [],
    "error": null,
    "errorCode": null,
    "createdAt": "2026-11-20T08:00:00.000Z",
    "updatedAt": "2026-11-20T08:00:00.000Z"
  }
}

Stream a build’s progress

GET/builds/{buildId}/events
ScopegenerateServer-Sent Events

Server-Sent Events: a "build" event with the build each time its stage or message changes, then "done" when it succeeds or fails. The stream closes after five minutes; reconnect to keep following. Send Accept: text/event-stream.

Path parameters

  • buildIdstringrequired

Response 200 text/event-stream; each event’s data is:

  • idstringrequired
  • statusstringrequired

    One of queued running succeeded failed

  • stagestringrequired

    The stage the build is in, like researching, designing, writing, building, deploying, reviewing, done.

  • messagestringrequired

    What it is doing now, in a sentence.

  • promptstringrequired
  • siteIdstringrequirednullable

    The site, once deployed.

  • hostnamestringrequirednullable
  • urlstringrequirednullable

    The live site, once deployed.

  • referenceUrlstringrequirednullable

    The design reference image, once drawn.

  • imagesarray of objectsrequired
    3 child fields
    • urlstringrequired
    • altstringrequired
    • placementstringrequired
  • errorstringrequirednullable
  • errorCodestringrequirednullable
  • createdAtstringrequired

    An ISO 8601 timestamp.

  • updatedAtstringrequired

    An ISO 8601 timestamp.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.

This endpoint streams Server-Sent Events, so Try it is off here. Use curl with -N.

curl -N https://api.unvop.com/v1/builds/job_123/events \
  -H "Authorization: Bearer $UNVOP_KEY" \
  -H "Accept: text/event-stream"
Events
event: build
data: {"id":"job_123","status":"queued","stage":"lead","message":"Building the homepage","prompt":"Harbour Bakery is a family bakery in Falmouth. Sourdough, pastries and celebration cakes.","siteId":"site_123","hostname":"harbour-bakery.unvop.dev","url":"https://harbour-bakery.unvop.dev","referenceUrl":null,"images":[],"error":null,"errorCode":null,"createdAt":"2026-11-20T08:00:00.000Z","updatedAt":"2026-11-20T08:00:00.000Z"}

event: done
data: {"status":"succeeded","siteId":"site_123","url":"https://harbour-bakery.unvop.dev","error":null}

Stop a build

POST/builds/{buildId}/cancel

Stop a build in progress. Finished stages stay stored; nothing after this point runs or spends.

Path parameters

  • buildIdstringrequired

Response 200

  • jobobjectrequired

    An AI site build: the full research, design, writing, building, deploy and review pipeline.

    14 child fields
    • idstringrequired
    • statusstringrequired

      One of queued running succeeded failed

    • stagestringrequired

      The stage the build is in, like researching, designing, writing, building, deploying, reviewing, done.

    • messagestringrequired

      What it is doing now, in a sentence.

    • promptstringrequired
    • siteIdstringrequirednullable

      The site, once deployed.

    • hostnamestringrequirednullable
    • urlstringrequirednullable

      The live site, once deployed.

    • referenceUrlstringrequirednullable

      The design reference image, once drawn.

    • imagesarray of objectsrequired
      3 child fields
      • urlstringrequired
      • altstringrequired
      • placementstringrequired
    • errorstringrequirednullable
    • errorCodestringrequirednullable
    • createdAtstringrequired

      An ISO 8601 timestamp.

    • updatedAtstringrequired

      An ISO 8601 timestamp.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 409It conflicts with the current state.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X POST https://api.unvop.com/v1/builds/job_123/cancel \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "job": {
    "id": "job_123",
    "status": "queued",
    "stage": "lead",
    "message": "Building the homepage",
    "prompt": "Harbour Bakery is a family bakery in Falmouth. Sourdough, pastries and celebration cakes.",
    "siteId": "site_123",
    "hostname": "harbour-bakery.unvop.dev",
    "url": "https://harbour-bakery.unvop.dev",
    "referenceUrl": null,
    "images": [],
    "error": null,
    "errorCode": null,
    "createdAt": "2026-11-20T08:00:00.000Z",
    "updatedAt": "2026-11-20T08:00:00.000Z"
  }
}

Pick a failed build back up

POST/builds/{buildId}/retry

Restart a failed build where it stopped. Finished stages are skipped, so only the failed stage and those after it run again.

Path parameters

  • buildIdstringrequired

Response 202

  • jobobjectrequired

    An AI site build: the full research, design, writing, building, deploy and review pipeline.

    14 child fields
    • idstringrequired
    • statusstringrequired

      One of queued running succeeded failed

    • stagestringrequired

      The stage the build is in, like researching, designing, writing, building, deploying, reviewing, done.

    • messagestringrequired

      What it is doing now, in a sentence.

    • promptstringrequired
    • siteIdstringrequirednullable

      The site, once deployed.

    • hostnamestringrequirednullable
    • urlstringrequirednullable

      The live site, once deployed.

    • referenceUrlstringrequirednullable

      The design reference image, once drawn.

    • imagesarray of objectsrequired
      3 child fields
      • urlstringrequired
      • altstringrequired
      • placementstringrequired
    • errorstringrequirednullable
    • errorCodestringrequirednullable
    • createdAtstringrequired

      An ISO 8601 timestamp.

    • updatedAtstringrequired

      An ISO 8601 timestamp.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 409It conflicts with the current state.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X POST https://api.unvop.com/v1/builds/job_123/retry \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 202
{
  "job": {
    "id": "job_123",
    "status": "queued",
    "stage": "lead",
    "message": "Building the homepage",
    "prompt": "Harbour Bakery is a family bakery in Falmouth. Sourdough, pastries and celebration cakes.",
    "siteId": "site_123",
    "hostname": "harbour-bakery.unvop.dev",
    "url": "https://harbour-bakery.unvop.dev",
    "referenceUrl": null,
    "images": [],
    "error": null,
    "errorCode": null,
    "createdAt": "2026-11-20T08:00:00.000Z",
    "updatedAt": "2026-11-20T08:00:00.000Z"
  }
}

Upload a file for a build

POST/builds/uploads/{kind}

Upload the owner’s logo (PNG, JPEG, WebP or SVG), an inspiration image, or a screenshot to rebuild, as multipart/form-data in a "file" field. Returns an upload id to pass to POST /builds as logo, icon, inspiration or screenshot.upload. Uploads stay private to your account.

Path parameters

  • kindstringrequired

    logo, inspiration or screenshot.

Request body multipart/form-data

  • filefilerequired
  • altstring

Response 201

  • uploadobjectrequired
    1 child field
    • idstringrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 413Too large.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.

This endpoint takes a file upload, so Try it is off here. Use the curl example.

curl https://api.unvop.com/v1/builds/uploads/logo \
  -H "Authorization: Bearer $UNVOP_KEY" \
  -F "file=@logo.png"
Response 201
{
  "upload": {
    "id": "upl_123"
  }
}

Check a free address

GET/subdomains/{name}

Whether a free address (name.<sites domain>) is available for a new site.

Path parameters

  • namestringrequired

Response 200

  • availablebooleanrequired
  • hostnamestring
  • urlstringnullable
  • reasonstring

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/subdomains/harbour-bakery \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "available": true,
  "hostname": "harbour-bakery.unvop.dev",
  "url": "https://harbour-bakery.unvop.dev",
  "reason": null
}

Generate a site in one call (legacy)

POST/generate
ScopegenerateIdempotent with a keyDeprecated

The older one-call generator: one model writes a SiteSpec and the site is created when it returns. It has no research, design reference, images or review. Prefer POST /builds, which runs the full pipeline. Send Accept: text/event-stream for progress events.

Headers

  • Idempotency-Keystring

    Send the same key to repeat this request safely; the first answer is replayed for 24 hours.

    up to 200 characters

Request body JSON

  • promptstringrequired

    at least 20 characters · up to 8,000 characters

  • namestring

    at least 1 characters · up to 120 characters

  • localestring

    up to 20 characters

  • hostnamestring
  • ownerobject
    2 child fields
    • emailstringrequired

      email

    • namestring

      up to 120 characters

  • brandobject
    4 child fields
    • tokensmap of string
    • logoUrlstring

      up to 2,000 characters

    • taglinestring

      up to 200 characters

    • notesstring

      up to 1,000 characters

  • publishboolean

    default true

  • dryRunboolean

    default false

Response 201

  • siteobjectrequirednullable

    A website.

    6 child fields
    • idstringrequired
    • namestringrequired
    • hostnamesarray of stringsrequired

      The web addresses the site answers at.

    • themestringrequired
    • settingsobjectrequired

      Navigation, footer, organization, SEO, tokens, design and more.

    • createdAtstringrequired

      An ISO 8601 timestamp.

  • urlsobjectrequired
    4 child fields
    • sitestringrequirednullable
    • adminstringrequired
    • setupstringrequirednullable
    • previewstringrequirednullable
  • warningsarray of objectsrequired
    2 child fields
    • pathstringrequired
    • messagestringrequired
  • dryRunbooleanrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
  • 503Not available on this server.
Try itSends a real request. Asks before it changes anything.
curl https://api.unvop.com/v1/generate \
  -H "Authorization: Bearer $UNVOP_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "prompt": "Harbour Bakery is a family bakery in Falmouth. Sourdough, pastries and celebration cakes."
  }'
Response 201
{
  "site": {
    "id": "site_123",
    "name": "Harbour Bakery",
    "hostnames": [
      "harbour-bakery.unvop.dev"
    ],
    "theme": "studio",
    "settings": {},
    "createdAt": "2026-11-20T08:00:00.000Z"
  },
  "urls": {
    "site": "…",
    "admin": "…",
    "setup": "…",
    "preview": "…"
  },
  "warnings": [],
  "dryRun": false
}