Skip to main content
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.
Each typed result also exposes a .raw dict with the unmodified response, so new fields are always reachable even before the SDK adds a typed accessor.

Async

The async client exposes the same three methods:

Configuration API

The REST endpoints behind these methods.

Policy Engine

How enforcement, thresholds, and locking work.