Schema for creating custom integrations.
Inherits api_key field validation from CustomConfig:
Token field is only used for oauth2 authentication (contains OAuth2 client credentials). For api_key auth, the api_key_value field is used instead.
List of model names for the custom integration
1Endpoint URL for the custom integration.
Configuration for multi-modal (file upload) capabilities.
Authentication types for custom integrations.
Values:
api_key, none, oauth2 Default model to use. If not provided, defaults to the first model in the models list.
Optional scope for OAuth2 authentication.
OAuth2 token URL for custom OAuth2 authentication. If not provided, defaults to the endpoint.
HTTP header name to use for API key authentication (e.g., 'X-API-Key', 'Authorization').
API key value to send in the specified header for authentication.
Optional configuration for a custom LiteLLM handler class. When specified, the handler's acompletion() method is used instead of the default litellm.acompletion().
Successful Response
anthropic, aws_bedrock, aws_sagemaker, azure, custom, databricks, labelstudio, mistral, nvidia, openai, vegas_gateway, vertex_ai, writer