Skip to main content

Evaluate Decision

POST 

/api/projects/:projectId/evaluate/:documentPath

Evaluates a given decision

Request

Path Parameters

    projectId uuidrequired

    Project ID

    documentPath slash separated pathrequired

    Document path

Body

    context any

    Evaluation context, this data is passed to engine

    trace booleannullable

    Default value: false

    Enabled debug trace of how the decision has been made

Responses

Successful operation

Schema

    performance human readable time

    Time spent on decision evaluation after it has been loaded

    result object

    Evaluation result based on provided context

    trace objectnullable

    Optional debug trace, provided when trace is set as true

Loading...