---
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.

---

[API](https://skmtc.net/sumsub/apis/sumsub-api-service.md) · [All operations](https://skmtc.net/sumsub/apis/sumsub-api-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumsub/sumsub-api-service/versions/cd1cf0bbd4f9/schema)
