Documentation
1. Get a key
Sign in, open the dashboard and create a key. It is shown once; keep it in your secrets manager.
2. First call
curl -s https://systemone.kiboup.com/v1/systemone \
-H "Authorization: Bearer $SYSTEM_ONE_KEY" \
-H "content-type: application/json" \
-d '{
"state": "I was charged twice and never got my money back.",
"model": "system1-latest",
"questions": {
"team": {"type": "choice", "instructions": "Which team handles it?",
"criteria": {"billing": "payments and refunds", "shipping": "deliveries", "technical": "errors"}},
"urgent": {"type": "noul", "instructions": "Is it urgent?"},
"anger": {"type": "score", "criteria": ["calm", "annoyed", "furious"]}
}
}'3. With the TypeSafe SDKs
# pip install typesafe-sdk
from typesafe_sdk import Choice, TypeSafeClient
with TypeSafeClient(api_key=KEY, base_url="https://systemone.kiboup.com") as client:
r = client.system_one("I was charged twice.", {
"team": Choice(criteria={"billing": "payments and refunds", "shipping": "deliveries"}),
})
print(r.choices["team"].choice, r.choices["team"].confidence)// npm install @typesafe-ai/sdk
import { TypeSafeClient } from "@typesafe-ai/sdk";
const client = new TypeSafeClient({ apiKey: KEY, baseUrl: "https://systemone.kiboup.com" });
const r = await client.systemOne("I was charged twice.", {
team: { type: "choice", criteria: { billing: "payments and refunds", shipping: "deliveries" } },
});4. Models
GET /v1/models lists the models. system1-latest (or jev-latest, the SDKs' default) points to the standard model.
- ·
system1-standard-1.0: meaning-based classification in any language, ~15 ms. Recommended. - ·
system1-fast-1.0: for volume, under 1 ms, slightly less precise. - ·
system1-precise-1.0: reads instructions, negations and conditions; the most precise, seconds of latency. - ·
system1-auto-1.0: answers at standard speed and hands only the questions it is unsure about to precise; each answer says in tier which level answered. For agents and background tasks. - ·
system1-lexical-1.0: exact word matching for codes and identifiers.
5. Limits and errors
- · Free plan: 1,000,000 requests per day (UTC) from Europe, 1,000 from elsewhere, across all your keys. Pro and lifetime: no limit. The region comes from the calling IP and is returned in X-System1-Region.
- · Headers X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset on every response.
- · 401 missing, invalid or revoked key · 422 malformed request (body with detail) · 429 quota exhausted.
- · x-typesafe-request-id on every response, for support.
- · Support: support@kiboup.com · Security reports: security@kiboup.com