Skip to main content
GET
/
resources
/
risk-ranges
Get the default risk ranges
curl --request GET \
  --url https://api.mycreditapp.ai/v1-beta/resources/risk-ranges \
  --header 'Authorization: Bearer <token>'
[
  {
    "label": "<string>",
    "from": 50,
    "to": 50
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication using a JWT token. Provide a valid access token. Authorization header format: Authorization: Bearer <token>.

Response

Successful Response

label
string
required

Label representing the risk category

Required string length: 1 - 50
Examples:

"high"

"medium"

"low"

from
number
required

Lower bound of the risk range (inclusive), as a percentage

Required range: 0 <= x <= 100
Examples:

0

40

80

to
number
required

Upper bound of the risk range (inclusive), as a percentage

Required range: 0 <= x <= 100
Examples:

39.99

79.99

100