Get outcome-billing configuration
Returns the organization’s AI-agent outcome-charge configuration: whether pay-per-resolution is enabled, the default per-outcome rate, and any per-outcome overrides. Workspaces that have never set the config see the opt-out defaults (enabled: false, Plivo-style $0.005 per resolution), so a settings form always renders a stable shape. Owner, admin, or billing role required.
Authorizations
Dashboard JWT token from Clerk
Headers
Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.
true, false Response
The outcome-charge config — enabled, defaultRateMicroCents, and perOutcomeRateMicroCents — in the standard { data, meta } envelope.
The outcome-charge config — enabled, defaultRateMicroCents, and perOutcomeRateMicroCents — in the standard { data, meta } envelope.