Skip to main content
POST
/
observability
/
v1
/
metric-failure-mode-insights
/
bulk_generate
cURL
curl --request POST \
  --url https://api.cekura.ai/observability/v1/metric-failure-mode-insights/bulk_generate/ \
  --header 'Content-Type: application/json' \
  --header 'X-CEKURA-API-KEY: <api-key>' \
  --data '
{
  "project": 123,
  "metric_names": [
    "<string>"
  ]
}
'
{
  "project": 123,
  "metric_names": [
    "<string>"
  ]
}

Authorizations

X-CEKURA-API-KEY
string
header
required

API Key Authentication. It should be included in the header of each request.

Body

Request body for POST /metric-failure-mode-insights/bulk_generate/.

Triggers an insight audit for every eligible metric in the project using a sliding T-24h to T window. Returns the new insight rows so the FE can poll them.

project
integer
required

Project ID — fan out audits to every eligible metric in it.

metric_names
string[] | null

Optional metric-name allowlist. If provided, only those metrics are audited (used by the FE to keep the toast count aligned with the cards on screen when a view filter is applied).

Maximum string length: 255

Response

200 - application/json

Request body for POST /metric-failure-mode-insights/bulk_generate/.

Triggers an insight audit for every eligible metric in the project using a sliding T-24h to T window. Returns the new insight rows so the FE can poll them.

project
integer
required

Project ID — fan out audits to every eligible metric in it.

metric_names
string[] | null

Optional metric-name allowlist. If provided, only those metrics are audited (used by the FE to keep the toast count aligned with the cards on screen when a view filter is applied).

Maximum string length: 255