Create or update the organization-level governance provider configuration (admin only).
cURL
curl --request PATCH \ --url https://app.usechar.ai/api/governance/providers/config \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "provider_key": "langguard", "interceptor_url": "<string>", "interceptor_name": "<string>", "is_enabled": true, "api_key": "<string>" } '
{ "effective_status": "active", "reason": "<string>", "config": { "provider_key": "<string>", "interceptor_url": "<string>", "interceptor_name": "<string>", "api_key_last4": "<string>", "is_enabled": true, "last_test_status": "<string>", "last_test_message": "<string>", "last_test_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "has_api_key": true } }
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
langguard
byo
1
OK
active
bypassed
Show child attributes