Test a BYOK provider key against the upstream provider
Provider Keys
Test a BYOK provider key against the upstream provider
Use when: caller wants to verify a registered BYOK key actually authenticates with the upstream provider (i.e. before relying on it for production traffic)
Calls the upstream provider’s auth-validation endpoint to confirm a key works. Dual-purpose: pre-flight a candidate key before saving (pass apiKey in the body), or re-test an already-saved key (omit apiKey and the stored key is decrypted and tested).
POST
Test a BYOK provider key against the upstream provider
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.
Path Parameters
Available options:
openai, anthropic, google, mistral Body
application/json
Response
Validation result with valid boolean and provider response details.