Enumerations Classes
Smarter API Proxy Manifest - enumerated datatypes.
- class smarter.apps.proxy.manifest.enum.SAMProxyAuthHeader(*values)[source]
Bases:
SmarterEnumAbstractThe HTTP headers in which popular LLM providers expect their API key, for a Proxy’s spec.auth.header.
Authorization: OpenAI, and OpenAI-compatible APIs, e.g. Mistral, Together AI, Fireworks, Groq and DeepSeek, withscheme: Bearer.x-api-key: Anthropic, with no scheme.x-goog-api-key: Google Gemini, with no scheme.api-key: Azure OpenAI, with no scheme.
Any other header may be used.
- API_KEY = 'api-key'
- AUTHORIZATION = 'Authorization'
- X_API_KEY = 'x-api-key'
- X_GOOG_API_KEY = 'x-goog-api-key'