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

# Fetch Fraud Report

> Retrieves the fraud detection report for a specific transaction ID.



## OpenAPI

````yaml GET /fraud-detection/{id}
openapi: 3.0.1
info:
  title: InsightAI Fraud Detection API
  description: >-
    APIs for fraud detection, prevention, bulk processing, and initial customer
    data load.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.insightai.in/
security:
  - bearerAuth: []
paths:
  /fraud-detection/{id}:
    get:
      description: Retrieves the fraud detection report for a specific transaction ID.
      parameters:
        - name: id
          in: path
          description: Transaction ID for which the fraud detection report is requested.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Fraud detection report
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FraudDetectionReport'
        '404':
          description: Transaction ID not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    FraudDetectionReport:
      type: object
      properties:
        transactionId:
          type: string
          description: ID of the transaction.
        isFraudulent:
          type: boolean
          description: Indicates if the transaction is fraudulent.
        riskScore:
          type: number
          description: Risk score associated with the transaction.
        explanation:
          type: string
          description: Detailed explanation of the fraud analysis.
    Error:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
          description: Error code.
        message:
          type: string
          description: Error message describing the issue.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````