Skip to main content
POST
Create a fault

Authorizations

Authorization
string
header
required

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

Body

application/json

The details of the fault to create.

resource_id
string
required

The unique identifier of the resource experiencing the fault.

Example:

"dev_2j4k2l2j3k4l2j3k4"

microservice_id
string
required

The identifier of the microservice reporting the fault.

Example:

"manual-api-entry"

type
string
required

A slug-style category for the fault.

Example:

"wan-degradation"

severity
enum<string>
required

The severity level of the fault.

Available options:
LOW,
MEDIUM,
HIGH,
CRITICAL,
WARNING
Example:

"HIGH"

message
string
required

A concise, human-readable summary of the fault.

Example:

"WAN link latency high: Primary link (WAN1) latency is elevated"

cause
string
required

A detailed explanation of the probable cause.

Example:

"Latency probe exceeded 250ms for 5 consecutive checks."

resource_ancestry_path
string

Optional. A pipe-delimited | string for hierarchical context.

Example:

"site_8a7b6c5d4e3f2g1h|dev_2j4k2l2j3k4l2j3k4"

Response

The newly created fault object.

The Fault object represents a detected issue or event within the network.

id
string

A unique identifier for the fault object, prefixed with flt_.

Example:

"flt_31pkd1t8FvW7qZv0jG2a9kH5mB1"

resource_id
string

The unique identifier of the resource that experienced the fault.

Example:

"dev_2j4k2l2j3k4l2j3k4"

customer_id
string

The unique identifier of the customer account this fault belongs to.

Example:

"cus_1i2j3k4l5m6n7o8p"

microservice_id
string

The identifier of the microservice that reported the fault.

Example:

"wantunnel-monitor"

type
string

The category or type of the fault.

Example:

"wantunnel"

status
enum<string>

The current status of the fault.

Available options:
unresolved,
resolved
Example:

"unresolved"

severity
enum<string>

The severity level of the fault.

Available options:
LOW,
MEDIUM,
HIGH,
CRITICAL,
WARNING
Example:

"CRITICAL"

message
string

A concise, human-readable summary of the fault.

Example:

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

cause
string

A detailed explanation of the probable cause of the fault.

Example:

"Probe failed: Latency exceeded 500ms threshold"

created_at
string<date-time>

The timestamp when the fault was first detected and created.

Example:

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

resolved_at
string<date-time> | null

The timestamp when the fault was resolved. Null if the fault is still active.

Example:

null

resource_ancestry_path
string | null

A pipe-delimited | string representing the hierarchical location of the resource, used for filtering faults by a parent resource (e.g., a specific site).

Example:

"site_8a7b6c5d4e3f2g1h|dev_2j4k2l2j3k4l2j3k4"

ttl
integer | null

A Unix timestamp indicating when the fault record will automatically expire from the database.

Example:

1797825595

comments
object[]

A list of comments associated with the fault, ordered from oldest to newest.