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

# Re-check a monitored party now

> Re-checks one monitored party immediately instead of waiting for the next scheduled pass, and returns the monitor with whatever the check found. Monitors created as test data were never enrolled with the screening provider and answer `400`.



## OpenAPI

````yaml /openapi/transaction-monitoring.json post /api/v1/aml-monitoring/{monitor_id}/refresh/
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}/refresh/:
    post:
      tags:
        - AML monitoring
      summary: Re-check a monitored party now
      description: >-
        Re-checks one monitored party immediately instead of waiting for the
        next scheduled pass, and returns the monitor with whatever the check
        found. Monitors created as test data were never enrolled with the
        screening provider and answer `400`.
      operationId: aml_monitoring_refresh_create
      parameters:
        - in: path
          name: monitor_id
          schema:
            type: string
            format: uuid
            description: Primary key
          required: true
          description: Identifies the monitored party.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AmlMonitorResponse'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/AmlMonitorResponse'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/AmlMonitorResponse'
      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

- [Transaction Monitoring API: Alerts, Investigations and SARs](https://documentation.idenfy.com/transaction-monitoring/case-management.md)
- [Start monitoring a party](https://documentation.idenfy.com/api-reference/transaction-monitoring/aml-monitoring/start-monitoring-a-party.md)
- [Stop monitoring a party](https://documentation.idenfy.com/api-reference/transaction-monitoring/aml-monitoring/stop-monitoring-a-party.md)
- [Retrieve a monitored party](https://documentation.idenfy.com/api-reference/transaction-monitoring/aml-monitoring/retrieve-a-monitored-party.md)
- [List monitored parties](https://documentation.idenfy.com/api-reference/transaction-monitoring/aml-monitoring/list-monitored-parties.md)


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