POST
/
v1
/
ai-reviews
Queue an AI review
curl --request POST \
  --url https://api.next.orenda.finance/v1/ai-reviews \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "targetId": "<string>"
}
'
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({targetId: '<string>'})
};

fetch('https://api.next.orenda.finance/v1/ai-reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.next.orenda.finance/v1/ai-reviews"

payload = { "targetId": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "success": true,
  "data": {
    "reviewId": "<string>",
    "status": "QUEUED"
  }
}
{
"success": false,
"code": "<string>",
"message": "<string>"
}
{
"success": false,
"code": "<string>",
"message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

programId
string
required

Program to operate on. Back-office convention — a BO token is not scoped to one program.

sandbox
enum<string>
default:false

Environment selector; defaults to production (false).

Available options:
true,
false

Body

application/json
targetType
enum<string>
required

What is being reviewed. application is the primary path today.

Available options:
application,
risk,
transactions
targetId
string
required

customerId / applicationId / accountId, per targetType.

Response

Review queued.

success
boolean
Example:

true

data
object