# POST /websites/:website_id/builder/open

**Resource:** [Websites](./websites.md)  
**MCP tool:** `open_website_builder`  
**Scopes:** `websites:read`  
**Write operation:** no

Open the AI website builder for a website: it loads the site's code into a private draft with a live preview link. Changes stay in the draft until published, so opening is safe. Waits up to wait_seconds (default 90) for the preview to be ready. Returns status (ready, starting, working, failed), preview_url, the files not published yet, restore points and recent activity. You do not have to call this first: send_website_builder_request opens the builder itself.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `website_id` | path | string | yes | The website UUID (from list_websites). |
| `wait_seconds` | body | number | no | How long to wait for the preview to be ready, 0 to 110. Default 90. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/websites/:website_id/builder/open"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"wait_seconds":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`