> ## 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 a transaction's screenings

> Lists every screening performed on the parties of one transaction, newest first. Unlike the top-level list this is not filtered to live data: a test transaction's own screenings are test records, and hiding them would empty the response for the transaction being read.



## OpenAPI

````yaml /openapi/transaction-monitoring.json get /api/v1/sanctions/transaction/{transaction_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/sanctions/transaction/{transaction_id}/:
    get:
      tags:
        - Sanctions screening
      summary: List a transaction's screenings
      description: >-
        Lists every screening performed on the parties of one transaction,
        newest first. Unlike the top-level list this is not filtered to live
        data: a test transaction's own screenings are test records, and hiding
        them would empty the response for the transaction being read.
      operationId: sanctions_transaction_retrieve
      parameters:
        - in: path
          name: transaction_id
          schema:
            type: string
            format: uuid
            description: Transaction this screening was triggered by, if any
          required: true
          description: Identifies the transaction.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SanctionsCheckResponse'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    SanctionsCheckResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Primary key
        partnerId:
          type: integer
          readOnly: true
        transactionId:
          type: string
          format: uuid
          readOnly: true
          description: Primary key
        name:
          type: string
          readOnly: true
          description: Full name (person) or company name screened
        userType:
          allOf:
            - $ref: '#/components/schemas/UserTypeEnum'
          readOnly: true
          description: |-
            Whether the subject is a person or a company

            * `PERSON` - Person
            * `COMPANY` - Company
        party:
          nullable: true
          readOnly: true
          description: Which party of the linked transaction was screened; null when none
          oneOf:
            - $ref: '#/components/schemas/PartyEnum'
            - $ref: '#/components/schemas/NullEnum'
        idenfyCheckId:
          type: string
          readOnly: true
          nullable: true
          description: iDenfy's id for this check
        clientId:
          type: string
          readOnly: true
          nullable: true
          description: A unique string identifying a client on your side.
        status:
          allOf:
            - $ref: '#/components/schemas/SanctionsCheckResponseStatusEnum'
          readOnly: true
          description: |-
            Normalized screening outcome

            * `NOT_CHECKED` - Not Checked
            * `NO_FLAGS` - No Flags
            * `FLAGS_FOUND` - Flags Found
            * `FALSE_POSITIVE` - False Positive
            * `TRUE_POSITIVE` - True Positive
        matchCount:
          type: integer
          readOnly: true
          description: Number of AML/adverse-media matches returned
        amlResults:
          readOnly: true
          nullable: true
          description: Raw iDenfy AML API response (matches, list names, scores)
        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
        isStub:
          type: boolean
          readOnly: true
          description: True when iDenfy creds were absent and a stub result was stored
        error:
          type: string
          readOnly: true
          nullable: true
          description: Error message if the screening call failed
        screenedAt:
          type: string
          format: date-time
          readOnly: true
          description: When this screening was performed
        createdAt:
          type: string
          format: date-time
          readOnly: true
      required:
        - amlResults
        - clientId
        - createdAt
        - error
        - id
        - idenfyCheckId
        - isStub
        - isTest
        - matchCount
        - name
        - partnerId
        - party
        - screenedAt
        - status
        - transactionId
        - userType
    UserTypeEnum:
      enum:
        - PERSON
        - COMPANY
      type: string
      description: |-
        * `PERSON` - Person
        * `COMPANY` - Company
    PartyEnum:
      type: string
      enum:
        - CUSTOMER
        - COUNTERPARTY
    NullEnum:
      enum:
        - null
    SanctionsCheckResponseStatusEnum:
      enum:
        - NOT_CHECKED
        - NO_FLAGS
        - FLAGS_FOUND
        - FALSE_POSITIVE
        - TRUE_POSITIVE
      type: string
      description: |-
        * `NOT_CHECKED` - Not Checked
        * `NO_FLAGS` - No Flags
        * `FLAGS_FOUND` - Flags Found
        * `FALSE_POSITIVE` - False Positive
        * `TRUE_POSITIVE` - True Positive
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

## Related topics

- [List screening results](https://documentation.idenfy.com/api-reference/transaction-monitoring/sanctions-screening/list-screening-results.md)
- [List transactions](https://documentation.idenfy.com/api-reference/transaction-monitoring/transactions/list-transactions.md)
- [List submitted transactions](https://documentation.idenfy.com/api-reference/transaction-monitoring/ingest/list-submitted-transactions.md)
- [List a transaction's comments](https://documentation.idenfy.com/api-reference/transaction-monitoring/transactions/list-a-transactions-comments.md)
- [List refused transactions](https://documentation.idenfy.com/api-reference/transaction-monitoring/party-suspensions/list-refused-transactions.md)


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