ApiBYOK

Save BYOK provider configuration

POST
/byok/config

Store the non-secret configuration for a provider you have brought your own key for, such as the selected model or region. The API key itself is not set here — use POST /byok for that, which stores it in Vault.

Authorization

BearerAuth
AuthorizationBearer <token>

API key authentication. Get your key from the dashboard.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/byok/config" \  -H "Content-Type: application/json" \  -d '{    "provider": "deepgram",    "config": {}  }'
{
  "byok_config": {}
}
Empty
Empty
Empty