Skip to main content
GET
/
recent
Get recent faults (Legacy)
curl --request GET \
  --url https://api.altostrat.io/recent \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "flt_31pkd1t8FvW7qZv0jG2a9kH5mB1",
    "message": "WAN link failover: Primary link (WAN1) is down",
    "resolved_at": null,
    "created_at": "2025-10-21T12:00:00.000000Z",
    "duration": "2 hours, 15 minutes",
    "severity": "error",
    "type": "wantunnel",
    "cause": "Probe failed: Latency exceeded 500ms threshold",
    "site_id": "site_8a7b6c5d4e3f2g1h",
    "resource_identifier": "dev_2j4k2l2j3k4l2j3k4"
  }
]

Authorizations

Authorization
string
header
required

API requests are authenticated using a JSON Web Token (JWT) provided in the Authorization header.

Query Parameters

site
string

(Optional) Filter recent faults to a specific site.

Example:

"site_8a7b6c5d4e3f2g1h"

type
string

(Optional) Filter by fault type.

Example:

"wantunnel"

Response

A list of recent fault events in a legacy format.

id
string

A unique identifier for the fault object.

Example:

"flt_31pkd1t8FvW7qZv0jG2a9kH5mB1"

message
string

A concise summary of the fault.

Example:

"WAN link failover: Primary link (WAN1) is down"

resolved_at
string<date-time> | null

The timestamp when the fault was resolved.

Example:

null

created_at
string<date-time>

The timestamp when the fault was created.

Example:

"2025-10-21T12:00:00.000000Z"

duration
string

A human-readable string representing the duration of the fault.

Example:

"2 hours, 15 minutes"

severity
string

The severity of the fault.

Example:

"error"

type
string

The type of the fault.

Example:

"wantunnel"

cause
string

The probable cause of the fault.

Example:

"Probe failed: Latency exceeded 500ms threshold"

site_id
string | null

The identifier of the site this resource belongs to.

Example:

"site_8a7b6c5d4e3f2g1h"

resource_identifier
string

The unique identifier of the resource.

Example:

"dev_2j4k2l2j3k4l2j3k4"