decisions
Create Systemone Decision
Changed onAnswer typed questions at the path TypeSafe's SDK and llama-server use.
Identical to POST /api/v1/decisions; point the client's base URL at the gateway's /api.
post/api/v1/systemone
Request
- The document declares no server URL.
- Auth: one of:
- API key in header Otari-Key
- API key in header x-api-key
Request body
Example request
{
"model": "typesafe:jev-latest",
"questions": {
"urgency": {
"instructions": "Does this message express urgency?",
"type": "noul"
}
},
"state": "The Stripe integration has failed for 3 days and I'm losing sales."
}Response
Successful Response
Changes
- info
added the optional property
to the response with the status
- info
- info
endpoint added
- info