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

# Get risk score for an object

> Retrieve the AI-generated risk score and analysis for a specific object ID



## OpenAPI

````yaml get /risk/score/{objectId}
openapi: 3.0.1
info:
  title: OpenAPI spec for Swift Customer Data Processing and Risk Score
  description: A specification for Swift's customer data processing and risk score APIs
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: http://sandbox.mintlify.com
security:
  - bearerAuth: []
paths:
  /risk/score/{objectId}:
    get:
      tags:
        - Risk Scoring
      summary: Get risk score for an object
      description: >-
        Retrieve the AI-generated risk score and analysis for a specific object
        ID
      parameters:
        - name: objectId
          in: path
          description: Unique identifier of the object to score
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Risk score retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  objectId:
                    type: string
                    description: The ID of the scored object
                  riskScore:
                    type: number
                    format: float
                    minimum: 0
                    maximum: 1
                    description: Risk score between 0 (low risk) and 1 (high risk)
                  riskFactors:
                    type: array
                    items:
                      type: object
                      properties:
                        factor:
                          type: string
                          description: Description of the risk factor
                        severity:
                          type: string
                          enum:
                            - low
                            - medium
                            - high
                          description: Severity level of this risk factor
                    description: List of identified risk factors
                  timestamp:
                    type: string
                    format: date-time
                    description: When the risk score was calculated
        '404':
          description: Object not found
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````