---
title: "Get the library of ready-made AML screening rules"
method: GET
path: "/resources/api/agent/amlResolutionRules/library"
tags: ["AmlResolutionRulesApiAgentResource"]
---

# Get the library of ready-made AML screening rules

`GET /resources/api/agent/amlResolutionRules/library`

Returns the library of ready-made AML screening rules, grouped by category. Library rules are templates: to use one, take its `rule` definition, adjust it if needed, and add it to the draft via the rule upsert endpoint (omit the `id` to let the server assign a fresh one). Some rules are vendor-specific — check `vendors` against the AML screening vendor you use.

## Response `default`

default response

- AmlRulesLibraryPublicDto — Library of ready-made AML screening rules, grouped by category.
  - `categories` AmlRulesLibraryCategoryPublicDto[] — Rule categories of the library.
    - `id` string — Id of the category.
    - `name` string — Display name of the category.
    - `rules` AmlRulesLibraryRulePublicDto[] — Ready-made rules of the category.
      - `rule` AmlRulePublicDto — A single AML screening rule.
        - `condition` Condition
          - `astId` integer
          - `negate` boolean
          - `or` And[]
            - `and` Criterion[]
              - …
            - `astId` integer
            - `negate` boolean
            - `score` integer
        - `description` string — Free-form description of what the rule does.
        - `id` string — Id of the rule, unique within the rule chain. Omit to create a new rule: the server assigns the id and returns it in the response. Provide an existing id to update that rule.
        - `name` string, required — Display name of the rule.
        - `review` AmlRuleReviewActionPublicDto — Automatic review action applied to AML hits matched by the rule.
          - `expression` string — Condition expression guarding the review action: the action is applied only when it evaluates to true.
          - `matchStatus` Arg
            - `astId` integer
            - `exp` string
            - `lit` string
          - `note` Arg
            - `astId` integer
            - `exp` string
            - `lit` string
          - `riskLevel` Arg
            - `astId` integer
            - `exp` string
            - `lit` string
          - `whitelisted` Arg
            - `astId` integer
            - `exp` string
            - `lit` string
        - `tags` AmlRuleTagActionPublicDto — Tagging action applied to applicants whose AML hits match the rule.
          - `tags` string[] — Applicant tags to add when the rule matches.
      - `vendors` string[] — AML screening vendors the rule is applicable to; applicable to all when empty.

## Changes

> 20 revisions in range; 13 could not be searched.

- **2026-07-26** `6ea8bfe33698` — 5 info
  - added the optional property `categories/items/rules/items/rule/condition/or/items/and/items/args/items/astId` to the response with the `default` status
  - added the optional property `categories/items/rules/items/rule/review/matchStatus/astId` to the response with the `default` status
  - added the optional property `categories/items/rules/items/rule/review/note/astId` to the response with the `default` status
  - added the optional property `categories/items/rules/items/rule/review/riskLevel/astId` to the response with the `default` status
  - …1 more

[Change history](https://skmtc.dev/sumsub/apis/sumsub-api-service/changes/resources/api/agent/amlResolutionRules/library/get.md)

---

[API](https://skmtc.dev/sumsub/apis/sumsub-api-service.md) · [All operations](https://skmtc.dev/sumsub/apis/sumsub-api-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sumsub/sumsub-api-service/revisions/d2c9700d0a69/schema)
