Create a partner secret
Partner Secrets
Create a partner secret
Creates a partner-level secret inherited by every organization you manage. Partner secrets are the lowest-priority tier — project and organization secrets override them when host patterns overlap.
POST
Create a partner secret
Authorizations
API key obtained from the dashboard or GET /user/api-key
Body
application/json
Required string length:
1 - 255Example:
"Fallback Anthropic key"
Available options:
anthropic, openai, generic The secret value (API key, token, etc.)
Required string length:
1 - 10000Hostname pattern to match (no ://, /, or spaces)
Example:
"api.anthropic.com"
Optional path pattern to match
Maximum string length:
1000Configuration for how the gateway injects this secret into outbound requests.
Response
Secret created