---
title: "Get team's risk rules"
method: GET
path: "/risk_rules"
tags: ["Risk Rules"]
---

# Get team's risk rules

`GET /risk_rules`

## Request

- Base URL: `https://aml-api.elliptic.co/v3`
- URL: `https://aml-api.elliptic.co/v3/risk_rules`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-access-key` and API key in header `x-access-sign` and API key in header `x-access-timestamp`

Get the risk rules for your team

## Query parameters

- `include_id_map` boolean

## Response `200`

Rule objects

- union
  - object
    - `risk_rules` RiskRule[]
      - `id` string, UUIDv4: UUIDv4 identifier of the rule
      - `history_id` string, UUIDv4: UUIDv4 identifier of the first version of the rule. If the rule has never been updated, will be equal to id
      - `name` string: the name of the rule
      - `version` number: the version of the rule
      - `is_current` boolean: flag for whether the rule is in use or not
      - `created_at` string, date-time: the date when the rule was created
      - `application_criteria` object: object containing criteria for applying the given rule
      - `trigger_criteria` object: object containing mongo-style statements determining how the risk rule is triggered
      - `scoring` object: object containing the rule's scoring method and options (min_score, max_score, etc)
      - `draft_rule_id` string, UUIDv4: UUIDv4 identifier of the draft rule
  - object
    - `risk_rules` RiskRule[]
      - `id` string, UUIDv4: UUIDv4 identifier of the rule
      - `history_id` string, UUIDv4: UUIDv4 identifier of the first version of the rule. If the rule has never been updated, will be equal to id
      - `name` string: the name of the rule
      - `version` number: the version of the rule
      - `is_current` boolean: flag for whether the rule is in use or not
      - `created_at` string, date-time: the date when the rule was created
      - `application_criteria` object: object containing criteria for applying the given rule
      - `trigger_criteria` object: object containing mongo-style statements determining how the risk rule is triggered
      - `scoring` object: object containing the rule's scoring method and options (min_score, max_score, etc)
      - `draft_rule_id` string, UUIDv4: UUIDv4 identifier of the draft rule
    - `id_map` object

## Other responses

- `401`: Not authenticated
- `403`: Not authorized
- `500`: Server Error

---

[API](https://skmtc.dev/elliptic/apis/aml-api-v3.md) - [All operations](https://skmtc.dev/elliptic/apis/aml-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/elliptic/apis/aml-api-v3/revisions/59665cbc85ce?raw)
