API reference
System One
A judgement call, not a chat: send the current state plus the questions to answer, get the answers back as unary JSON.
POST
https://api.oneapi.id/v1/systemone- Key header
Authorization: Bearerorx-api-key- Streaming
- Never:
stream: trueis a 400 - Models
- Routes backed by the OpenCode System One vendor
Request
{
"model": "jev",
"state": "Hi, I need help connecting Stripe, this is urgent.",
"questions": {
"urgency": { "type": "noul", "instructions": "Does this message express urgency?" }
}
}state is a string or an object describing the situation. questionsfollows the model's schema (choice, score, noul). The model is the public route alias from Models, never the upstream ID.
Body fields
modelstring requiredThe public route alias.
statestring | object requiredThe situation to judge.
questionsobject requiredOne entry per question, keyed by name.
streambooleanOmit it, or send false. true is rejected.
Response
model echoes the public alias. answers is keyed exactly like the request's questions.
{
"model": "jev",
"answers": { "urgency": { "type": "noul", "noul": 0.8 } },
"usage": { "input_tokens": 4, "output_tokens": 1 }
}