GET
/
api
/
rules
curl --request GET \
  --url https://app.herondata.io/api/rules/ \
  --header 'Authorization: Basic <encoded-value>'
{
  "rules": [
    {
      "condition": "equal",
      "created": "2025-01-21T17:08:56.386332",
      "date_range": "last_180_days",
      "group": "data_quality_datasource",
      "heron_id": "rul_iPJR7BqGq3kYyAqp7Ytb4g",
      "last_updated": "2025-03-04T17:08:56.386384",
      "metric_label": "unique_transactions",
      "name": "notify_if_debt_investment_count_gt_0_last_180d",
      "selector": {
        "is_portfolio": true
      },
      "value": 42.42,
      "value_str": "mrc_12345678ijwdd321d921"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

200 - application/json
OK
rules
object[]