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

# Get cross-document evidence links for a detection

> Get inbound and outbound stored cross-document evidence links for a fraud detection record.



## OpenAPI

````yaml /openapi.json get /v1/detection/{detectionId}/evidence-links
openapi: 3.1.0
info:
  title: DeepXL API
  description: >-
    Professional document analysis and verification API for fraud detection,
    identity verification, and data extraction.
  contact:
    name: DeepXL Support
    url: https://deepxl.ai/contact
    email: hello@deepxl.ai
  version: 1.1.0
servers:
  - url: https://api.deepxl.ai
    description: Production
security: []
tags:
  - name: Fraud Detection
    description: Detect manipulated or AI-generated content in documents and images.
  - name: Document Parsing
    description: Extract structured data from IDs, bank statements, and pay stubs.
  - name: ID Verification
    description: Match an ID document against a selfie.
  - name: File Retrieval
    description: Fetch original uploads or generated heatmaps from a prior analysis.
paths:
  /v1/detection/{detectionId}/evidence-links:
    get:
      tags:
        - Fraud Detection
      summary: Get cross-document evidence links for a detection
      description: >-
        Get inbound and outbound stored cross-document evidence links for a
        fraud detection record.
      operationId: >-
        get_detection_evidence_links_v1_detection__detectionId__evidence_links_get
      parameters:
        - name: detectionId
          in: path
          required: true
          schema:
            type: integer
            title: Detectionid
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 50
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetectionEvidenceLinksResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - API Key: []
components:
  schemas:
    DetectionEvidenceLinksResponse:
      properties:
        detectionId:
          type: integer
          title: Detectionid
          description: Detection ID used as graph center
        count:
          type: integer
          title: Count
          description: Number of evidence links returned
        summary:
          $ref: '#/components/schemas/DetectionEvidenceLinksSummary'
          description: Aggregated summary for the returned evidence links
        relatedDetections:
          items:
            $ref: '#/components/schemas/DetectionEvidenceRelatedDetection'
          type: array
          title: Relateddetections
          description: Evidence links grouped by related detection
        links:
          items:
            $ref: '#/components/schemas/DetectionEvidenceLink'
          type: array
          title: Links
          description: Inbound and outbound evidence links
      type: object
      required:
        - detectionId
        - count
        - summary
        - relatedDetections
        - links
      title: DetectionEvidenceLinksResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DetectionEvidenceLinksSummary:
      properties:
        byLinkType:
          additionalProperties:
            type: integer
          type: object
          title: Bylinktype
          description: Evidence link counts grouped by semantic link type
        byStrength:
          additionalProperties:
            type: integer
          type: object
          title: Bystrength
          description: Evidence link counts grouped by strength
        criticalCount:
          type: integer
          title: Criticalcount
          description: Number of critical-strength evidence links
        hasCriticalLinks:
          type: boolean
          title: Hascriticallinks
          description: True when any critical-strength link exists
        strongestStrength:
          anyOf:
            - type: string
            - type: 'null'
          title: Strongeststrength
          description: Strongest link strength in the returned page
      type: object
      required:
        - byLinkType
        - byStrength
        - criticalCount
        - hasCriticalLinks
      title: DetectionEvidenceLinksSummary
    DetectionEvidenceRelatedDetection:
      properties:
        detectionId:
          type: integer
          title: Detectionid
          description: Other detection connected to the graph center
        linkCount:
          type: integer
          title: Linkcount
          description: Number of evidence links to this detection
        strongestStrength:
          anyOf:
            - type: string
            - type: 'null'
          title: Strongeststrength
          description: Strongest link strength for this related detection
        linkTypes:
          items:
            type: string
          type: array
          title: Linktypes
          description: Semantic link types connecting this detection
        directions:
          items:
            type: string
          type: array
          title: Directions
          description: Directions represented by links to this detection
        sourceFilename:
          anyOf:
            - type: string
            - type: 'null'
          title: Sourcefilename
          description: Redacted filename for the related detection when known
        docCategory:
          anyOf:
            - type: string
            - type: 'null'
          title: Doccategory
          description: Document category for the related detection when known
        documentType:
          anyOf:
            - type: string
            - type: 'null'
          title: Documenttype
          description: Document type for the related detection when known
        likelihood:
          anyOf:
            - type: number
            - type: 'null'
          title: Likelihood
          description: Fraud likelihood for the related detection when known
        likelihoodBand:
          anyOf:
            - type: string
            - type: 'null'
          title: Likelihoodband
          description: Fraud likelihood band for the related detection when known
      type: object
      required:
        - detectionId
        - linkCount
        - linkTypes
        - directions
      title: DetectionEvidenceRelatedDetection
    DetectionEvidenceLink:
      properties:
        direction:
          type: string
          title: Direction
          description: >-
            outbound when this detection created the link, inbound when another
            detection links back to it
        sourceFraudDetectionId:
          type: integer
          title: Sourcefrauddetectionid
          description: Detection ID that produced the link
        relatedFraudDetectionId:
          type: integer
          title: Relatedfrauddetectionid
          description: Detection ID linked by matching evidence
        linkType:
          type: string
          title: Linktype
          description: Semantic cross-document link type
        evidenceType:
          type: string
          title: Evidencetype
          description: Evidence category used for the link
        evidenceValue:
          type: string
          title: Evidencevalue
          description: Hashed evidence value or fingerprint
        sourceCheckType:
          anyOf:
            - type: string
            - type: 'null'
          title: Sourcechecktype
          description: Check type on the source detection
        relatedSourceCheckType:
          anyOf:
            - type: string
            - type: 'null'
          title: Relatedsourcechecktype
          description: Check type on the related detection
        strength:
          type: string
          title: Strength
          description: 'Link strength: low, medium, high, or critical'
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
          description: Additional redacted link context
        createdOn:
          anyOf:
            - type: string
            - type: 'null'
          title: Createdon
          description: ISO timestamp for link creation
      type: object
      required:
        - direction
        - sourceFraudDetectionId
        - relatedFraudDetectionId
        - linkType
        - evidenceType
        - evidenceValue
        - strength
      title: DetectionEvidenceLink
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    API Key:
      type: apiKey
      description: API key created in the dashboard
      in: header
      name: x-api-key

````