Skip to content

Record a decision

POST
/v1/decide
curl --request POST \
--url http://localhost:8090/v1/decide \
--header 'Content-Type: application/json' \
--data '{ "title": "example", "rationale": "example", "intentId": "example" }'
Media typeapplication/json
object
title
required
string
rationale
required
string
intentId
string
Examplegenerated
{
"title": "example",
"rationale": "example",
"intentId": "example"
}

Created decision

Media typeapplication/json
object
status
string
nodeId
string
rev
integer
Examplegenerated
{
"status": "example",
"nodeId": "example",
"rev": 1
}