GET
/
Alias for listing recent or ongoing faults
curl --request GET \
  --url https://api.altostrat.io/faults/ \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "message": "Site Offline: location1",
      "resolved_at": "2023-07-01 08:03:22",
      "created_at": "2023-07-01 07:05:22",
      "duration": "58 minutes",
      "severity": "critical",
      "type": "site",
      "cause": "Disconnected",
      "site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "resource_identifier": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "current_page": 1,
  "per_page": 50,
  "total": 123,
  "hash": "c541d19cf34bbf..."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

type
enum<string>

Filter by fault type: site or wantunnel

Available options:
site,
wantunnel
site
string

Filter by site ID (UUID).

status
enum<string>

Filter by fault status: resolved, unresolved, or recent

Available options:
resolved,
unresolved,
recent
resource_id
string

Optional resource ID to filter by (UUID).

limit
integer
default:50

Number of results per page. Default 50, max 100.

Required range: 1 <= x <= 100
page
integer
default:1

Page number for paginated results. Default 1.

Required range: x >= 1

Response

200
application/json

A paginated list of faults identical to /recent endpoint.

The response is of type object.