Observability

Preview — pending review

This reference is generated from the platform API contract and is still under review. Operations, fields, and descriptions can change before publication.

List an alert rule's state changes

GET
/scopes/{scopeId}/observability/alert-rules/{alertRuleId}/events

Returns the rule's recorded state transitions (e.g. INSUFFICIENT_DATA -> OK, OK -> FIRING, FIRING -> OK), newest first. RBAC: READ on the observability plane.

Authorization

bearerToken
headerAuthorizationBearer <token>

An API token (pc_live_…) or a service-account key (sak_live_…), created in Identity & Access Management and sent as Authorization: Bearer <token>. Requests are rate limited per credential and per tenant: every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset, and a refused request gets 429 RATE_LIMITED with Retry-After.

Path Parameters

scopeId*string

Opaque ownership+authorization scope resolving to tenant + subscription + project.

alertRuleId*string

Query Parameters

page?integer

1-based page number.

Range1 <= value
Default1
pageSize?integer

Items per page (max 200).

Range1 <= value <= 200
Default50

Response Body

One page of events.

application/json
  1. response
data*array<>
meta*

Pagination envelope metadata. List responses are always { data, meta } — never a naked array.

curl -X GET "https://example.com/scopes/string/observability/alert-rules/string/events"
{  "data": [    {      "id": "string",      "ruleId": "string",      "fromState": "OK",      "toState": "OK",      "value": 0,      "reason": "string",      "instanceId": "string",      "instanceName": "string",      "occurredAt": "string"    }  ],  "meta": {    "page": 1,    "pageSize": 1,    "total": 0,    "hasNext": true  }}