Status pages
Status pages
A status page is the public face of your monitoring. Components show live status from monitors, pushes or manifests, and incidents and maintenance appear on it automatically.
Create a page
curl -X POST https://upbutler.com/api/v1/pages \
-H "Authorization: Bearer $UPBUTLER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme Status",
"slug": "acme",
"theme": { "preset": "midnight", "accent": "#22c55e" },
"branding": { "logoText": "Acme", "websiteUrl": "https://acme.com", "supportUrl": "https://acme.com/support" }
}'The page is live at https://upbutler.com/s/acme. Wherever the API takes a pageId, you can pass either the id (pg_…) or the slug. Your plan sets how many pages you can have: 1 on Free, 1 on Starter, 5 on Pro, 20 on Business.
Slugs
Lowercase letters, digits and dashes, 3–48 characters, globally unique. If you leave it out, it is derived from the name (and gets -status appended if the result is reserved or too short). Reserved: app, api, admin, www, status, docs, login, new, pricing, blog, help, support, mail. A taken slug returns 409 conflict.
Page fields
Accepted by POST /pages and PATCH /pages/:pageId. Updates merge: nested objects (theme, branding, settings, seo) only change the keys you send. In branding, sending null removes a value.
| Field | Type | Description |
|---|---|---|
namerequired | string | max length 100 |
slug | string | Public URL slug (/s/<slug>). 3–48 characters, or omit to derive it from name.pattern ^[a-z0-9](?:[a-z0-9-]{1,46}[a-z0-9])?$ |
description | string | Shown under the page title.max length 500 |
customDomain | string | null | Starter and up (coming soon, on request until then). A hostname such as status.example.com. null removes it.pattern ^(?=.{4,253}$)([a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z]{2,63}$ · nullable |
access | object | |
access.audience | string | Internal pages: team = your own people (internal incidents, notes, on-call… as switched on); customer = one customer: viewers see only what a public page would show for this page, read-onlyteamcustomer |
visibility | string | public (default) or private.publicprivateinternal |
theme | object | |
theme.preset | string | One of: midnight, grid, daylight, paper.max length 30 |
theme.mode | string | dark or light. Set by the preset.darklight |
theme.accent | string | Hex color such as #22c55e.pattern ^#[0-9a-fA-F]{6}$ |
theme.tokens | map<string, string> | Override individual color tokens. See Themes. |
theme.fontSans | string | UI font: Geist, Inter, Manrope, IBM Plex Sans, Space Grotesk, System.max length 40 |
theme.fontMono | string | Mono font: Geist Mono, IBM Plex Mono, JetBrains Mono, System Mono.max length 40 |
theme.radius | integer | Corner radius in px.min 0 · max 24 |
theme.customCss | string | Pro and up. Raw CSS appended to the page.max length 50,000 |
branding | object | |
branding.logoUrl | string | null | max length 1,000 · nullable |
branding.logoDarkUrl | string | null | max length 1,000 · nullable |
branding.logoText | string | null | max length 60 · nullable |
branding.faviconUrl | string | null | max length 1,000 · nullable |
branding.websiteUrl | string (url) | null | max length 500 · nullable |
branding.supportUrl | string (url) | null | max length 500 · nullable |
branding.headerLinks | object[] | max 8 items |
branding.headerLinks[].labelrequired | string | max length 60 |
branding.headerLinks[].urlrequired | string (url) | max length 500 |
branding.footerLinks | object[] | max 20 items |
branding.footerLinks[].labelrequired | string | max length 60 |
branding.footerLinks[].urlrequired | string (url) | max length 500 |
branding.footerText | string | null | max length 300 · nullable |
branding.hidePoweredBy | boolean | Pro and up. Switches the “Powered by UpButler” badge off (also in subscriber emails). Free and Starter pages always show their plan's branding; the setting is refused there. |
branding.showPoweredBy | boolean | White-label plans (Business) show no UpButler branding by default; true switches the footer badge on. |
branding.poweredByStyle | string | When the branding is shown by the owner's choice (Pro, Business): 'badge' (default) is the footer badge, 'full' adds the header chip and the footer blockbadgefull |
settings | object | |
settings.uptimeDays | integer | Days of uptime history bars (default 90). The page shows at most the plan's history window.min 7 · max 90 |
settings.showUptimePercent | boolean | Show uptime % next to components (default true). |
settings.showResponseTimes | boolean | Allow public response-time charts (components opt in with showResponseTimes) |
settings.language | string | Public page + subscriber email language; auto = visitor Accept-Languageautoendefresitptnlelpltrja |
settings.autoIncidents | boolean | Monitor and push failures open public incidents automatically (default true). |
settings.autoIncidentReview | boolean | Automatic incidents are drafts: the team is alerted, but nothing appears on the page or reaches subscribers until someone publishes it (PATCH /incidents/:id {"publish": true}). Default: on for customer pages, off elsewhere |
settings.incidentMinStatus | string | Lowest component status that opens an automatic incidentdegradedpartial_outagemajor_outage |
settings.aiPublicUpdates | boolean | Use AI-written public summaries for automatic incidents (default true). |
settings.aiGuidelines | string | Rules for AI-written public text, e.g. "Never mention internal infrastructure"max length 2,000 |
settings.aiAvoidTerms | string[] | AI public text containing any of these is replaced by a neutral templatemax 50 items |
settings.subscriptions | object | Which subscription types visitors may use (all default true). |
settings.subscriptions.email | boolean | |
settings.subscriptions.webhook | boolean | |
settings.subscriptions.slack | boolean | |
settings.subscriptions.rss | boolean | |
settings.timezone | string | IANA zone for dates on the page (default UTC).max length 60 |
settings.agentPolicy | object | Overrides for the agent verdict (status.agent.json): status → proceed|retry|fallback|pause, page-wide or per component key. Replaces the stored policy; {} clears it |
settings.agentPolicy.default | map<string, string> | |
settings.agentPolicy.components | map<string, object> | |
settings.userReports | object | "Report a problem" button and widget. On for new pages; only the given fields change |
settings.userReports.enabled | boolean | Show the "Report a problem" button and accept reports |
settings.userReports.origins | string[] | Origins that may embed the widget and POST reports, besides the status page itself, e.g. https://app.acme.commax 20 items |
settings.userReports.minReporters | integer | Distinct reporters within the window that make a signal (default 3)min 1 · max 50 |
settings.userReports.windowMinutes | integer | Sliding window in minutes (default 10)min 2 · max 120 |
settings.userReports.collectEmail | boolean | Offer an optional email field for one "fixed" email |
settings.userReports.escalateUnconfirmed | boolean | Unconfirmed signals (users report problems, checks are green) also start the escalation policy, including agent responders |
settings.userReports.shareEmailsWithAgents | boolean | Include reporter emails in the agent responder packet (default false) |
settings.userReports.aiSummary | boolean | AI summaries of reports in the team inbox |
settings.userReports.showFirstReportedPublicly | boolean | Add a public timeline line "first reported by our users" to incidents that users reported before monitoring confirmed them (default false; never any report text) |
settings.analytics | object | Status page analytics (views, visitors, agent reads; no cookies, no IPs stored). On by default; {"enabled": false} stops counting |
settings.analytics.enabledrequired | boolean | |
settings.searchPing | boolean | Tell search engines (IndexNow) when the public page changes (default true). |
seo | object | |
seo.title | string | max length 120 |
seo.description | string | max length 300 |
seo.noindex | boolean | Ask search engines not to index the page. |
Themes
Pick a preset, then adjust the accent, individual tokens, fonts and radius. Switching presets resets the token overrides and applies that preset's accent, fonts and radius, unless you send them in the same request.
| Preset | Look | Mode | Accent | Fonts | Radius |
|---|---|---|---|---|---|
midnight | Dark, quiet and precise. Hairline borders, mono labels. | dark | #22c55e | Inter / JetBrains Mono | 12px |
grid | Developer-tool dark with a masked line grid and soft glow behind the header. | dark | #6366f1 | Manrope / IBM Plex Mono | 12px |
daylight | Clean light theme for consumer-facing brands. | light | #16a34a | Inter / JetBrains Mono | 12px |
paper | Warm off-white with an editorial feel. | light | #c2410c | IBM Plex Sans / IBM Plex Mono | 6px |
Design tokens
theme.tokens overrides the CSS custom properties (--ub-<token>) used by the page renderer: bg, surface, surface-2, border, border-strong, text, muted, faint, ok, warn, partial, bad, maint, unknown, accent, accent-fg. The Grid preset also uses glow and grid.
Token names must match [a-z0-9-] (max 30 characters). Values may contain only letters, digits, spaces and #(),.%- (max 80 characters), so #0b0c0e and rgba(255,255,255,0.08) work. Anything else is silently dropped.
{
"theme": {
"preset": "paper",
"accent": "#1d4ed8",
"radius": 4,
"tokens": { "bg": "#fbf8f1", "ok": "#15803d" }
}
}Custom CSS (theme.customCss, up to 50,000 characters; Pro and up) is appended to the page. <style> and <script> tags are stripped. Sending custom CSS on a plan without it returns 402 plan_limit. How visibly a page says it runs on UpButler depends on the plan: Free pages carry a “Status by UpButler” chip in the header and a footer block, Starter pages a footer badge, and from Pro the badge can be switched off (branding.hidePoweredBy). It is decided when the page is rendered, from the workspace's current plan, so no page setting and no CSS hides it on Free or Starter.
Groups
Groups are the sections of a page. They are created on the fly when you add a component with a new group name. To reorder, rename, describe or collapse them, replace the whole list:
curl -X PUT https://upbutler.com/api/v1/pages/acme/groups \
-H "Authorization: Bearer $UPBUTLER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"groups": [
{ "id": "grp_0n3q8kz4a1b2c3d4e5f", "name": "APIs" },
{ "name": "Dashboard", "description": "app.acme.com" },
{ "name": "Integrations", "collapsed": true }
]
}'Order in the array is display order. Send an existing group's id to keep it (and its components). Entries without a known id become new groups. Components in groups you leave out become ungrouped.
Components
A component is one row on the page. POST /pages/:pageId/components creates it, PATCH /components/:id updates it and DELETE /components/:id removes it. Your plan sets how many components a page can have: 10 on Free, 30 on Starter, 100 on Pro, 500 on Business. One more returns 402 plan_limit. After a downgrade, components over the cap are hidden from the bottom of the page up and come back on their own when you upgrade (see Downgrading).
| Field | Type | Description |
|---|---|---|
namerequired | string | max length 100 |
key | string | Stable machine key used by pushes and manifests (default: slug of name)pattern ^[a-z0-9][a-z0-9_.-]{0,62}$ |
description | string | max length 500 |
group | string | Group name or id; created if it does not existmax length 80 |
monitorIds | string[] | Status follows these monitorsmax 20 items |
aggregate | string | worstmajorityredundant |
push | boolean | Status is pushed via the component push URL |
pushTtlSec | integer | null | Become "unknown" when no push arrives for this long (null clears it)min 60 · max 604,800 · nullable |
manual | boolean | Switch the component to manual status (set via overrides/incidents) |
manifest | object | Status read from a manifest monitor key |
manifest.monitorIdrequired | string | |
manifest.keyrequired | string | max length 120 |
upstream | object | null | Third-party component: mirror a service from the upstream catalog (slug from upstream_list, e.g. "stripe"), optionally only some of its components. Shown with attribution; never opens incidents. null detaches it. Starter and upnullable |
upstream.servicerequired | string | max length 60 |
upstream.components | string[] | max 10 items |
showUptime | boolean | |
showResponseTimes | boolean | Public response-time chart (monitor-backed components only; page setting showResponseTimes must be on) |
hidden | boolean | |
internalOnly | boolean | Show only on an internal page, to signed-in viewers; hidden from every public surface |
order | integer | min 0 · max 10,000 |
confirmations | integer | Push/manifest: consecutive fresh bad reports before a worse status shows (default 2; 1 = immediate)min 1 · max 10 |
gate | string | null | "incident": a reported status is held and shown only once its automatic incident is published (a draft on pages that review automatic incidents). null clears it.incidentnullable |
incidentTitle | string | null | With autoPublish: title of its automatic incidents, customer-facing (null clears it).max length 120 · nullable |
recoveryConfirmations | integer | Push/manifest: consecutive fresh better reports before a recovery from an outage shows (default 1 = at once; 2 stops a single lucky pass)min 1 · max 10 |
autoPublish | boolean | Publish this component's automatic incidents at once, even on a page that reviews automatic incidents; the reported message opens the incident (it must then hold no addresses, links or banned terms). |
notifySubscribers | boolean | Email (and notify) the page's subscribers of this component when its reported status changes, with the reported message word for word (it must then hold no addresses, links or the page's banned terms). |
key is the component's stable machine name. Pushes, manifests and subscriber filters use it, it is unique per page, and it defaults to the slugified name (“Search API” → search-api). group takes a group name or id. On update, "" removes the component from its group.
Sources
A component gets its status from exactly one source. If you send several, monitorIds wins over manifest, which wins over push. Sending none creates a manual component.
# Follows two monitors (e.g. two regions)
curl -X POST https://upbutler.com/api/v1/pages/acme/components \
-H "Authorization: Bearer $UPBUTLER_API_KEY" -H "Content-Type: application/json" \
-d '{"name": "Search API", "group": "APIs", "monitorIds": ["mon_0n3q8kz1m4hx7c2v9rt", "mon_0n3q8kz9z8y7x6w5v4u"]}'
# Fed by pushes; "unknown" if silent for 10 minutes
curl -X POST https://upbutler.com/api/v1/pages/acme/components \
-H "Authorization: Bearer $UPBUTLER_API_KEY" -H "Content-Type: application/json" \
-d '{"name": "Data pipeline", "key": "pipeline", "push": true, "pushTtlSec": 600}'
# Read from a manifest monitor
curl -X POST https://upbutler.com/api/v1/pages/acme/components \
-H "Authorization: Bearer $UPBUTLER_API_KEY" -H "Content-Type: application/json" \
-d '{"name": "Reddit", "group": "Platforms", "manifest": {"monitorId": "mon_0n3q8kzm4n1f3s7t2qa", "key": "reddit"}}'| Source | Set with | Behavior |
|---|---|---|
monitor | monitorIds (up to 20), aggregate | Recomputed whenever a linked monitor changes state. Starts from the monitors' current state. |
push | push: true, pushTtlSec | You POST statuses to source.pushUrl (returned in the response). Starts as unknown. See Push & manifest. |
manifest | manifest: {monitorId, key} | Reads key from a manifest monitor on every check. Starts as unknown. |
manual | (default) | Starts operational. Change it with overrides or incidents. |
Combining several monitors
Paused and pending monitors are ignored. aggregate decides how the remaining monitors combine:
| Monitors | worst (default) | majority | redundant |
|---|---|---|---|
| Any down | major_outage | More than half down: major_outage. Otherwise: partial_outage | All down: major_outage. Otherwise: degraded |
| None down, any degraded | degraded | degraded | degraded |
| All up | operational | operational | operational |
| All paused or pending | unknown | unknown | unknown |
Use majority for redundant setups, such as the same service checked from several endpoints or replicas, where one failing instance is a partial outage rather than a full one. Use redundant when the instances fail over to each other, so users are still served while any one is up: one failing is degraded, and only all of them failing is an outage.
Overrides
An override pins a component's displayed status above whatever its source says. Incidents set overrides for the components they list, and maintenance sets maintenance for its window. Both clear them on resolution. You can also set one by hand:
curl -X POST https://upbutler.com/api/v1/components/cmp_0n3q8kz2p7wd4yx0s3a/override \
-H "Authorization: Bearer $UPBUTLER_API_KEY" -H "Content-Type: application/json" \
-d '{"status": "degraded", "reason": "Upstream provider throttling"}'
# Clear it
curl -X POST https://upbutler.com/api/v1/components/cmp_0n3q8kz2p7wd4yx0s3a/override \
-H "Authorization: Bearer $UPBUTLER_API_KEY" -H "Content-Type: application/json" \
-d '{"status": null}'API responses show both status (from the source) and effectiveStatus (what visitors see). For real outages, prefer an incident: it also notifies subscribers.
Custom domains
Custom domains are included from Starter: 1 on Starter, 5 on Pro, 20 on Business. They are not self-serve yet: coming soon, and set up on request until then (see below). Meanwhile every page on every plan is live at https://<slug>.upbutler.com. Free pages can't use one (402 plan_limit), and the error names the plan that can.
Serve the page from your own hostname:
PATCH /pages/acmewith{"customDomain": "status.acme.com"}.- Coming soon, on request until then. Write to [email protected] to have a domain set up for you. Until bring-your-own domains are self-serve, every page is live at
https://<slug>.upbutler.com(and/s/<slug>). SettingcustomDomainreturns503 unavailablewith your page address in the hint. - The domain is marked verified on the first request that reaches us through it. From then on, page links, emails and webhook payloads use
https://status.acme.com.
A hostname can belong to only one page (409 conflict). Send "customDomain": null to remove it. After a downgrade, domains beyond the new plan's count are put on hold (the oldest pages keep theirs): those pages stay online at their upbutler.com address, and for 90 days the domain redirects there, so existing links keep working. Upgrading again brings the domain back by itself (checked against DNS first, and unless another page has taken it). Custom CSS on a plan without it is kept aside the same way and comes back after an upgrade.
Settings
autoIncidents: when a linked monitor goes down, or a push or manifest component reachesincidentMinStatus, a public incident opens on this page and resolves on recovery. Turn it off to keep automatic incidents internal: your team is still alerted.incidentMinStatus: the lowest component status that opens an automatic incident:degraded,partial_outage(default) ormajor_outage. It applies to push- and manifest-fed components. Withmajor_outage, a partial outage still colors the component but doesn't open an incident or notify subscribers. A monitor that goes down always opens one. Maintenance never does.aiPublicUpdates: automatic incidents get an AI-written title and customer-safe summary, and recovery posts get an AI summary. With it off, a neutral template is used. If an incident spans several pages, every page must have this on. See AI policy.subscriptions:email,webhook,slack(covers Slack and Discord) andrss. See Subscribers.uptimeDays(7–90) andshowUptimePercentcontrol the uptime bars. The bars never go further back than the plan's history window, so a Free page shows 30 days.timezonesets the zone for server-rendered dates. Visitors' browsers re-render times in their own zone.language: the language of the public page and subscriber emails:en,de,fr,es,it,pt,nl,el,pl,tr,ja, orautoto follow each visitor's browser (Accept-Language).showResponseTimes: allows public response-time charts. Each component also opts in with its ownshowResponseTimes, which only works for monitor-backed components. See Response times.visibility: "private"hides the page from the public API and subscriptions.searchPing(default on): when an incident is posted, updated or resolved, or a component changes status, the page's address is sent to search engines through IndexNow (Bing, Yandex and the other participating engines) so results catch up sooner, at most once per address every ten minutes. Only for public pages that are not hidden from search; private and internal pages are never submitted. Set it tofalse, or switch off "Tell search engines about updates" under Settings → Search engines, to stop the pings.
Search engines
A public page is indexable on its own address (acme.upbutler.com, or your custom domain), with a canonical tag that points there, its own /robots.txt, a /sitemap.xml listing the page, its history and its public incidents, and /llms.txt for agents. seo.title and seo.description set what search results show; seo.noindex asks engines to stay away, removes the sitemap and stops the update pings. Internal and private pages are never indexable.
AI policy
Two settings control what AI may write on your page. They apply to automatic incident titles and summaries, recovery summaries, polish: true rewrites and published postmortems:
aiGuidelines(up to 2,000 characters): rules the AI must follow for all public text, such as “Never mention internal infrastructure or third-party vendors. Refer to the API as ‘the Acme API’.”aiAvoidTerms(up to 50 terms, 2–60 characters each): words that must never appear publicly, such as internal codenames, vendor names orkubernetes. They're passed to the AI, and every AI result is also checked case-insensitively. If the text contains a term, it isn't used. Automatic incidents and recoveries fall back to the neutral template, a polished update falls back to your original text, and publishing a postmortem is rejected with the reason.
{
"settings": {
"aiGuidelines": "Be brief. Never name our cloud provider or internal services.",
"aiAvoidTerms": ["hetzner", "postgres", "project-falcon"]
}
}When an incident spans several pages, the guidelines of all pages are combined, and so are their avoided terms. The team-facing AI analysis isn't restricted by these settings.
Response times
With settings.showResponseTimes on and a monitor-backed component's showResponseTimes on, the page shows a response-time chart for that component. The same data is public JSON:
curl "https://upbutler.com/api/v1/public/pages/acme/components/search-api/response-times?range=7d"range is 24h (default, 30-minute buckets), 7d (3-hour buckets) or 30d (daily). 24h and 7d give p50 and p95 in ms from raw checks. 30d gives the daily average in p50, with p95 null (kind: "daily_average"). Components with several monitors average them. Components that haven't opted in return 404.
Embed on your site
Ready-made embeds read the page's live status; you paste one line and build nothing. Copy them, with your page's name and the current hashes filled in, from the page's Badges tab. They are served from embed.upbutler.com, a host that serves these embeds and nothing else (see Embedding securely).
<script src="https://embed.upbutler.com/v1/status.js" data-page="acme" async></script>Renders a coloured dot and the current state ("All systems operational", "Partial outage", …) where the tag sits, in your site's own font and text colour, linking to the status page or the open incident. It shows a neutral "Status" with a grey dot at once and paints the real state when it arrives. It refreshes every minute while the tab is visible and keeps the last known state if a read fails, so a network error never turns your footer red.
data-page="acme": the page's slug. For a page on your own domain you can writedata-url="https://status.acme.com"instead.data-style="pill"(bordered pill) ordata-style="dot"(dot only, label for screen readers).data-target="#selector": render into another element.data-lang="de": labels in that language instead of the page's.
<script src="https://embed.upbutler.com/v1/notice.js" data-page="acme" async></script>Invisible while everything works. During an incident or maintenance it shows a small floating notice (data-position="top" for a banner, "bottom-left" for the other corner) that visitors can dismiss for the session.
<iframe src="https://embed.upbutler.com/embed/acme?compact=1" width="260" height="24" frameborder="0" scrolling="no" title="Acme status"></iframe>
<iframe src="https://embed.upbutler.com/embed/acme" width="320" height="76" frameborder="0" title="Acme status"></iframe>For sites that run no third-party script at all. ?compact=1 is one line on a transparent background; a frame cannot inherit your text colour, so pass it as &color=9ca3af (hex, without the #). The frames contain no script and show the state as of when they loaded (cached for a minute).
The scripts and frames show public pages. An internal page gives them nothing to read, and the status line stays on the neutral "Status".
Embedding securely
A script you load from someone else runs with the full rights of your page: it could read what is on it, including anything your own code keeps there. So the question to ask of any embed is what you have to trust. Here is the answer for these two scripts.
- What the scripts do.
status.jsdraws one line andnotice.jsone notice, each inside its own shadow root. They read two public JSON documents from your status page (status.agent.jsonfor the state andembed.jsonfor labels and colours), without cookies. They do not read your page, set no cookie, define no global and call nobody else. The notice remembers a dismissal insessionStorage; the status line stores nothing. Text from the network is written as text, never as HTML, and the link can only point at your status page over https. Both files are a few kilobytes of plain, commented JavaScript: read them at the address in the snippet. - A host that serves nothing else. Allowing
script-src https://upbutler.comwould trust every script on our main site.embed.upbutler.comserves the widget files, the iframes, badges and the report widget; every other path is a 404. There is no login, no dashboard, no API and no uploaded content on it, and it never sets or reads a cookie. - A file that cannot change.
/v1/status.jsfollows the newest 1.x release./v1.0.0/status.jsis one exact release: it is never edited (a test in our build fails if a released file changes by one byte), and with anintegrityattribute your visitor's browser refuses it unless it matches the hash you reviewed. Pinning means a compromise of our servers cannot change what runs on your page; it also means you choose when to move to a new version.
<script src="https://embed.upbutler.com/v1.0.0/status.js"
integrity="sha384-c1BvwWJygNo4r45Wh4QlfEUZoGMYPQVtY5tL+855T3yh+rkkpYwFn0dpUTZfS4+w"
crossorigin="anonymous" data-page="acme" async></script>The same for the notice: https://embed.upbutler.com/v1.0.0/notice.js with integrity="sha384-4KZJua9b8CO1Om4VdIeyXecd/GlAsrjzyy85Vx6izz94Qt99d8jPnHTzVL51F6rb". Every version and hash is listed at embed.upbutler.com/v1/versions.json; you can check one yourself with curl -s https://embed.upbutler.com/v1.0.0/status.js | openssl dgst -sha384 -binary | openssl base64 -A.
What to put in your Content-Security-Policy
Add these to the directives you already have. connect-src is your status page's origin: https://acme.upbutler.com for data-page="acme", or your own domain when you use data-url.
script-src https://embed.upbutler.com;
connect-src https://acme.upbutler.com;script-src 'sha384-c1BvwWJygNo4r45Wh4QlfEUZoGMYPQVtY5tL+855T3yh+rkkpYwFn0dpUTZfS4+w' 'sha384-4KZJua9b8CO1Om4VdIeyXecd/GlAsrjzyy85Vx6izz94Qt99d8jPnHTzVL51F6rb';
connect-src https://acme.upbutler.com;frame-src https://embed.upbutler.com;- If your
script-srcuses'unsafe-inline', do not add the hash. Browsers ignore'unsafe-inline'as soon as a hash or nonce appears in the directive, so adding ours would silently block every inline script on your site. Allow the origin instead (script-src https://embed.upbutler.com) and keep theintegrityattribute on the tag: that pins the file just the same. Hash only is for policies that are already hash- or nonce-based. - The widget reads two small files from your status page's address,
/embed.jsonand/status.agent.json; oneconnect-srcentry for that address covers both. - Hash only works when the script tag carries a matching
integrityattribute: the browser then allows that external file by its hash. Per MDN's compatibility data this is supported from Chrome and Edge 59, Firefox 116 and Safari 15.6. An older browser does not load the script, so nothing is shown there; nothing unsafe happens. We tested it in Chromium. If your policy uses'strict-dynamic'with nonces, add your nonce to the script tag instead, as for any other script. - No
style-srcchange is needed in current browsers: the scripts style themselves with a constructed stylesheet, which is not an inline style. Browsers without constructed stylesheets (Safari before 16.4) fall back to a<style>element, which a policy without'unsafe-inline'blocks unless the script tag has your nonce: the text and link still work, unstyled. - The iframes need
frame-srconly (orchild-src/default-srcif that is what your policy uses for frames). - The link opens the status page in a new tab; navigation is not restricted by these directives.
Status for agents
Every page also answers the one question an agent has, in under 1 KB: GET /status.agent.json returns proceed, retry, fallback or pause with a retry delay, an ETA and the incident link, and /mcp on the page's host is a read-only MCP server. See Status for agents.
Public JSON API
Every public page has a JSON view that needs no auth and is safe to poll every 30 seconds:
curl https://upbutler.com/api/v1/public/pages/acme{
"page": { "id": "pg_0n3q8kz0b2fd81mka5e", "slug": "acme", "name": "Acme Status", "description": null, "url": "https://status.acme.com", "websiteUrl": "https://acme.com" },
"status": "degraded",
"statusText": "Degraded performance",
"groups": [
{
"id": "grp_0n3q8kz4a1b2c3d4e5f", "name": "APIs", "description": null, "collapsed": false, "status": "degraded",
"components": [
{
"id": "cmp_0n3q8kz2p7wd4yx0s3a", "key": "search-api", "name": "Search API", "description": null,
"group": "grp_0n3q8kz4a1b2c3d4e5f", "status": "degraded", "statusMessage": "Slow response: 2140ms (threshold 1500ms)",
"updatedAt": "2026-10-09T08:41:02.118Z", "uptime": 99.982,
"days": [{ "date": "2026-10-09", "status": "degraded", "uptime": 100, "downSec": 0, "degradedSec": 1260, "incidents": [] }]
}
]
}
],
"activeIncidents": [],
"maintenance": [],
"recentIncidents": [],
"subscribe": { "url": "https://upbutler.com/api/v1/public/pages/acme/subscribers", "types": ["email", "webhook", "slack", "rss"] },
"generatedAt": "2026-10-09T08:42:10.004Z"
}Pass ?history=false to drop the per-day bars. History lives at GET /public/pages/:slug/incidents (with limit and before) and GET /public/pages/:slug/incidents/:id. Only public updates are included, never internal notes or AI engineering analysis. To be notified instead of polling, subscribe.