Skip to content

Get a single cost-anomaly by id

GET
/cost-anomalies/{id}
id
required
string

DocumentId

OK

object
data
object
org_id
required

Organisation documentId the anomaly belongs to.

string
resource_id

Cloud-instance documentId or service name. Null = org-total anomaly.

string
resource_type
string
Allowed values: cloud_instance service database network total
expected_usd

Expected cost derived from historical baseline (IQR median or mean).

number
actual_usd
required

Observed cost that triggered the anomaly.

number
deviation_pct

Signed percentage deviation: (actual - expected) / expected * 100.

number
detection_method
string
Allowed values: iqr z_score threshold
status
string
Allowed values: open acknowledged false_positive
acknowledged_at
string format: date-time
acknowledged_by

User ID (Strapi numeric id or email) who acknowledged the anomaly.

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Missing or invalid authentication

Not authorized (tenant scope or capability)

Not found