AI providers

Manage your AI providers with these REST endpoints. AI providers gives you access to AI models and services from various vendors like OpenAI, Anthropic, Mistral, and more.

Endpoints

Manage your AI providers with these REST endpoints.

Provider type

ParameterTypeDescription
idstringUnique identifier for the AI provider
typeProviderTypeType of the AI provider (e.g., OPENAI, ANTHROPIC)
namestringDisplay name for the AI provider
apiKeystring or nullAPI key for the AI provider
apiVersionstring or nullAPI version used by the provider
endpointstring or nullBase URL for the AI provider's API
createdAtstringTimestamp when the provider was created
updatedAtstringTimestamp when the provider was last updated

ProviderType

Possible values for ProviderType are:
OPENAI
ANTHROPIC
PERPLEXITY
GROQ
MISTRAL
TOGETHER
OPEN_ROUTER
AZURE_OPENAI
OLLAMA
HUMIRIS
GOOGLE

Example AI provider

const provider = { id: '20cfe680-fee5-49b9-b386-6a7097eb8497', type: 'OPENAI', name: '', apiKey: 'sk-proj-IOKBKQJumIfonGrYWcA', apiVersion: null, endpoint: null, createdAt: '2024-01-15T10:30:00Z', updatedAt: '2024-01-15T10:30:00Z', }