Create Decisions

Decision models (the Aplomb family): calibrated answers to typed questions about a state. Contract: decision-lab/API.md.

/v1/systemone is the same handler under the path TypeSafe-compatible clients and benchmarks call (the request and response shapes are the same); it meters, bills and logs as /v1/decisions.

The model resolves to its worker only AFTER the meter authenticated the caller, so an unknown id is a 404 to a customer and never an oracle for which ids are routed. Admission uses the shared meter with an estimate that counts media by per-item token bounds, not base64 bytes. Settlement goes through the token path (a 200 without usage is an error, never a free success). Every response is private and uncacheable; errors use the API.md envelope with fixed or field-naming messages, and the worker's raw body is kept only in the admin-only error_admin_raw.

long_context ("fast", the default here, or "full") always travels to the worker explicitly, and every 200 says which mode ran. Usage, admission and settlement count the whole state in both modes.

post/v1/systemone

Request

Response

Successful Response

unknown required

Changes

No operation changes recorded.