Provider status
Is each AI provider or model up? A list or a grid with a status, latency, when it was last checked and the last few checks, or one pill that sums them up: "All systems operational", "2 degraded".

No script. Your server checks the providers and renders the result; a
re-render (Livewire's wire:poll) brings the next one. Only the pill speaks,
and only when the overall state changes.
Use it
<x-ds::provider-status :providers="[
['name' => 'OpenAI', 'status' => 'operational', 'latency' => 412, 'checkedAt' => $checks['openai']->at, 'href' => 'https://status.openai.com', 'uptime' => $checks['openai']->last(20)],
['name' => 'Anthropic', 'status' => 'degraded', 'message' => 'Elevated errors on long requests', 'checkedAt' => $checks['anthropic']->at],
]" />
A summary pill in a header, kept fresh by Livewire:
<div wire:poll.60s>
<x-ds::provider-status variant="inline" :providers="$providers" href="/status" />
</div>
Items in the slot, with your own logos:
<x-ds::provider-status variant="grid">
@foreach ($providers as $provider)
<x-ds::provider-status-item :name="$provider->name" :status="$provider->status" :latency="$provider->latency_ms" wire:key="provider-{{ $provider->id }}">
<x-slot:logo><img src="{{ $provider->logo }}" alt=""></x-slot:logo>
</x-ds::provider-status-item>
@endforeach
</x-ds::provider-status>
The statuses
| Status | Also taken | Mark | Tone |
|---|---|---|---|
operational | up, ok, healthy, none, true | a filled tick | success |
degraded | degraded_performance, partial_outage, minor | a filled triangle | warning |
down | major_outage, outage, offline, false | a filled ✕ | danger |
maintenance | under_maintenance, scheduled | a wrench | accent |
unknown | anything else | an outlined ? | neutral |
Every status is written as a word beside its mark. The pill takes the worst: down, then degraded, then maintenance, then unknown.
Props: provider-status
| Prop | Type | Default | What it does |
|---|---|---|---|
providers | array | [] | Rows: name, status, message, latency (ms), checkedAt, href, logo, uptime. Or items in the slot; both are counted. |
variant | list grid inline | list | |
label | string | AI providers | Names the list. |
href | string | — | inline: the pill links here. |
statusText | array | — | [status => words]. |
summaryText | array | — | The pill's words: all, none, a one|many form per status (:count degraded), and overall.{status}, what the live region says. |
Props: provider-status-item
| Prop | Type | Default | What it does |
|---|---|---|---|
name | string | required | |
status | as above | unknown | |
message | string | — | What is wrong, in a line. |
latency | number | — | Milliseconds. |
checkedAt | date or ISO 8601 string | — | Shown relative, "Checked 2 minutes ago", in a time element with the full date as its title. |
href | string | — | The provider's status page; the name links there. Only http(s). |
logo | string | — | An image URL. The logo slot takes markup. |
uptime | array | — | The last checks, oldest first, as statuses or booleans: a row of small blocks named "Last 20 checks: 18 operational, 1 degraded, 1 down". |
statusText | array | — |
Accessibility
- A list named by
label. Each row writes its status as a word. - The uptime blocks are one image whose name counts them, so colour is never the only carrier.
- The pill holds the page's only live region for this: a polite one saying the overall state ("Degraded performance"). A poll that changes nothing, or only a count, is silent; one that changes the state is read once.
Don't
- Don't check providers from the browser. Run the checks on a schedule on your server and render the stored result.
- Don't poll every few seconds. A minute is plenty for a status.
From the package repo: edit this page on GitHub.