Creates a new provider connection with an encrypted API key. The key is encrypted at rest and never returned in responses. Admins can set platform=true to create a platform connection (created_by=NULL).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Provider identifier (e.g., openai, anthropic)
Provider API key (encrypted at rest, never returned)
Custom API base URL (optional)
Admin-only. If true, creates a platform connection (created_by=NULL) accessible to all platform models.
Connection created