Read current status
config is null.
Save or replace the key
| Property | Value |
|---|---|
| Auth | Required |
| Required permission | account:manage_integrations |
| Required plan | Business or Enterprise |
| Idempotent | PUT yes (replaces). |
Body (PUT)
| Field | Type | Required | Notes |
|---|---|---|---|
apiKey | string | yes | Anthropic API key, validated by a synthetic call to the model. |
Errors
| Status | Code | When |
|---|---|---|
| 400 | Account required | Caller has no account. |
| 400 | Invalid Anthropic API key | Validation against Anthropic failed. |
| 401 | AUTH_REQUIRED | No session. |
| 403 | FEATURE_GATED | Caller is on Free or Pro. |
| 500 | INTERNAL_ERROR | Encryption or DB write failed. |
byom_enabled, byom_disabled, byom_key_replaced.
Disabling BYOM
PATCH with { "enabled": false } keeps the key but pauses BYOM routing. DELETE removes the key entirely.