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

# Retrieve a monitored party

> Retrieves one monitored party with its current state and latest findings.



## OpenAPI

````yaml /openapi/transaction-monitoring.json get /api/v1/aml-monitoring/{monitor_id}/
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/aml-monitoring/{monitor_id}/:
    get:
      tags:
        - AML monitoring
      summary: Retrieve a monitored party
      description: >-
        Retrieves one monitored party with its current state and latest
        findings.
      operationId: aml_monitoring_retrieve
      parameters:
        - in: path
          name: monitor_id
          schema:
            type: string
            format: uuid
            description: Primary key
          required: true
          description: Identifies the monitored party.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AmlMonitorResponse'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    AmlMonitorResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Primary key
        partnerId:
          type: integer
          readOnly: true
        monitoringId:
          type: string
          readOnly: true
          description: >-
            iDenfy monitoring id; uniqueness per partner enforced at the repo
            layer
        name:
          type: string
          readOnly: true
          description: First name (person) or company name
        surname:
          type: string
          readOnly: true
          nullable: true
          description: Surname, for PERSON subjects
        userType:
          allOf:
            - $ref: '#/components/schemas/UserTypeEnum'
          readOnly: true
          description: |-
            Whether the subject is a person or a company

            * `PERSON` - Person
            * `COMPANY` - Company
        nationality:
          type: string
          readOnly: true
          nullable: true
          description: ISO country code of nationality
        dateOfBirth:
          type: string
          readOnly: true
          nullable: true
          description: Date of birth as a passthrough string of iDenfy's own format
        country:
          type: string
          readOnly: true
          nullable: true
          description: ISO country code, for COMPANY subjects
        clientId:
          type: string
          readOnly: true
          nullable: true
          description: A unique string identifying a client on your side.
        monitorAdverseMedia:
          type: boolean
          readOnly: true
          description: Whether adverse-media monitoring is enabled
        autoRenewal:
          type: boolean
          readOnly: true
          description: Whether iDenfy auto-renews this monitoring subscription
        isActive:
          type: boolean
          readOnly: true
          description: False once soft-deleted or deactivated at iDenfy
        isTest:
          type: boolean
          readOnly: true
          description: >-
            True when this record is test data rather than live monitoring data;
            derived from the record it originates from, never set by hand
        removedAt:
          type: string
          format: date-time
          readOnly: true
          nullable: true
          description: >-
            When an analyst removed this monitor; distinguishes our own removal
            from an iDenfy DECLINED alert outcome or an iDenfy-side deactivation
        alertStatus:
          allOf:
            - $ref: '#/components/schemas/MonitorAlertStatus'
          readOnly: true
          description: |-
            Current monitoring alert state

            * `PENDING` - Pending
            * `ALERT` - Alert
            * `ACCEPTED` - Accepted
            * `DECLINED` - Declined
            * `UNKNOWN` - Unknown
        expiration:
          type: string
          format: date-time
          readOnly: true
          nullable: true
          description: When this monitoring subscription expires
        lastCheckedAt:
          type: string
          format: date-time
          readOnly: true
          nullable: true
          description: When status was last pulled from iDenfy
        lastResults:
          readOnly: true
          nullable: true
          description: Latest iDenfy monitoring event/status payload
        isStub:
          type: boolean
          readOnly: true
          description: True when iDenfy creds were absent and this is a stub monitor
        notes:
          type: string
          readOnly: true
          nullable: true
          description: Free-form analyst notes
        createdAt:
          type: string
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          format: date-time
          readOnly: true
      required:
        - alertStatus
        - autoRenewal
        - clientId
        - country
        - createdAt
        - dateOfBirth
        - expiration
        - id
        - isActive
        - isStub
        - isTest
        - lastCheckedAt
        - lastResults
        - monitorAdverseMedia
        - monitoringId
        - name
        - nationality
        - notes
        - partnerId
        - removedAt
        - surname
        - updatedAt
        - userType
    UserTypeEnum:
      enum:
        - PERSON
        - COMPANY
      type: string
      description: |-
        * `PERSON` - Person
        * `COMPANY` - Company
    MonitorAlertStatus:
      enum:
        - PENDING
        - ALERT
        - ACCEPTED
        - DECLINED
        - UNKNOWN
      type: string
      description: |-
        * `PENDING` - Pending
        * `ALERT` - Alert
        * `ACCEPTED` - Accepted
        * `DECLINED` - Declined
        * `UNKNOWN` - Unknown
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

## Related topics

- [List monitored parties](https://documentation.idenfy.com/api-reference/transaction-monitoring/aml-monitoring/list-monitored-parties.md)
- [Retrieve one party suspension](https://documentation.idenfy.com/api-reference/transaction-monitoring/party-suspensions/retrieve-one-party-suspension.md)
- [Re-check a monitored party now](https://documentation.idenfy.com/api-reference/transaction-monitoring/aml-monitoring/re-check-a-monitored-party-now.md)
- [Retrieve Monitoring](https://documentation.idenfy.com/aml/monitoring-retrieve.md)
- [Retrieve a case's customer context](https://documentation.idenfy.com/api-reference/transaction-monitoring/alerts/retrieve-a-cases-customer-context.md)


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