---
title: "Create Decision"
method: POST
path: "/systemone"
---

# Create Decision

`POST /systemone`

## Request

- Base URL: `https://api.electronhub.ai/v1`
- URL: `https://api.electronhub.ai/v1/systemone`
- Auth: HTTP bearer

Ask a decision model structured questions about `state`. The model is `jev` ($0.042 / 1M input). Output tokens are free. `state` is text or JSON. Image parts and data-URL images are rejected. `POST /decisions` is an alias. Unknown body fields are ignored.

## Request body

- DecisionRequest
  - `model` string: `jev`. `jev-latest`, `typesafe/jev`, and `typesafe/jev-latest` are aliases. Version pins are rejected.
  - `state` union, required: The facts needed to answer. A string, object, or array, including empty. Image parts (image_url, image, input_image) and data-URL images are rejected with param state. Describe the image with a vision model and put that text here.
    - string
    - object
    - unknown[]
      - unknown
  - `questions` object, required: Non-empty map of question IDs to question definitions. IDs must be non-empty and cannot be `__proto__`.

## Response `200`

Success

- DecisionResponse
  - `id` string, required
  - `object` string, required
  - `model` string, required
  - `answers` object, required: One answer per question ID.
  - `usage` object, required
    - `input_tokens` integer
    - `output_tokens` integer
    - `total_tokens` integer

## Other responses

- `400`: Error
- `401`: Error
- `402`: Error
- `429`: Error
- `503`: Error

## Changes

- **2026-11-03** `a4ddf2e02571`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/electronhub/apis/electron-hub-api/changes/systemone/post.md)

---

[API](https://skmtc.dev/electronhub/apis/electron-hub-api.md) - [All operations](https://skmtc.dev/electronhub/apis/electron-hub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/electronhub/apis/electron-hub-api/revisions/a4ddf2e02571?raw)
