Skip to main content

Provider Keys

Provider keys allow you to securely store API credentials for AI model providers (like Anthropic) in the Shinzo Platform. These keys are encrypted at rest and used by the Spotlight model proxy to make requests on your behalf.

Supported Providers

Currently supported providers:
ProviderKey FormatFeatures
Anthropicsk-ant-*Claude models, streaming, token counting

Why Use Provider Keys?

Security: Store API keys encrypted in Shinzo instead of hardcoding them in your applications. Centralized Management: Manage all your AI provider credentials in one place. Analytics: When using stored provider keys with Spotlight, all API usage is automatically tracked and available in session analytics.

Endpoints

EndpointMethodDescription
/auth/provider_keys/testPOSTTest a provider key without storing
/auth/provider_keysPOSTSave an encrypted provider key
/auth/provider_keysGETList all provider keys
/auth/provider_keys/:keyUuidPUTUpdate a provider key
/auth/provider_keys/:keyUuidDELETEDelete a provider key