Skip to main content
POST
/
applications
/
{application_id}
/
decisions
/
calculate
Calculate application decision from entity decisions
curl --request POST \
  --url https://api.platform.dakota.xyz/applications/{application_id}/decisions/calculate \
  --header 'x-api-key: <api-key>'
{
  "application_id": "2hCjxJzUAW6JVRkZqaF9E0KpM3a",
  "calculated_decision": "approved",
  "decision_reason": "All entities approved",
  "business_decision": "approved",
  "individual_decisions": [
    "approved",
    "approved"
  ]
}

Authorizations

x-api-key
string
header
required

Path Parameters

application_id
string
required

The unique identifier for the application KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

Response

Application decision calculated and applied successfully

Response from calculating application decision based on entity decisions

application_id
string<ksuid>
required

The application ID

Example:

"2hCjxJzUAW6JVRkZqaF9E0KpM3a"

calculated_decision
enum<string>
required

The calculated decision for the application

Available options:
approved,
declined,
auto_declined,
withdrawn
Example:

"approved"

decision_reason
string
required

Reason for the calculated decision

Example:

"All entities approved"

business_decision
enum<string> | null

Decision on the business entity (if business application)

Available options:
approved,
declined,
auto_declined,
withdrawn
Example:

"approved"

individual_decisions
enum<string>[] | null

Decisions on individual entities

Available options:
approved,
declined,
auto_declined,
withdrawn
Example:
["approved", "approved"]