evaluate_systemone
curl --request POST \
--url https://ndi-api.nace.ai/v1/systemone \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"questions": {},
"state": "<unknown>"
}
'{
"answers": {},
"evaluation_time_ms": 123,
"model": "<string>",
"request_id": "<string>",
"usage": {
"input_tokens": 123,
"output_tokens": 123
}
}{
"error": {
"code": "invalid_request",
"detail": null,
"message": "Request body has extra fields that this operation does not accept.",
"request_id": "req-01j9k2n3p4q5r6s7t8v9",
"retryable": false
}
}evaluate_systemone
Answer typed questions about a state in one call, with probabilities.
Each question is a yes/no (noul), a pick among named options (choice), or a
position on an ordered scale (score). Nothing is stored and no job is created.
A deployment without a decision model answers 501 not_implemented.
POST
/
v1
/
systemone
evaluate_systemone
curl --request POST \
--url https://ndi-api.nace.ai/v1/systemone \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"questions": {},
"state": "<unknown>"
}
'{
"answers": {},
"evaluation_time_ms": 123,
"model": "<string>",
"request_id": "<string>",
"usage": {
"input_tokens": 123,
"output_tokens": 123
}
}{
"error": {
"code": "invalid_request",
"detail": null,
"message": "Request body has extra fields that this operation does not accept.",
"request_id": "req-01j9k2n3p4q5r6s7t8v9",
"retryable": false
}
}Authorizations
Body
application/json
Response
Successful Response
One answer per question, keyed by the question's name.
Show child attributes
Show child attributes
Time the decision model spent on the call, in milliseconds.
The decision model that answered, as this deployment names it.
Correlation id of this request, the same one error bodies carry.
Token usage of the decision call, for cost tracking.
Show child attributes
Show child attributes