Skip to main content
HTTPMeaning
400Invalid request (schema validation, or a per-kind limit violation)
401Missing or invalid API key (see Authentication)
402Valid API key, but account balance too low
503Service loading or temporarily unavailable
Invalid requests return a standard schema message, for example:
{"detail": "content: Field required"}
{"detail": "scale levels must be integers in 0..4 (model trained on 5 levels); got [9]"}
{"detail": "Service is still loading."}
{"detail": "API key required. Provide a valid Levanto API key."}

Threshold guidance

Sage always returns a decision signal on success. Your application decides what to do next:
  • high confidence — automate
  • medium confidence — review
  • low confidence — escalate to a human or ask for more context
Sage supports low-confidence routing; it does not “abstain.”