v1

latestOpenAPI 3.0.02026-07-26224386470.0 KB
EndUserCalculations

Get EndUser anomalies

Get anomalies for given EndUser given a category label or heron id

get/api/end_users/{end_user_id_or_heron_id}/anomalies

Path parameters

end_user_id_or_heron_idstring required

The end_user_id or heron_id of EndUser to upload

Query parameters

category_label_or_heron_idstring required
Example:Revenue

Label or Heron ID of category to find anomalies for

Response

OK

amountnumber

Converted amount of transaction in currency

anomaly_scorenumber

Anomaly score 0-1, where 1 is very anomalous, and 0 is not anomalous

currencystring

Currency code for amount that transaction was converted to

heron_idstring

Heron ID of the Transaction

reference_idstring

Customer-provided reference ID for the Transaction

Example response

[
  {
    "amount": 42.42,
    "anomaly_score": 0.5,
    "currency": "USD",
    "heron_id": "txn_4HeDBVfDSAfmdKb9byKw9v",
    "reference_id": "1342db06-feb7-4c33-a157-4351d74a98e9"
  }
]