cURL
curl --request PUT \ --url https://api.usezombie.com/v1/admin/platform-keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "provider": "<string>", "source_workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "provider": "<string>", "source_workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "active": true, "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Configures a platform-wide LLM provider key by referencing a workspace that has a BYOK key stored. The platform key proxies through the referenced workspace’s credential.
Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth
LLM provider name (e.g. openai, anthropic)
Workspace whose BYOK key to use as the platform key
Platform key configured