Put Provider Key

Create or replace a BYOK provider key for the current workspace.

POD-301: gated by byok_enabled feature flag on the workspace owner’s plan. Free plan rejects with 403 FEATURE_NOT_IN_PLAN.

Authentication

AuthorizationBearer
Clerk JWT token

Path parameters

providerenumRequired

Headers

X-Workspace-Idstring or nullOptional

Request

This endpoint expects a map from strings to any.

Response

Successful Response
dataobject
metaobject

Errors

422
Unprocessable Entity Error