---
title: "Check a site build"
method: GET
path: "/api/provision/{siteId}"
tags: ["Site Creation"]
---

# Check a site build

`GET /api/provision/{siteId}`

## Request

- Base URL: `https://www.1clickwebsite.ai`
- URL: `https://www.1clickwebsite.ai/api/provision/{siteId}`
- Auth: HTTP bearer

Returns the current build state. Use the same API key that created the site and poll every 2–5 seconds until `complete` or `failed`.

## Path parameters

- `siteId` string, uuid, required

## Response `200`

Current build status

- SiteStatus
  - `status` 'queued' | 'provisioning' | 'live' | 'enhancing' | 'complete' | 'failed'
  - `currentStep` string, nullable
  - `progressPct` integer
  - `previewUrl` string, uri, nullable
  - `adminUrl` string, uri, nullable
  - `warnings` string[]
  - `error` string, nullable
  - `liveAt` string, date-time, nullable
  - `enhancingStartedAt` string, date-time, nullable
  - `completedAt` string, date-time, nullable
  - `enhancementError` string, nullable
  - `creditRefunded` boolean

## Other responses

- `401`: Missing, invalid, or revoked API key
- `404`: Resource not found or not owned by the authenticated account

---

[API](https://skmtc.dev/1clickwebsite/apis/1clickwebsite-api.md) · [All operations](https://skmtc.dev/1clickwebsite/apis/1clickwebsite-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1clickwebsite/apis/1clickwebsite-api/revisions/e842c9b4e4ec?raw)
