# Badges and embeds

Every public status page comes with a badge, a script for your website, feeds and
a JSON summary. They all update on their own. Find them, ready to copy, in
**Status → Status pages**: open the page and choose **Embed**.

The addresses below use `status.yourcompany.com`. On a Relevate address, put the
file after your page's address instead, such as
`statuspages.relevate.app/your-page/badge.svg`.

## Badge [#badge]

A small image that says **status | operational** (or degraded, outage,
maintenance), for a README, your docs or a help centre.

```md
[![Status](https://status.yourcompany.com/badge.svg)](https://status.yourcompany.com)
```

```html
<a href="https://status.yourcompany.com">
  <img src="https://status.yourcompany.com/badge.svg" alt="Status">
</a>
```

## On your website [#on-your-website]

Add one script tag, anywhere on the page:

```html
<script src="https://status.yourcompany.com/embed.js" async></script>
```

While an incident or maintenance is under way, a small notice appears in the
bottom corner with a link to your status page. Visitors can close it; it comes
back if the incident gets a new update. When everything is working, nothing
shows.

To show the current status somewhere on your site, like your footer, mark any
element with `data-status-indicator`. The script fills it with a coloured dot
and the headline, such as "All systems operational". A link without an address
gets your status page's.

```html
<a data-status-indicator></a>
```

Options on the script tag:

| Attribute | Effect |
|---|---|
| `data-notice="off"` | Only fill the indicators; never show the notice. |
| `data-position="bottom-right"` | Show the notice in the bottom right instead of the bottom left. |

The script checks for changes every minute while the tab is open. Its notice is
drawn apart from your page, so your styles don't change it and it doesn't change
yours.

## Feeds [#feeds]

Incidents, their updates and scheduled maintenance, newest first:

- RSS: `https://status.yourcompany.com/feed.rss`
- Atom: `https://status.yourcompany.com/feed.atom`

Paste either into a feed reader, or into a chat app that follows feeds to get
updates in a channel.

## JSON summary [#json-summary]

For your own banner, app or support tools:
`https://status.yourcompany.com/summary.json`. Any website can read it, with no
key.

```json
{
  "page": {
    "name": "Your company",
    "url": "https://status.yourcompany.com/",
    "updated_at": "2026-11-07T11:30:00.000Z"
  },
  "status": "degraded",
  "headline": "Some systems are degraded",
  "components": [
    { "name": "API", "group": "Core", "status": "degraded" }
  ],
  "incidents": [
    {
      "id": "status_incident_123",
      "title": "Slow API responses",
      "status": "identified",
      "impact": "degraded",
      "url": "https://status.yourcompany.com/incidents/status_incident_123",
      "started_at": "2026-11-07T11:00:00.000Z",
      "updated_at": "2026-11-07T11:30:00.000Z",
      "message": "We found the cause and are rolling out a fix.",
      "components": ["API"]
    }
  ],
  "maintenance": {
    "in_progress": [],
    "upcoming": [
      {
        "title": "Database upgrade",
        "starts_at": "2026-11-09T02:00:00.000Z",
        "ends_at": "2026-11-09T03:00:00.000Z",
        "message": null
      }
    ]
  }
}
```

| Field | Values |
|---|---|
| `status`, component `status` | `operational`, `degraded`, `outage`, `maintenance`, `unknown` |
| incident `status` | `investigating`, `identified`, `monitoring` |
| incident `impact` | `degraded`, `partial`, `major`, `maintenance`, or `null` |

`incidents` holds only open incidents; resolved ones are in the feeds and on the
page. Times are UTC. If Relevate can't confirm your services' current state,
`status` is `unknown`, as on the page itself. Please check no more than once
every 30 seconds.

## Common questions [#common-questions]

**The badge says unknown.** The page couldn't confirm its monitors' current
results, for example right after it was published. It updates as soon as fresh
checks arrive.

**Do these work before the page is public?** No. They start working when the
page is public, at every address the page has, including your own domain.
