Altostrat Studio is here — the AI-native network operations IDE for engineers running production. Terminal, diagrams, runbooks, and Copilot in one workspace. Get started →
curl --request POST \
--url https://v1.api.altostrat.io/fault \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resource_id": "dev_2j4k2l2j3k4l2j3k4",
"microservice_id": "manual-api-entry",
"type": "wan-degradation",
"severity": "HIGH",
"message": "WAN link latency high: Primary link (WAN1) latency is elevated",
"cause": "Latency probe exceeded 250ms for 5 consecutive checks.",
"resource_ancestry_path": "site_8a7b6c5d4e3f2g1h|dev_2j4k2l2j3k4l2j3k4"
}
'{
"id": "flt_31pkd1t8FvW7qZv0jG2a9kH5mB1",
"resource_id": "dev_2j4k2l2j3k4l2j3k4",
"customer_id": "cus_1i2j3k4l5m6n7o8p",
"microservice_id": "wantunnel-monitor",
"type": "wantunnel",
"status": "unresolved",
"severity": "CRITICAL",
"message": "WAN link failover: Primary link (WAN1) is down",
"cause": "Probe failed: Latency exceeded 500ms threshold",
"created_at": "2025-10-21T12:00:00.000000Z",
"resolved_at": null,
"resource_ancestry_path": "site_8a7b6c5d4e3f2g1h|dev_2j4k2l2j3k4l2j3k4",
"ttl": 1797825595,
"comments": [
{
"user_id": "user_a1b2c3d4e5f6g7h8",
"comment": "Contacted ISP, they are investigating a local outage.",
"created_at": "2025-10-21T12:05:30.000000Z"
}
]
}Manually creates a new fault object. This is typically used for creating faults from external systems or for testing purposes. For automated ingestion, other microservices push events that are processed into faults.
curl --request POST \
--url https://v1.api.altostrat.io/fault \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resource_id": "dev_2j4k2l2j3k4l2j3k4",
"microservice_id": "manual-api-entry",
"type": "wan-degradation",
"severity": "HIGH",
"message": "WAN link latency high: Primary link (WAN1) latency is elevated",
"cause": "Latency probe exceeded 250ms for 5 consecutive checks.",
"resource_ancestry_path": "site_8a7b6c5d4e3f2g1h|dev_2j4k2l2j3k4l2j3k4"
}
'{
"id": "flt_31pkd1t8FvW7qZv0jG2a9kH5mB1",
"resource_id": "dev_2j4k2l2j3k4l2j3k4",
"customer_id": "cus_1i2j3k4l5m6n7o8p",
"microservice_id": "wantunnel-monitor",
"type": "wantunnel",
"status": "unresolved",
"severity": "CRITICAL",
"message": "WAN link failover: Primary link (WAN1) is down",
"cause": "Probe failed: Latency exceeded 500ms threshold",
"created_at": "2025-10-21T12:00:00.000000Z",
"resolved_at": null,
"resource_ancestry_path": "site_8a7b6c5d4e3f2g1h|dev_2j4k2l2j3k4l2j3k4",
"ttl": 1797825595,
"comments": [
{
"user_id": "user_a1b2c3d4e5f6g7h8",
"comment": "Contacted ISP, they are investigating a local outage.",
"created_at": "2025-10-21T12:05:30.000000Z"
}
]
}Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
API requests are authenticated using a JSON Web Token (JWT) provided in the Authorization header.
The details of the fault to create.
The unique identifier of the resource experiencing the fault.
"dev_2j4k2l2j3k4l2j3k4"
The identifier of the microservice reporting the fault.
"manual-api-entry"
A slug-style category for the fault.
"wan-degradation"
The severity level of the fault.
LOW, MEDIUM, HIGH, CRITICAL, WARNING "HIGH"
A concise, human-readable summary of the fault.
"WAN link latency high: Primary link (WAN1) latency is elevated"
A detailed explanation of the probable cause.
"Latency probe exceeded 250ms for 5 consecutive checks."
Optional. A pipe-delimited | string for hierarchical context.
"site_8a7b6c5d4e3f2g1h|dev_2j4k2l2j3k4l2j3k4"
The newly created fault object.
The Fault object represents a detected issue or event within the network.
A unique identifier for the fault object, prefixed with flt_.
"flt_31pkd1t8FvW7qZv0jG2a9kH5mB1"
The unique identifier of the resource that experienced the fault.
"dev_2j4k2l2j3k4l2j3k4"
The unique identifier of the customer account this fault belongs to.
"cus_1i2j3k4l5m6n7o8p"
The identifier of the microservice that reported the fault.
"wantunnel-monitor"
The category or type of the fault.
"wantunnel"
The current status of the fault.
unresolved, resolved "unresolved"
The severity level of the fault.
LOW, MEDIUM, HIGH, CRITICAL, WARNING "CRITICAL"
A concise, human-readable summary of the fault.
"WAN link failover: Primary link (WAN1) is down"
A detailed explanation of the probable cause of the fault.
"Probe failed: Latency exceeded 500ms threshold"
The timestamp when the fault was first detected and created.
"2025-10-21T12:00:00.000000Z"
The timestamp when the fault was resolved. Null if the fault is still active.
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).
"site_8a7b6c5d4e3f2g1h|dev_2j4k2l2j3k4l2j3k4"
A Unix timestamp indicating when the fault record will automatically expire from the database.
1797825595
A list of comments associated with the fault, ordered from oldest to newest.
Show child attributes
Was this page helpful?