> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.idenfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List reference lists

> Lists your reference lists by name, each with its value type, entry count and the rules that test against it. A rule tests a value with `<field> IN LIST <name>` or `NOT IN LIST <name>`.



## OpenAPI

````yaml /openapi/transaction-monitoring.json get /api/v1/reference-lists/lists/
openapi: 3.0.3
info:
  title: iDenfy Transaction Monitoring API
  version: v1
  description: >-
    Submit transactions and events for AML monitoring, and read back the alerts,
    cases and reports they produce.
servers:
  - url: https://ivs-tx-monitoring.idenfy.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Ingest
    description: Submit transactions and events for monitoring.
  - name: Transactions
    description: Read back submitted transactions and their rule hits.
  - name: Rules
    description: Detection rules evaluated against every submission.
  - name: Alerts
    description: Alerts opened when a rule matches.
  - name: Investigations
    description: Cases opened from one or more alerts.
  - name: SARs
    description: Suspicious activity reports and their attachments.
  - name: Sanctions screening
    description: Sanctions and PEP screening of transaction parties.
  - name: AML monitoring
    description: Ongoing AML monitoring of screened parties.
  - name: Party suspensions
    description: ''
  - name: Webhooks
    description: Outbound event delivery to your endpoints.
  - name: Custom fields
    description: Your own transaction attributes, declared so rules can match them.
  - name: Reference lists
    description: Named value lists rules can reference.
  - name: Notification rules
    description: Slack and email notifications for alerts.
  - name: Reports
    description: Generated compliance reports.
paths:
  /api/v1/reference-lists/lists/:
    get:
      tags:
        - Reference lists
      summary: List reference lists
      description: >-
        Lists your reference lists by name, each with its value type, entry
        count and the rules that test against it. A rule tests a value with
        `<field> IN LIST <name>` or `NOT IN LIST <name>`.
      operationId: reference_lists_lists_list
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ReferenceList'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ReferenceList:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Primary key
        partnerId:
          type: integer
          readOnly: true
        name:
          type: string
          readOnly: true
          description: Slug a rule refers to, e.g. mule_accounts; ^[a-z0-9_]+$
        valueType:
          allOf:
            - $ref: '#/components/schemas/ValueTypeEnum'
          readOnly: true
          description: |-
            What the list holds; decides normalisation

            * `COUNTRY` - Country
            * `ACCOUNT` - Account / IBAN
            * `WALLET` - Wallet address
            * `IP` - IP address
            * `TEXT` - Text
        description:
          type: string
          readOnly: true
          nullable: true
          description: What the list is for
        entryCount:
          type: integer
          readOnly: true
          default: 0
          description: Entries on the list
        createdAt:
          type: string
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          format: date-time
          readOnly: true
        usedBy:
          type: object
          additionalProperties: {}
          description: What tests against the list; it cannot be deleted while used
          readOnly: true
        sourceUrl:
          type: string
          format: uri
          readOnly: true
          nullable: true
          description: https:// file of values this list can sync from
        lastSyncedAt:
          type: string
          format: date-time
          readOnly: true
          nullable: true
          description: When the last sync ran
        lastSyncStatus:
          type: string
          readOnly: true
          nullable: true
          description: SUCCEEDED or FAILED, for the last sync
        lastSyncError:
          type: string
          readOnly: true
          nullable: true
          description: Why the last sync failed
        lastSyncSummary:
          readOnly: true
          nullable: true
          description: 'Counts from the last sync: added, removed, unchanged, rejected'
      required:
        - createdAt
        - description
        - entryCount
        - id
        - lastSyncError
        - lastSyncStatus
        - lastSyncSummary
        - lastSyncedAt
        - name
        - partnerId
        - sourceUrl
        - updatedAt
        - usedBy
        - valueType
    ValueTypeEnum:
      enum:
        - COUNTRY
        - ACCOUNT
        - WALLET
        - IP
        - TEXT
      type: string
      description: |-
        * `COUNTRY` - Country
        * `ACCOUNT` - Account / IBAN
        * `WALLET` - Wallet address
        * `IP` - IP address
        * `TEXT` - Text
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

## Related topics

- [Transaction Monitoring Dashboard: Workflows, Suspensions and Reference Lists](https://documentation.idenfy.com/guides/dashboard/transaction-monitoring/workflows-and-lists.md)
- [List a reference list's entries](https://documentation.idenfy.com/api-reference/transaction-monitoring/reference-lists/list-a-reference-lists-entries.md)
- [List a reference list's changes](https://documentation.idenfy.com/api-reference/transaction-monitoring/reference-lists/list-a-reference-lists-changes.md)
- [Delete a reference list](https://documentation.idenfy.com/api-reference/transaction-monitoring/reference-lists/delete-a-reference-list.md)
- [Update a reference list](https://documentation.idenfy.com/api-reference/transaction-monitoring/reference-lists/update-a-reference-list.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.