> ## 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 one investigation

> Retrieves one investigation in full: its summary, tier, assignee and team, the alerts attached to it with their rules and SLA, the customer those alerts were raised on and the counterparty, the transactions behind them, the notes recorded on the case, any reports opened from it, and the resolution and reporting decision if it has them. Everything the review screen needs, so it makes one request rather than several.



## OpenAPI

````yaml /openapi/transaction-monitoring.json get /api/v1/investigations/{investigation_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/investigations/{investigation_id}/:
    get:
      tags:
        - Investigations
      summary: Retrieve one investigation
      description: >-
        Retrieves one investigation in full: its summary, tier, assignee and
        team, the alerts attached to it with their rules and SLA, the customer
        those alerts were raised on and the counterparty, the transactions
        behind them, the notes recorded on the case, any reports opened from it,
        and the resolution and reporting decision if it has them. Everything the
        review screen needs, so it makes one request rather than several.
      operationId: investigations_retrieve
      parameters:
        - in: path
          name: investigation_id
          schema:
            type: string
            format: uuid
            description: Primary key
          required: true
          description: Identifies the investigation.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvestigationDetail'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    InvestigationDetail:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Primary key
        partnerId:
          type: integer
          readOnly: true
        alertId:
          type: string
          nullable: true
          readOnly: true
        assignedTo:
          type: integer
          description: Unique identifier of the user
          readOnly: true
        assignedToName:
          type: string
          nullable: true
          readOnly: true
          description: Name of the assigned user, or null when nobody is assigned
        assignedTeamId:
          type: string
          format: uuid
          readOnly: true
          description: Primary key
        assignedTeamName:
          type: string
          readOnly: true
        status:
          allOf:
            - $ref: '#/components/schemas/StatusF4bEnum'
          readOnly: true
          description: |-
            Investigation lifecycle state

            * `OPEN` - Open
            * `IN_PROGRESS` - In Progress
            * `PENDING_INFO` - Pending Info
            * `RESOLVED` - Resolved
            * `ESCALATED_TO_L3` - Escalated To L3
        tierLevel:
          type: integer
          readOnly: true
          description: Review tier this investigation sits at
        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
        summary:
          type: string
          readOnly: true
          nullable: true
          description: Free-form investigator summary
        findings:
          readOnly: true
          description: 'Structured findings: notes[], resolution, sar_decision'
        createdBy:
          type: integer
          description: Unique identifier of the user
          readOnly: true
        resolvedAt:
          type: string
          format: date-time
          readOnly: true
          nullable: true
          description: When the investigation was resolved or escalated
        amountPrevented:
          type: string
          format: decimal
          pattern: ^-?\d{0,16}(?:\.\d{0,2})?$
          readOnly: true
          nullable: true
          description: >-
            Money saved / loss prevented by acting on this investigation, if
            quantified at resolution
        amountPreventedCurrency:
          type: string
          readOnly: true
          nullable: true
          description: ISO 4217 currency code for `amount_prevented`
        createdAt:
          type: string
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          format: date-time
          readOnly: true
        alertCount:
          type: integer
          readOnly: true
          description: How many alerts are attached to this case
        alerts:
          type: array
          items:
            $ref: '#/components/schemas/InvestigationAlertRow'
          readOnly: true
          description: >-
            Every alert on the case, initial one first, with its rule, severity,
            status and SLA
        severity:
          type: string
          nullable: true
          readOnly: true
          description: >-
            Worst severity across the attached alerts — the severity the case is
            worked as
        riskScore:
          type: integer
          nullable: true
          readOnly: true
          description: Highest risk score across the attached alerts
        createdByName:
          type: string
          nullable: true
          readOnly: true
          description: Name of the user who opened the case
        subject:
          allOf:
            - $ref: '#/components/schemas/TransactionSubject'
          nullable: true
          readOnly: true
          description: >-
            The customer the case is about, with the risk profile the partner
            supplied at ingest and its sanctions, monitoring and identification
            state under `aml`
        counterparty:
          allOf:
            - $ref: '#/components/schemas/TransactionParty'
          nullable: true
          readOnly: true
          description: >-
            The other side of the transaction that opened the case, with its own
            `aml`; null for a custom event
        transactions:
          type: array
          items:
            $ref: '#/components/schemas/InvestigationTransactionRow'
          readOnly: true
          description: Transactions the attached alerts were raised on, newest first
        transactionTotalAmount:
          type: number
          format: double
          nullable: true
          readOnly: true
          description: Sum of the listed transactions, only when they share one currency
        sars:
          type: array
          items:
            $ref: '#/components/schemas/InvestigationSarRow'
          readOnly: true
          description: Reports opened from this case, oldest first
        notes:
          type: array
          items:
            $ref: '#/components/schemas/InvestigationNoteRow'
          readOnly: true
          description: Case notes in the order they were added, with their authors
        resolution:
          allOf:
            - $ref: '#/components/schemas/InvestigationResolution'
          nullable: true
          readOnly: true
          description: Recorded outcome and closing notes, once resolved
        sarDecision:
          allOf:
            - $ref: '#/components/schemas/InvestigationSarDecision'
          nullable: true
          readOnly: true
          description: The reporting decision and its justification, if made
        escalationNotes:
          type: string
          nullable: true
          readOnly: true
          description: Reason given for the most recent escalation
        deEscalationReason:
          type: string
          nullable: true
          readOnly: true
          description: Reason given for the most recent de-escalation
        activityCount:
          type: integer
          readOnly: true
          description: Number of audit events on the case timeline
        ageHours:
          type: number
          format: double
          readOnly: true
          description: Hours the case has been open, or how long it took to resolve
        dueAt:
          type: string
          readOnly: true
          description: >-
            Review deadline derived from the current tier's SLA; null when the
            tier sets none
        overdue:
          type: boolean
          readOnly: true
          description: Whether an unresolved case is past `due_at`
      required:
        - activityCount
        - ageHours
        - alertCount
        - alertId
        - alerts
        - amountPrevented
        - amountPreventedCurrency
        - assignedTeamId
        - assignedTeamName
        - assignedTo
        - assignedToName
        - counterparty
        - createdAt
        - createdBy
        - createdByName
        - deEscalationReason
        - dueAt
        - escalationNotes
        - findings
        - id
        - isTest
        - notes
        - overdue
        - partnerId
        - resolution
        - resolvedAt
        - riskScore
        - sarDecision
        - sars
        - severity
        - status
        - subject
        - summary
        - tierLevel
        - transactionTotalAmount
        - transactions
        - updatedAt
    StatusF4bEnum:
      enum:
        - OPEN
        - IN_PROGRESS
        - PENDING_INFO
        - RESOLVED
        - ESCALATED_TO_L3
      type: string
      description: |-
        * `OPEN` - Open
        * `IN_PROGRESS` - In Progress
        * `PENDING_INFO` - Pending Info
        * `RESOLVED` - Resolved
        * `ESCALATED_TO_L3` - Escalated To L3
    InvestigationAlertRow:
      type: object
      properties:
        id:
          type: string
          format: uuid
        ruleId:
          type: string
          format: uuid
          nullable: true
        ruleName:
          type: string
        severity:
          type: string
        status:
          type: string
        outcome:
          type: string
          nullable: true
        riskScore:
          type: integer
          nullable: true
        tierLevel:
          type: integer
          nullable: true
        isInitial:
          type: boolean
          description: The alert the case was opened from
        blocksTransaction:
          type: boolean
        assignedToName:
          type: string
          nullable: true
        assignedTeamName:
          type: string
          nullable: true
        slaDeadline:
          type: string
          format: date-time
          nullable: true
        slaBreached:
          type: boolean
        slaStatus:
          type: string
          nullable: true
        transactionId:
          type: string
          format: uuid
        triggeredValues:
          type: object
          additionalProperties: {}
          description: What fired the rule, reference-list hits included
        createdAt:
          type: string
          format: date-time
      required:
        - assignedTeamName
        - assignedToName
        - blocksTransaction
        - createdAt
        - id
        - isInitial
        - outcome
        - riskScore
        - ruleId
        - ruleName
        - severity
        - slaBreached
        - slaDeadline
        - slaStatus
        - status
        - tierLevel
        - transactionId
        - triggeredValues
    TransactionSubject:
      type: object
      properties:
        id:
          type: string
          nullable: true
        type:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
        country:
          type: string
          nullable: true
        paymentMethod:
          allOf:
            - $ref: '#/components/schemas/PaymentMethod'
          nullable: true
        mcc:
          type: string
          nullable: true
          description: 'Card payments: the merchant category code'
        aml:
          allOf:
            - $ref: '#/components/schemas/PartyAml'
          description: Screening, monitoring and identification state of this party
        age:
          type: integer
          nullable: true
        riskStatus:
          type: string
          nullable: true
        blacklisted:
          type: boolean
      required:
        - age
        - aml
        - blacklisted
        - country
        - id
        - name
        - riskStatus
        - type
    TransactionParty:
      type: object
      properties:
        id:
          type: string
          nullable: true
        type:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
        country:
          type: string
          nullable: true
        paymentMethod:
          allOf:
            - $ref: '#/components/schemas/PaymentMethod'
          nullable: true
        mcc:
          type: string
          nullable: true
          description: 'Card payments: the merchant category code'
        aml:
          allOf:
            - $ref: '#/components/schemas/PartyAml'
          description: Screening, monitoring and identification state of this party
      required:
        - aml
        - country
        - id
        - name
        - type
    InvestigationTransactionRow:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Primary key
        amount:
          type: string
          format: decimal
          pattern: ^-?\d{0,12}(?:\.\d{0,8})?$
          readOnly: true
          nullable: true
        currency:
          type: string
          readOnly: true
          nullable: true
          description: ISO 4217 currency code, uppercased at ingest
        type:
          type: string
          readOnly: true
        status:
          allOf:
            - $ref: '#/components/schemas/StatusEa9Enum'
          readOnly: true
          description: >-
            Risk-evaluation state, set once rule evaluation for the transaction
            completes


            * `PROCESSING` - Processing

            * `PASSED` - Passed

            * `FLAGGED` - Flagged

            * `ALLOWED` - Allowed

            * `BLOCKED` - Blocked

            * `REJECTED` - Rejected

            * `FAILED` - Failed
        createdAt:
          type: string
          format: date-time
          readOnly: true
        externalId:
          type: string
          readOnly: true
          nullable: true
          description: Client's own identifier for the transaction, not unique
        reference:
          type: string
          readOnly: true
          nullable: true
          description: Client-supplied reference string
        description:
          type: string
          readOnly: true
          nullable: true
          description: Free-form transaction description
        alertCount:
          type: integer
          readOnly: true
          description: How many of the case's alerts were raised on it
      required:
        - alertCount
        - amount
        - createdAt
        - currency
        - description
        - externalId
        - id
        - reference
        - status
        - type
    InvestigationSarRow:
      type: object
      properties:
        id:
          type: string
          format: uuid
        referenceNumber:
          type: string
          nullable: true
        status:
          type: string
        sarType:
          type: string
          nullable: true
        jurisdiction:
          type: string
          nullable: true
        subjectName:
          type: string
          nullable: true
        totalAmount:
          type: string
          format: decimal
          pattern: ^-?\d{0,12}(?:\.\d{0,8})?$
          nullable: true
        currency:
          type: string
          nullable: true
        attachmentCount:
          type: integer
        submittedAt:
          type: string
          format: date-time
          nullable: true
        createdAt:
          type: string
          format: date-time
      required:
        - attachmentCount
        - createdAt
        - currency
        - id
        - jurisdiction
        - referenceNumber
        - sarType
        - status
        - subjectName
        - submittedAt
        - totalAmount
    InvestigationNoteRow:
      type: object
      properties:
        content:
          type: string
        addedBy:
          type: string
          nullable: true
        addedByName:
          type: string
          nullable: true
        addedAt:
          type: string
          nullable: true
      required:
        - addedAt
        - addedBy
        - addedByName
        - content
    InvestigationResolution:
      type: object
      properties:
        outcome:
          type: string
        notes:
          type: string
          nullable: true
        resolvedAt:
          type: string
      required:
        - notes
        - outcome
        - resolvedAt
    InvestigationSarDecision:
      type: object
      properties:
        decision:
          type: string
        justification:
          type: string
          nullable: true
        decidedAt:
          type: string
      required:
        - decidedAt
        - decision
        - justification
    PaymentMethod:
      type: object
      properties:
        account:
          type: string
          nullable: true
          description: 'Bank payments: account or IBAN'
        bic:
          type: string
          nullable: true
          description: 'Bank payments: BIC/SWIFT code'
        walletAddress:
          type: string
          nullable: true
          description: 'Crypto transfers: wallet'
        walletUrl:
          type: string
          nullable: true
          description: 'Crypto transfers: the wallet on a block explorer, when known'
        maskedPan:
          type: string
          nullable: true
          description: Card payments, subject only
        lastFour:
          type: string
          nullable: true
          description: Card payments, subject only
        issuer:
          type: string
          nullable: true
          description: Card payments, subject only
        issuerCountry:
          type: string
          nullable: true
          description: Card payments, subject only
    PartyAml:
      type: object
      properties:
        isSanctioned:
          type: boolean
          description: A sanctions screening found a match
        screeningIsConclusive:
          type: boolean
          description: >-
            The party was really screened, so `is_sanctioned` false means clean
            rather than unknown
        monitoringIsConclusive:
          type: boolean
          description: The party is under a live monitoring subscription
        underMonitoringAlert:
          type: boolean
          description: Ongoing monitoring has raised an alert on the party
        idenfyCheckId:
          type: string
          nullable: true
        monitoringId:
          type: string
          nullable: true
        identificationStatus:
          type: string
          nullable: true
        scanRef:
          type: string
          nullable: true
        identificationId:
          type: string
          format: uuid
          nullable: true
        identificationLastSyncedAt:
          type: string
          format: date-time
          nullable: true
        idenfyCheckUrl:
          type: string
          nullable: true
          description: The screening in the iDenfy dashboard
        monitoringUrl:
          type: string
          nullable: true
          description: The monitoring in the iDenfy dashboard
        identificationUrl:
          type: string
          nullable: true
          description: The identification in the iDenfy dashboard
      required:
        - idenfyCheckId
        - idenfyCheckUrl
        - identificationId
        - identificationLastSyncedAt
        - identificationStatus
        - identificationUrl
        - isSanctioned
        - monitoringId
        - monitoringIsConclusive
        - monitoringUrl
        - scanRef
        - screeningIsConclusive
        - underMonitoringAlert
    StatusEa9Enum:
      enum:
        - PROCESSING
        - PASSED
        - FLAGGED
        - ALLOWED
        - BLOCKED
        - REJECTED
        - FAILED
      type: string
      description: |-
        * `PROCESSING` - Processing
        * `PASSED` - Passed
        * `FLAGGED` - Flagged
        * `ALLOWED` - Allowed
        * `BLOCKED` - Blocked
        * `REJECTED` - Rejected
        * `FAILED` - Failed
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

## Related topics

- [Retrieve one alert](https://documentation.idenfy.com/api-reference/transaction-monitoring/alerts/retrieve-one-alert.md)
- [Retrieve one SAR](https://documentation.idenfy.com/api-reference/transaction-monitoring/sars/retrieve-one-sar.md)
- [Retrieve one rule](https://documentation.idenfy.com/api-reference/transaction-monitoring/rules/retrieve-one-rule.md)
- [Retrieve one webhook](https://documentation.idenfy.com/api-reference/transaction-monitoring/webhooks/retrieve-one-webhook.md)
- [Retrieve an investigation's timeline](https://documentation.idenfy.com/api-reference/transaction-monitoring/investigations/retrieve-an-investigations-timeline.md)


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