AI Provider

Create an AI provider for an organization.

put/org/{orgId}/ai-provider

Request

  • Base URL: https://api.pangolin.net/v1
  • URL: https://api.pangolin.net/v1/org/{orgId}/ai-provider
  • Auth: HTTP bearer

Path parameters

orgIdstring required

Request body

namestring required
type'openai' | 'anthropic' | 'googleGemini' | 'vertexAi' | 'bedrock' | 'microsoftFoundry' | 'openRouter' | 'vercelAiGateway' | 'custom' required
upstreamUrlstring uri nullable
apiKeystring
authType'bearer' | 'x-api-key' | 'x-goog-api-key' | 'hec' | 'cf-aig-authorization' | 'none' | 'passthrough'
routingMode'url' | 'target'
capabilitiesstring[]
skipTlsVerificationboolean
enabledboolean

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.