Coming from TypeSafe
Switch an existing TypeSafe System One client by changing the base URL and the key.
POST /v1/systemone accepts and returns the TypeSafe System One shape, so an existing client switches with two changes and no code:
- Base URL:
https://models.trodo.ai - Key: a Trodo key (
trodo_sk_…) from API Keys in the console.
curl https://models.trodo.ai/v1/systemone \
-H "Authorization: Bearer $TRODO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"state": "…", "questions": {"resolved": {"type": "noul", "instructions": "Was the issue resolved?"}}}'/v1/systemone | /v1/decide | |
|---|---|---|
| Request | {model, state, questions} | the same, plus options |
| Answers | TypeSafe's fields | the same fields, plus abstain on each answer |
| "Not enough evidence" | under x_trodo on each answer | abstain on each answer |
| Billing, limits, errors | the same | the same |
Question types (noul, choice, score, and Hartley's extract) and their fields are the same on both. When you want options (turning abstain off, raw probabilities), move to /v1/decide: it is the same request with one more field.