osirSitePublish
Publish a single-page website to a live HTTPS URL on Osir (free tier) — ANY complete HTML document works: the user's own site, a page designed in this chat, or one from the osirSiteDesignBrief flow. Required: name (lowercase letters/digits/hyphens, e.g. 'bar-mediterran'), html (complete document, max 1 MiB). Calling again with the same name redeploys the new version. Optional: region ('us'|'al'); designContract (true ONLY for pages generated via the osirSiteDesignBrief flow — additionally enforces its output contract: exactly one , self-contained, no external scripts/CSS except Google Fonts, no iframes; never set it for a user's own site). For MULTI-FILE sites (separate CSS/JS/images) use osirAppCreateUpload + osirAppDeploy with a zip instead. Then poll osirAppStatus until READY. Requires authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| name | Yes | ||
| region | No | ||
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. | |
| designContract | No |