# Get the system status (https://notert.io/docs/api/reference/get-the-system-status)

`GET /api/v1/status`

The health checks the workspace added for its applications, as its widget shows visitors: each application with its services, whether each is operational, degraded or down and since when, why a failing check fails, and its latest check.

Access: A token with status:read.

## Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `state` | string | No | Only the services visitors see in this state: operational, degraded or down. An application with none is left out. One of: `operational`, `degraded`, `down`. |

## Response 200

| Field | Type | Description |
| --- | --- | --- |
| `live` | boolean | Whether any service is being checked, so the workspace's visitors see a status at all. |
| `applications` | object[] | The applications the workspace added health checks for, in the order they were added, each with its services. Empty when none was added. |
| `applications.name` | string | The application's or the service's name. |
| `applications.services` | object[] | The application's services, in the order they were added. |
| `applications.services.id` | string | The service's id. |
| `applications.services.name` | string | The application's or the service's name. |
| `applications.services.url` | string | The address the service's check reads. |
| `applications.services.phase` | string | Where the service's check stands: paused; over limit (past what the workspace's plan checks); checking (no check yet); hidden (checked, not yet shown to visitors); changing (its latest check differs from what visitors see); or steady. One of: `paused`, `over limit`, `checking`, `hidden`, `changing`, `steady`. |
| `applications.services.state` | string or null | What visitors see of the service: operational, degraded or down. Null while nothing is shown. One of: `operational`, `degraded`, `down`. |
| `applications.services.since` | date-time or null | Since when visitors have seen that state. Null while nothing is shown. |
| `applications.services.problem` | string or null | Why the service's check fails, such as status (an unexpected status code), slow, timeout or unreachable. Null while it passes. One of: `status`, `slow`, `reported degraded`, `reported down`, `timeout`, `not found`, `refused`, `certificate`, `private`, `port`, `blocked`, `unreachable`, `redirects`, `not configured`. |
| `applications.services.lastCheck` | object or null | The service's latest check. Null before its first. |
| `applications.services.lastCheck.at` | date-time | When the check ran. |
| `applications.services.lastCheck.httpStatus` | integer or null | The status code the check was answered with. Null when nothing answered. |
| `applications.services.lastCheck.latencyMs` | integer or null | How long the answer took, in milliseconds. Null when nothing answered. |

## Errors

| Status | Code | Message |
| --- | --- | --- |
| 400 | `BAD_REQUEST` | Input validation failed. |
| 401 | `UNAUTHORIZED` | Send a valid API token as a Bearer token. |
| 403 | `HOLDER_NOT_ALLOWED` | The teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. |
| 403 | `INSUFFICIENT_SCOPE` | This API token can't read your system status. Create one that may in the workspace's settings. |
| 403 | `NETWORK_NOT_ALLOWED` | This API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl "https://app.notert.io/api/v1/status?state=down" \
  -H "Authorization: Bearer $NOTERT_API_TOKEN"
```

## Example response 200

```json
{
  "live": true,
  "applications": [
    {
      "name": "API",
      "services": [
        {
          "id": "5b7d9f1a-3c5e-4a7b-9d1f-3a5c7e9b1d24",
          "name": "API",
          "url": "https://api.example.com/health",
          "phase": "steady",
          "state": "operational",
          "since": "2026-11-10T14:05:00.000Z",
          "problem": null,
          "lastCheck": {
            "at": "2026-11-21T09:30:00.000Z",
            "httpStatus": 200,
            "latencyMs": 84
          }
        }
      ]
    }
  ]
}
```
