Docs / Python SDK deep dive
Types & errors
RunResult carries text, metrics, trace, and context. HTTP detail payloads are normalized into TokenSaverError subclasses.
Common exceptions: AuthenticationError, QuotaExceededError, ValidationError (including LLM_MODEL_NOT_SUPPORTED, RAG codes), ServerError (NETWORK_ERROR).
HTTP reference: Errors & quotas.