POST /v1/systemone
Systemone
Example request
{
"model": "strike-1",
"state": {
"ticket": {
"body": "I was charged twice on my invoice."
}
},
"questions": {
"route": {
"type": "choice",
"instructions": "Which team should own this ticket?",
"criteria": {
"billing": "billing",
"support": "support"
}
}
},
"options": {
"return_raw_probabilities": true
}
}curl -s -X POST "https://strike-ai.eu/v1/systemone" \
-H "Authorization: Bearer $STRIKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "strike-1", "state": { "ticket": { "body": "I was charged twice on my invoice." } }, "questions": { "route": { "type": "choice", "instructions": "Which team should own this ticket?", "criteria": { "billing": "billing", "support": "support" } } }, "options": { "return_raw_probabilities": true }}'Example response
{
"id": "req_example",
"model": "strike-1",
"answers": {
"route": {
"type": "choice",
"choice": "billing",
"probabilities": {
"billing": 0.91,
"support": 0.09
},
"confidence": 0.91,
"confidence_band": "high"
}
},
"usage": {
"input_tokens": 128,
"output_tokens": 4
},
"meta": {
"latency_ms": 42,
"model": "strike-1"
}
}Pruébalo
Llama a nuestro proxy de servidor. Pega tu clave API solo aquí: se queda en esta pestaña y no se guarda ni se envía a analítica. Déjalo vacío para usar la clave del proxy del playground.
Errors
- 401 authentication_error — Missing or invalid Bearer API key.
- 422 validation_error — Request body failed schema or business validation.
- 413 payload_too_large — Request body or state exceeds size limits.
- 429 too_many_requests — Rate limit exceeded. Retry after Retry-After seconds.
- 503 model_warming — Inference worker is starting (strike-1). Retry with backoff.
- 529 engine_unavailable — Engine not ready or overloaded.
- 404 not_found — Resource not found (e.g. retention id).