Skip to content

Per-tenant health score

GET
/api/v1/monitoring/tenant-health/{tenant_id}

Returns composite 0-100 health score for a tenant.

Authorizations

Parameters

Path Parameters

tenant_id
required
string

Responses

200

Successful Response

Composite health score for a single tenant.

Args: tenant_id: The tenant identifier. health_score: Composite score 0-100. agent_score: Weighted agent success component (0-30). latency_score: Weighted latency component (0-25). error_score: Weighted error rate component (0-25). credit_score: Weighted credit burn component (0-10). connector_score: Weighted connector health component (0-10). trend: Direction of health change (improving/stable/degrading). severity: Health severity classification. computed_at: ISO datetime when the score was computed.

object
agent_score
number
default: 30
computed_at
string
connector_score
number
default: 10
credit_score
number
default: 10
error_score
number
default: 25
health_score
integer
default: 100
latency_score
number
default: 25
severity
string
default: healthy
tenant_id
string
""
trend
string
default: stable

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string