state — the context to reason about — and a map of structured questions, then return a precise answer for each one: a probability for yes/no questions, a ranked choice with confidence for classification tasks, and a continuous score with a legend for rubric-based evaluation. Responses arrive in 70–500 ms, making System One suitable for real-time routing, triage, scoring, and moderation pipelines. An existing TypeSafe client only needs its base URL changed to https://api.piramyd.cloud/v1 — the request and response shapes are identical.
Endpoints
POST /v1/systemone
Request Parameters
string
required
The Jev model ID to use. Retrieve valid IDs from
GET /v1/systemone/models — these do not appear in GET /v1/models. Examples: jev-latest, jev-1.13.0.Pin a specific version (e.g. jev-1.13.0) if you are calibrating decision thresholds on confidence scores. Using an alias like jev-latest may silently shift your thresholds when the model is updated.string | object | array
required
The context the model should analyse when answering the questions. This may be a plain string, a structured object, or an array. Maximum 64k tokens total across the entire request; 32k for the state plus the longest single question.
object
required
A map of
question_key → question definition. Each key becomes the corresponding key in the answers response. You may include any mix of question types in a single request.Full Request Example
The following example shows a real-world customer support routing scenario using all three question types in a single request.Python example
Response Shape
string
The exact version of the model that answered (e.g.
jev-1.13.0), even when you requested an alias like jev-latest. Use this value if you need to reproduce a result or audit a decision.object
Map of
question_key → answer. One entry per question submitted.object
Token counts for this request.
GET /v1/systemone/models
POST /v1/systemone.
Example response
Limits and Errors
Token Limits
If your request exceeds either limit, the API returns
413 context_too_large. There is no automatic compaction for System One — shrink your state to fit within the limits.
Error Reference
Feature Restrictions
System One has a deliberately constrained interface. The following features are not available:- Streaming (
streamparameter is not accepted) - Tool/function calling
- System prompt field
- Automatic context compaction /
thread_id
