Create an organization secret
Organization Secrets
Create an organization secret
Creates a new secret at the organization level. Organization secrets apply across all projects. Requires admin role. Cloud only.
POST
Create an organization secret
Authorizations
API key obtained from the dashboard or GET /user/api-key
Body
application/json
Required string length:
1 - 255Example:
"Shared Anthropic Key"
Available options:
anthropic, openai, generic The secret value (API key, token, etc.)
Required string length:
1 - 10000Hostname pattern to match
Example:
"api.anthropic.com"
Maximum string length:
1000Configuration for how the gateway injects this secret into outbound requests.
Response
Secret created