Register a BYOK provider key
Use when: caller wants to store an OpenAI/Anthropic/Google/Mistral API key so Layer routes through the caller’s own provider account instead of pooled credentials
Registers an upstream provider API key (OpenAI / Anthropic / Google / Mistral) so Layer can route the caller’s traffic through their own account. The raw key is encrypted at rest with ENCRYPTION_KEY and never returned in subsequent reads. Conflicts with 409 if a key for the same provider already exists; use PUT to update.
Documentation Index
Fetch the complete documentation index at: https://docs.verlon.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Layer API key (prefixed sk-). Generated from the dashboard under Settings → API Keys, or via layer key create in the CLI.
Body
Response
Provider key registered.