Skip to content

Get alert configuration

GET
/api/v1/monitoring/alert-config/{tenant_id}
curl --request GET \
--url https://api.ultimateteam.ai/api/v1/monitoring/alert-config/example \
--header 'X-API-Key: <X-API-Key>'

Returns per-tenant alert routing configuration.

tenant_id
required
Tenant Id
string

Successful Response

Media typeapplication/json
AlertConfig

Per-tenant alert routing configuration.

Args: tenant_id: The tenant identifier. destinations: List of configured alert destinations. severity_routing: Maps severity to destination types. quiet_hours_start: Start of quiet hours (0-23, None=disabled). quiet_hours_end: End of quiet hours (0-23, None=disabled).

object
destinations
Destinations
Array<object>
AlertDestination

A single alert destination configuration.

Args: type: Destination type (pagerduty, opsgenie, slack, email). url: Webhook URL or email address. api_key: Optional API key for the destination. enabled: Whether this destination is active.

object
api_key
Any of:
string
enabled
Enabled
boolean
default: true
type
required
Type
string
url
Url
string
""
quiet_hours_end
Any of:
integer
quiet_hours_start
Any of:
integer
severity_routing
Severity Routing
object
key
additional properties
Array<string>
tenant_id
Tenant Id
string
""
Example
{
"destinations": [
{
"enabled": true,
"url": ""
}
],
"tenant_id": ""
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}