---
title: "evaluate_systemone"
method: POST
path: "/v1/systemone"
tags: ["systemone"]
---

# evaluate_systemone

`POST /v1/systemone`

## Request

- Base URL: `https://ndi-api.nace.ai`
- URL: `https://ndi-api.nace.ai/v1/systemone`
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/nace/apis/ndi-platform-api/docs/v1/systemone/post.ts> (a function with typed inputs; its response is checked against the schema)

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`.

## Request body

- SystemOneRequest
  - `questions` object, required: The questions to answer in one call, keyed by the name each answer returns under.
  - `state` unknown, required

## Response `200`

Successful Response

- SystemOneResponse
  - `answers` object, required: One answer per question, keyed by the question's name.
  - `evaluation_time_ms` number, required: Time the decision model spent on the call, in milliseconds.
  - `model` string, required: The decision model that answered, as this deployment names it.
  - `request_id` string, nullable, required: Correlation id of this request, the same one error bodies carry.
  - `usage` SystemOneUsage, required
    - `input_tokens` integer, nullable, required: Tokens the decision model read, when the model reports them.
    - `output_tokens` integer, nullable, required: Tokens the decision model produced, when the model reports them.

## Other responses

- `default`: Typed error envelope used by every 4xx and 5xx. ``error.code`` distinguishes the failure; HTTP status is a consequence of the code.

---

[API](https://skmtc.dev/nace/apis/ndi-platform-api.md) - [All operations](https://skmtc.dev/nace/apis/ndi-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nace/apis/ndi-platform-api/revisions/d002a3589a67?raw)
