Concept: Applications · Policy Engine | API: Configuration
Added in SDK 2.6.0. Every API key is bound to an application whose governance policy is configured centrally in the dashboard. These three methods let your code read that configuration at runtime — useful for startup checks, dashboards, and monitoring. They are read-only and consume no credits.
Application configuration
get_config() returns the application the key is bound to, its governance policy, and whether enforcement is actively shaping responses or only observing them.
Plan capabilities
get_capabilities() reports what the key’s plan can access — evaluation modes, compliance frameworks, agent and DPDP features, and request limits. Use it to adapt behavior without hard-coding plan assumptions.
Dimension metadata
get_dimensions() returns the eight RAIL dimensions with the weight and threshold configured for your application, plus the score bands a result falls into.
Async
The async client exposes the same three methods:Related
Configuration API
The REST endpoints behind these methods.
Policy Engine
How enforcement, thresholds, and locking work.