openapi: 3.1.0 info: title: Galileo API Server annotation integrations API version: 1.1085.0 servers: - url: https://api.galileo.ai description: Galileo API Server - galileo-v2 tags: - name: integrations paths: /integrations/available: get: tags: - integrations summary: List Available Integrations description: List all of the available integrations to be created in Galileo. operationId: list_available_integrations_integrations_available_get responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AvailableIntegrations' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/{name}: get: tags: - integrations summary: Get Integration description: Gets the integration data formatted for the specified integration. operationId: get_integration_integrations__name__get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: $ref: '#/components/schemas/IntegrationProvider' responses: '200': description: Successful Response content: application/json: schema: oneOf: - $ref: '#/components/schemas/AwsBedrockIntegration' - $ref: '#/components/schemas/AwsSageMakerIntegration' - $ref: '#/components/schemas/AzureIntegration' - $ref: '#/components/schemas/AnthropicIntegration' - $ref: '#/components/schemas/CustomIntegration' - $ref: '#/components/schemas/DatabricksIntegration' - $ref: '#/components/schemas/MistralIntegration' - $ref: '#/components/schemas/NvidiaIntegration' - $ref: '#/components/schemas/OpenAIIntegration' - $ref: '#/components/schemas/VegasGatewayIntegration' - $ref: '#/components/schemas/VertexAIIntegration' - $ref: '#/components/schemas/WriterIntegration' discriminator: propertyName: provider mapping: aws_bedrock: '#/components/schemas/AwsBedrockIntegration' aws_sagemaker: '#/components/schemas/AwsSageMakerIntegration' azure: '#/components/schemas/AzureIntegration' anthropic: '#/components/schemas/AnthropicIntegration' custom: '#/components/schemas/CustomIntegration' databricks: '#/components/schemas/DatabricksIntegration' mistral: '#/components/schemas/MistralIntegration' nvidia: '#/components/schemas/NvidiaIntegration' openai: '#/components/schemas/OpenAIIntegration' vegas_gateway: '#/components/schemas/VegasGatewayIntegration' vertex_ai: '#/components/schemas/VertexAIIntegration' writer: '#/components/schemas/WriterIntegration' title: Response Get Integration Integrations Name Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - integrations summary: Delete Integration description: Delete an integration. Admins can delete integrations created by other admins in the same org. operationId: delete_integration_integrations__name__delete security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: $ref: '#/components/schemas/IntegrationProvider' responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /integrations/{name}/status: get: tags: - integrations summary: Get Integration Status description: Checks if the integration status is active or not. operationId: get_integration_status_integrations__name__status_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: $ref: '#/components/schemas/IntegrationProvider' responses: '200': description: Successful Response content: application/json: schema: type: object additionalProperties: type: string title: Response Get Integration Status Integrations Name Status Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /integrations/{integration_id}/users: get: tags: - integrations summary: List User Integration Collaborators description: List the users with which the integration has been shared. operationId: list_user_integration_collaborators_integrations__integration_id__users_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: starting_token in: query required: false schema: type: integer default: 0 title: Starting Token - name: limit in: query required: false schema: type: integer default: 100 title: Limit responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ListUserCollaboratorsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' post: tags: - integrations summary: Create User Integration Collaborators operationId: create_user_integration_collaborators_integrations__integration_id__users_post security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id requestBody: required: true content: application/json: schema: type: array items: $ref: '#/components/schemas/UserCollaboratorCreate' title: Body responses: '200': description: Successful Response content: application/json: schema: type: array items: $ref: '#/components/schemas/UserCollaborator' title: Response Create User Integration Collaborators Integrations Integration Id Users Post '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /integrations/{integration_id}/users/{user_id}: patch: tags: - integrations summary: Update User Integration Collaborator description: Update the sharing permissions of a user on an integration. operationId: update_user_integration_collaborator_integrations__integration_id__users__user_id__patch security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: user_id in: path required: true schema: type: string format: uuid4 title: User Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CollaboratorUpdate' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/UserCollaborator' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - integrations summary: Delete User Integration Collaborator description: Remove a user's access to an integration. operationId: delete_user_integration_collaborator_integrations__integration_id__users__user_id__delete security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: user_id in: path required: true schema: type: string format: uuid4 title: User Id responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /integrations/{integration_id}/groups: post: tags: - integrations summary: Create Group Integration Collaborators description: Share an integration with groups. operationId: create_group_integration_collaborators_integrations__integration_id__groups_post security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id requestBody: required: true content: application/json: schema: type: array items: $ref: '#/components/schemas/GroupCollaboratorCreate' title: Body responses: '200': description: Successful Response content: application/json: schema: type: array items: $ref: '#/components/schemas/GroupCollaborator' title: Response Create Group Integration Collaborators Integrations Integration Id Groups Post '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - integrations summary: List Group Integration Collaborators description: List the groups with which the integration has been shared. operationId: list_group_integration_collaborators_integrations__integration_id__groups_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: starting_token in: query required: false schema: type: integer default: 0 title: Starting Token - name: limit in: query required: false schema: type: integer default: 100 title: Limit responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ListGroupCollaboratorsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /integrations/{integration_id}/groups/{group_id}: patch: tags: - integrations summary: Update Group Integration Collaborator description: Update the sharing permissions of a group on an integration. operationId: update_group_integration_collaborator_integrations__integration_id__groups__group_id__patch security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: group_id in: path required: true schema: type: string format: uuid4 title: Group Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CollaboratorUpdate' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/GroupCollaborator' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - integrations summary: Delete Group Integration Collaborator description: Remove a group's access to an integration. operationId: delete_group_integration_collaborator_integrations__integration_id__groups__group_id__delete security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: group_id in: path required: true schema: type: string format: uuid4 title: Group Id responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /integrations/{integration_id}/select: put: tags: - integrations summary: Create Or Update Integration Selection description: Create or update an integration selection for this user from Galileo. operationId: create_or_update_integration_selection_integrations__integration_id__select_put security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /integrations/anthropic: put: tags: - integrations summary: Create or update Anthropic integration description: Create or update an Anthropic integration for this user from Galileo. operationId: create_or_update_integration_integrations_anthropic_put requestBody: content: application/json: schema: $ref: '#/components/schemas/AnthropicIntegrationCreate' examples: - token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/aws_bedrock: put: tags: - integrations summary: Create or update AWS Bedrock integration description: Create or update an AWS integration for this user from Galileo. operationId: create_or_update_integration_integrations_aws_bedrock_put requestBody: content: application/json: schema: $ref: '#/components/schemas/BaseAwsIntegrationCreate' examples: - credential_type: key_secret region: us-west-2 inference_profiles: {} token: aws_access_key_id: AWSA46AWSAWSBEDR0C45K aws_secret_access_key: sagasg2t0-9527@$s1ashsahfahfddsg - credential_type: assumed_role region: us-west-1 inference_profiles: {} token: aws_role_arn: arn:aws:iam::1234567901:role/AWSBedrockAccessRole required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/aws_sagemaker: put: tags: - integrations summary: Create or update AWS SageMaker integration description: Create or update an AWS integration for this user from Galileo. operationId: create_or_update_integration_integrations_aws_sagemaker_put requestBody: content: application/json: schema: $ref: '#/components/schemas/AwsSageMakerIntegrationCreate' examples: - models: - name: huggingface-pytorch-inference-2024-02-29-14-53-51-829 alias: aws_hello_world integration: aws_sagemaker system_supported: false input_modalities: - text alternative_names: [] token_limit: 4000 cost_by: tokens is_chat: false provides_log_probs: false formatting_tokens: 0 response_prefix_tokens: 0 legacy_mistral_prompt_format: false requires_max_tokens: false params_map: model: model input_map: prompt: prompt prefix: '' suffix: '' credential_type: key_secret region: us-west-2 inference_profiles: {} token: aws_access_key_id: AWSA46AWSAWSBEDR0C45K aws_secret_access_key: sagasg2t0-9527@$s1ashsahfahfddsg - models: [] credential_type: assumed_role region: us-west-1 inference_profiles: {} token: aws_role_arn: arn:aws:iam::1234567901:role/AWSSagemakerAccessRole required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/azure: put: tags: - integrations summary: Create or update Azure integration description: Create or update an Azure integration for this user from Galileo. operationId: create_or_update_integration_integrations_azure_put requestBody: content: application/json: schema: $ref: '#/components/schemas/AzureIntegrationCreate' examples: - token: my_secret_api_token endpoint: https://example-proxy.rungalileo.io proxy: true available_deployments: - model: gpt-4o-mini id: id1 - model: gpt-5 id: id2 - token: my_secret_api_token endpoint: https://example-endpoint.openai.azure.com available_deployments: - model: gpt-4o-mini id: id1 - model: gpt-5 id: id2 - token: my_secret_api_token endpoint: https://example-endpoint.openai.azure.com headers: user_id: user@example.com project_name: foo-bar - token: my_secret_api_token endpoint: https://example-proxy.rungalileo.io proxy: true - token: my_secret_api_token endpoint: https://example-endpoint.openai.azure.com required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/custom: put: tags: - integrations summary: Create or update custom integration operationId: create_or_update_integration_integrations_custom_put requestBody: content: application/json: schema: $ref: '#/components/schemas/CustomIntegrationCreate' examples: - authentication_type: oauth2 models: - custom-model-1 - custom-model-2 endpoint: https://api.custom-provider.com/v1 authentication_scope: chat.completions oauth2_token_url: https://api.custom-provider.com/oauth2/token token: your_oauth2_client_credentials_json default_model: custom-model-1 - authentication_type: none models: - custom-model-1 - custom-model-2 endpoint: https://internal-gateway.local/v1 default_model: custom-model-1 - authentication_type: api_key models: - custom-model-1 - custom-model-2 endpoint: https://api.gateway-provider.com/v1 api_key_header: X-API-Key api_key_value: your_api_key_here headers: X-Custom-Header: custom-value X-Another-Header: another-value default_model: custom-model-1 custom_llm_config: file_name: proprietary_handler.py class_name: ProprietaryLLMHandler init_kwargs: timeout: 60 required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/custom/{name}: put: tags: - integrations summary: Create or update a named custom integration operationId: create_or_update_named_custom_integration_integrations_custom__name__put security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: type: string description: Slug identifying this named custom integration title: Name description: Slug identifying this named custom integration requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CustomIntegrationCreate' examples: - authentication_type: oauth2 models: - custom-model-1 - custom-model-2 endpoint: https://api.custom-provider.com/v1 authentication_scope: chat.completions oauth2_token_url: https://api.custom-provider.com/oauth2/token token: your_oauth2_client_credentials_json default_model: custom-model-1 - authentication_type: none models: - custom-model-1 - custom-model-2 endpoint: https://internal-gateway.local/v1 default_model: custom-model-1 - authentication_type: api_key models: - custom-model-1 - custom-model-2 endpoint: https://api.gateway-provider.com/v1 api_key_header: X-API-Key api_key_value: your_api_key_here headers: X-Custom-Header: custom-value X-Another-Header: another-value default_model: custom-model-1 custom_llm_config: file_name: proprietary_handler.py class_name: ProprietaryLLMHandler init_kwargs: timeout: 60 responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - integrations summary: Get a named custom integration operationId: get_named_custom_integration_integrations_custom__name__get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: type: string description: Slug identifying this named custom integration title: Name description: Slug identifying this named custom integration responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - integrations summary: Delete a named custom integration operationId: delete_named_custom_integration_integrations_custom__name__delete security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: type: string description: Slug identifying this named custom integration title: Name description: Slug identifying this named custom integration responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /integrations/databricks/unity-catalog/sql: put: tags: - integrations summary: Create or update Databricks integration (legacy) description: Create or update a databricks integration for this user from Galileo. operationId: create_or_update_unity_catalog_integration_integrations_databricks_unity_catalog_sql_put requestBody: content: application/json: schema: $ref: '#/components/schemas/DatabricksIntegrationCreate' examples: - storage: true hostname: https://dbc-00000000-0000.cloud.databricks.com path: /sql/1.0/warehouses/a000000000000000 token: my_secret_api_token - llm: true hostname: https://dbc-00000000-0000.cloud.databricks.com token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' deprecated: true security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/databricks: put: tags: - integrations summary: Create or update Databricks integration description: Create or update a databricks integration for this user from Galileo. operationId: create_or_update_unity_catalog_integration_integrations_databricks_put requestBody: content: application/json: schema: $ref: '#/components/schemas/DatabricksIntegrationCreate' examples: - storage: true hostname: https://dbc-00000000-0000.cloud.databricks.com path: /sql/1.0/warehouses/a000000000000000 token: my_secret_api_token - llm: true hostname: https://dbc-00000000-0000.cloud.databricks.com token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/databricks/catalogs: get: tags: - integrations summary: Get Databricks Catalogs operationId: get_databricks_catalogs_integrations_databricks_catalogs_get responses: '200': description: Successful Response content: application/json: schema: items: type: string type: array title: Response Get Databricks Catalogs Integrations Databricks Catalogs Get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/databricks/databases: get: tags: - integrations summary: Get Databases For Cluster operationId: get_databases_for_cluster_integrations_databricks_databases_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: catalog in: query required: false schema: anyOf: - type: string - type: 'null' title: Catalog responses: '200': description: Successful Response content: application/json: schema: type: array items: type: string title: Response Get Databases For Cluster Integrations Databricks Databases Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /integrations/mistral: put: tags: - integrations summary: Create or update Mistral integration description: Create or update an Mistral integration for this user from Galileo. operationId: create_or_update_integration_integrations_mistral_put requestBody: content: application/json: schema: $ref: '#/components/schemas/MistralIntegrationCreate' examples: - token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/nvidia: put: tags: - integrations summary: Create or update NVIDIA integration description: Create or update an NVIDIA integration for this user from Galileo. operationId: create_or_update_integration_integrations_nvidia_put requestBody: content: application/json: schema: $ref: '#/components/schemas/NvidiaIntegrationCreate' examples: - token: my_secret_api_token hostname: https://integrate.api.nvidia.com/v1 required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/openai: put: tags: - integrations summary: Create or update OpenAI integration description: Create or update an OpenAI integration for this user from Galileo. operationId: create_or_update_integration_integrations_openai_put requestBody: content: application/json: schema: $ref: '#/components/schemas/OpenAIIntegrationCreate' examples: - token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/vegas_gateway: put: tags: - integrations summary: Create or update Vegas Gateway integration description: Create or update a Vegas Gateway integration for this user from Galileo. operationId: create_or_update_integration_integrations_vegas_gateway_put requestBody: content: application/json: schema: $ref: '#/components/schemas/VegasGatewayIntegrationCreate' examples: - token: my_secret_api_token endpoint: https://example.com/vegas/apps/prompt/v2/relay/use_case use_case: LLM_EVALUATION_FRAMEWORK required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/vertex_ai: put: tags: - integrations summary: Create or update Vertex AI integration description: Create or update a Google Vertex AI integration for a user. operationId: create_or_update_integration_integrations_vertex_ai_put requestBody: content: application/json: schema: $ref: '#/components/schemas/VertexAIIntegrationCreate' examples: - token: '{"type": "service_account", "project_id": "project-id", "private_key_id": "foo-bar", "private_key": "-----BEGIN RSA PRIVATE KEY-----\n ...\n -----END RSA PRIVATE KEY-----", "client_email": "user@iam.gserviceaccount.com", "client_id": "12353152646346", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/user%40iam.gserviceaccount.com", "universe_domain": "googleapis.com"}' required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/writer: put: tags: - integrations summary: Create or update Writer integration description: Create or update a Writer integration for a user. operationId: create_or_update_integration_integrations_writer_put requestBody: content: application/json: schema: $ref: '#/components/schemas/WriterIntegrationCreate' examples: - organization_id: '123456789' token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /prompts/models/all: get: tags: - integrations summary: Get All Models operationId: get_all_models_prompts_models_all_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: with_custom_models in: query required: false schema: type: boolean default: false title: With Custom Models responses: '200': description: Successful Response content: application/json: schema: type: array items: $ref: '#/components/schemas/ModelInfo' title: Response Get All Models Prompts Models All Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /integrations: get: tags: - integrations summary: List Integrations description: List the created integrations for the requesting user. operationId: list_integrations_integrations_get responses: '200': description: Successful Response content: application/json: schema: items: $ref: '#/components/schemas/IntegrationDB' type: array title: Response List Integrations Integrations Get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/costs/summary: get: tags: - integrations summary: Get Integration Costs operationId: get_integration_costs_integrations_costs_summary_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: start_time in: query required: true schema: type: string format: date-time description: Start of time range (UTC) title: Start Time description: Start of time range (UTC) - name: end_time in: query required: true schema: type: string format: date-time description: End of time range (UTC) title: End Time description: End of time range (UTC) - name: interval in: query required: true schema: $ref: '#/components/schemas/CostInterval' description: Aggregation interval description: Aggregation interval responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationCostsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /billing/usage/{metric}: get: tags: - integrations summary: Get Billing Usage operationId: get_billing_usage_billing_usage__metric__get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: metric in: path required: true schema: $ref: '#/components/schemas/BillingUsageMetric' - name: start_time in: query required: true schema: type: string format: date-time description: Start of time range (UTC) title: Start Time description: Start of time range (UTC) - name: end_time in: query required: true schema: type: string format: date-time description: End of time range (UTC) title: End Time description: End of time range (UTC) - name: interval in: query required: true schema: $ref: '#/components/schemas/CostInterval' description: Aggregation interval description: Aggregation interval - name: project_id in: query required: false schema: anyOf: - type: string format: uuid - type: 'null' description: Optional project filter title: Project Id description: Optional project filter responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/BillingUsageResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /integrations/select: post: tags: - integrations summary: Select Integration description: Select an integration for this user. operationId: select_integration_integrations_select_post requestBody: content: application/json: schema: $ref: '#/components/schemas/IntegrationSelectRequest' required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/disable: post: tags: - integrations summary: Disable Integration description: 'Disable an integration type for this user. Creates an opt-out record so no shared integration of this type is used.' operationId: disable_integration_integrations_disable_post requestBody: content: application/json: schema: $ref: '#/components/schemas/IntegrationDisableRequest' required: true responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/custom/definition: get: tags: - integrations summary: Get custom integration definition description: 'Return the full JSON definition of the custom integration, including decrypted secrets. Only users with edit permission on the integration (its creator and admins) are authorized to call this endpoint.' operationId: get_custom_integration_definition_integrations_custom_definition_get responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/CustomIntegrationDefinition' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /integrations/custom/{name}/status: get: tags: - integrations summary: Check status of a named custom integration operationId: get_named_custom_integration_status_integrations_custom__name__status_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: type: string description: Slug identifying this named custom integration title: Name description: Slug identifying this named custom integration responses: '200': description: Successful Response content: application/json: schema: type: object additionalProperties: type: string title: Response Get Named Custom Integration Status Integrations Custom Name Status Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /integrations/custom/{name}/definition: get: tags: - integrations summary: Get definition of a named custom integration description: Return the full JSON definition of a named custom integration, including decrypted secrets. operationId: get_named_custom_integration_definition_integrations_custom__name__definition_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: type: string description: Slug identifying this named custom integration title: Name description: Slug identifying this named custom integration responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/CustomIntegrationDefinition' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/integrations/available: get: tags: - integrations summary: List Available Integrations description: List all of the available integrations to be created in Galileo. operationId: list_available_integrations_v2_integrations_available_get responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AvailableIntegrations' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/{name}: get: tags: - integrations summary: Get Integration description: Gets the integration data formatted for the specified integration. operationId: get_integration_v2_integrations__name__get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: $ref: '#/components/schemas/IntegrationProvider' responses: '200': description: Successful Response content: application/json: schema: oneOf: - $ref: '#/components/schemas/AwsBedrockIntegration' - $ref: '#/components/schemas/AwsSageMakerIntegration' - $ref: '#/components/schemas/AzureIntegration' - $ref: '#/components/schemas/AnthropicIntegration' - $ref: '#/components/schemas/CustomIntegration' - $ref: '#/components/schemas/DatabricksIntegration' - $ref: '#/components/schemas/MistralIntegration' - $ref: '#/components/schemas/NvidiaIntegration' - $ref: '#/components/schemas/OpenAIIntegration' - $ref: '#/components/schemas/VegasGatewayIntegration' - $ref: '#/components/schemas/VertexAIIntegration' - $ref: '#/components/schemas/WriterIntegration' discriminator: propertyName: provider mapping: aws_bedrock: '#/components/schemas/AwsBedrockIntegration' aws_sagemaker: '#/components/schemas/AwsSageMakerIntegration' azure: '#/components/schemas/AzureIntegration' anthropic: '#/components/schemas/AnthropicIntegration' custom: '#/components/schemas/CustomIntegration' databricks: '#/components/schemas/DatabricksIntegration' mistral: '#/components/schemas/MistralIntegration' nvidia: '#/components/schemas/NvidiaIntegration' openai: '#/components/schemas/OpenAIIntegration' vegas_gateway: '#/components/schemas/VegasGatewayIntegration' vertex_ai: '#/components/schemas/VertexAIIntegration' writer: '#/components/schemas/WriterIntegration' title: Response Get Integration V2 Integrations Name Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/integrations/{name}/status: get: tags: - integrations summary: Get Integration Status description: Checks if the integration status is active or not. operationId: get_integration_status_v2_integrations__name__status_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: $ref: '#/components/schemas/IntegrationProvider' responses: '200': description: Successful Response content: application/json: schema: type: object additionalProperties: type: string title: Response Get Integration Status V2 Integrations Name Status Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/integrations/{integration_id}/users: get: tags: - integrations summary: List User Integration Collaborators description: List the users with which the integration has been shared. operationId: list_user_integration_collaborators_v2_integrations__integration_id__users_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: starting_token in: query required: false schema: type: integer default: 0 title: Starting Token - name: limit in: query required: false schema: type: integer default: 100 title: Limit responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ListUserCollaboratorsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' post: tags: - integrations summary: Create User Integration Collaborators operationId: create_user_integration_collaborators_v2_integrations__integration_id__users_post security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id requestBody: required: true content: application/json: schema: type: array items: $ref: '#/components/schemas/UserCollaboratorCreate' title: Body responses: '200': description: Successful Response content: application/json: schema: type: array items: $ref: '#/components/schemas/UserCollaborator' title: Response Create User Integration Collaborators V2 Integrations Integration Id Users Post '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/integrations/{integration_id}/users/{user_id}: patch: tags: - integrations summary: Update User Integration Collaborator description: Update the sharing permissions of a user on an integration. operationId: update_user_integration_collaborator_v2_integrations__integration_id__users__user_id__patch security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: user_id in: path required: true schema: type: string format: uuid4 title: User Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CollaboratorUpdate' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/UserCollaborator' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - integrations summary: Delete User Integration Collaborator description: Remove a user's access to an integration. operationId: delete_user_integration_collaborator_v2_integrations__integration_id__users__user_id__delete security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: user_id in: path required: true schema: type: string format: uuid4 title: User Id responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/integrations/{integration_id}/groups: post: tags: - integrations summary: Create Group Integration Collaborators description: Share an integration with groups. operationId: create_group_integration_collaborators_v2_integrations__integration_id__groups_post security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id requestBody: required: true content: application/json: schema: type: array items: $ref: '#/components/schemas/GroupCollaboratorCreate' title: Body responses: '200': description: Successful Response content: application/json: schema: type: array items: $ref: '#/components/schemas/GroupCollaborator' title: Response Create Group Integration Collaborators V2 Integrations Integration Id Groups Post '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - integrations summary: List Group Integration Collaborators description: List the groups with which the integration has been shared. operationId: list_group_integration_collaborators_v2_integrations__integration_id__groups_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: starting_token in: query required: false schema: type: integer default: 0 title: Starting Token - name: limit in: query required: false schema: type: integer default: 100 title: Limit responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ListGroupCollaboratorsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/integrations/{integration_id}/groups/{group_id}: patch: tags: - integrations summary: Update Group Integration Collaborator description: Update the sharing permissions of a group on an integration. operationId: update_group_integration_collaborator_v2_integrations__integration_id__groups__group_id__patch security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: group_id in: path required: true schema: type: string format: uuid4 title: Group Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CollaboratorUpdate' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/GroupCollaborator' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - integrations summary: Delete Group Integration Collaborator description: Remove a group's access to an integration. operationId: delete_group_integration_collaborator_v2_integrations__integration_id__groups__group_id__delete security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: group_id in: path required: true schema: type: string format: uuid4 title: Group Id responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/integrations/{integration_id}/select: put: tags: - integrations summary: Create Or Update Integration Selection description: Create or update an integration selection for this user from Galileo. operationId: create_or_update_integration_selection_v2_integrations__integration_id__select_put security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/integrations/anthropic: put: tags: - integrations summary: Create or update Anthropic integration description: Create or update an Anthropic integration for this user from Galileo. operationId: create_or_update_integration_v2_integrations_anthropic_put requestBody: content: application/json: schema: $ref: '#/components/schemas/AnthropicIntegrationCreate' examples: - token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/aws_bedrock: put: tags: - integrations summary: Create or update AWS Bedrock integration description: Create or update an AWS integration for this user from Galileo. operationId: create_or_update_integration_v2_integrations_aws_bedrock_put requestBody: content: application/json: schema: $ref: '#/components/schemas/BaseAwsIntegrationCreate' examples: - credential_type: key_secret region: us-west-2 inference_profiles: {} token: aws_access_key_id: AWSA46AWSAWSBEDR0C45K aws_secret_access_key: sagasg2t0-9527@$s1ashsahfahfddsg - credential_type: assumed_role region: us-west-1 inference_profiles: {} token: aws_role_arn: arn:aws:iam::1234567901:role/AWSBedrockAccessRole required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/aws_sagemaker: put: tags: - integrations summary: Create or update AWS SageMaker integration description: Create or update an AWS integration for this user from Galileo. operationId: create_or_update_integration_v2_integrations_aws_sagemaker_put requestBody: content: application/json: schema: $ref: '#/components/schemas/AwsSageMakerIntegrationCreate' examples: - models: - name: huggingface-pytorch-inference-2024-02-29-14-53-51-829 alias: aws_hello_world integration: aws_sagemaker system_supported: false input_modalities: - text alternative_names: [] token_limit: 4000 cost_by: tokens is_chat: false provides_log_probs: false formatting_tokens: 0 response_prefix_tokens: 0 legacy_mistral_prompt_format: false requires_max_tokens: false params_map: model: model input_map: prompt: prompt prefix: '' suffix: '' credential_type: key_secret region: us-west-2 inference_profiles: {} token: aws_access_key_id: AWSA46AWSAWSBEDR0C45K aws_secret_access_key: sagasg2t0-9527@$s1ashsahfahfddsg - models: [] credential_type: assumed_role region: us-west-1 inference_profiles: {} token: aws_role_arn: arn:aws:iam::1234567901:role/AWSSagemakerAccessRole required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/azure: put: tags: - integrations summary: Create or update Azure integration description: Create or update an Azure integration for this user from Galileo. operationId: create_or_update_integration_v2_integrations_azure_put requestBody: content: application/json: schema: $ref: '#/components/schemas/AzureIntegrationCreate' examples: - token: my_secret_api_token endpoint: https://example-proxy.rungalileo.io proxy: true available_deployments: - model: gpt-4o-mini id: id1 - model: gpt-5 id: id2 - token: my_secret_api_token endpoint: https://example-endpoint.openai.azure.com available_deployments: - model: gpt-4o-mini id: id1 - model: gpt-5 id: id2 - token: my_secret_api_token endpoint: https://example-endpoint.openai.azure.com headers: user_id: user@example.com project_name: foo-bar - token: my_secret_api_token endpoint: https://example-proxy.rungalileo.io proxy: true - token: my_secret_api_token endpoint: https://example-endpoint.openai.azure.com required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/custom: put: tags: - integrations summary: Create or update custom integration operationId: create_or_update_integration_v2_integrations_custom_put requestBody: content: application/json: schema: $ref: '#/components/schemas/CustomIntegrationCreate' examples: - authentication_type: oauth2 models: - custom-model-1 - custom-model-2 endpoint: https://api.custom-provider.com/v1 authentication_scope: chat.completions oauth2_token_url: https://api.custom-provider.com/oauth2/token token: your_oauth2_client_credentials_json default_model: custom-model-1 - authentication_type: none models: - custom-model-1 - custom-model-2 endpoint: https://internal-gateway.local/v1 default_model: custom-model-1 - authentication_type: api_key models: - custom-model-1 - custom-model-2 endpoint: https://api.gateway-provider.com/v1 api_key_header: X-API-Key api_key_value: your_api_key_here headers: X-Custom-Header: custom-value X-Another-Header: another-value default_model: custom-model-1 custom_llm_config: file_name: proprietary_handler.py class_name: ProprietaryLLMHandler init_kwargs: timeout: 60 required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/custom/{name}: put: tags: - integrations summary: Create or update a named custom integration operationId: create_or_update_named_custom_integration_v2_integrations_custom__name__put security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: type: string description: Slug identifying this named custom integration title: Name description: Slug identifying this named custom integration requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CustomIntegrationCreate' examples: - authentication_type: oauth2 models: - custom-model-1 - custom-model-2 endpoint: https://api.custom-provider.com/v1 authentication_scope: chat.completions oauth2_token_url: https://api.custom-provider.com/oauth2/token token: your_oauth2_client_credentials_json default_model: custom-model-1 - authentication_type: none models: - custom-model-1 - custom-model-2 endpoint: https://internal-gateway.local/v1 default_model: custom-model-1 - authentication_type: api_key models: - custom-model-1 - custom-model-2 endpoint: https://api.gateway-provider.com/v1 api_key_header: X-API-Key api_key_value: your_api_key_here headers: X-Custom-Header: custom-value X-Another-Header: another-value default_model: custom-model-1 custom_llm_config: file_name: proprietary_handler.py class_name: ProprietaryLLMHandler init_kwargs: timeout: 60 responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/integrations/databricks/unity-catalog/sql: put: tags: - integrations summary: Create or update Databricks integration (legacy) description: Create or update a databricks integration for this user from Galileo. operationId: create_or_update_unity_catalog_integration_v2_integrations_databricks_unity_catalog_sql_put requestBody: content: application/json: schema: $ref: '#/components/schemas/DatabricksIntegrationCreate' examples: - storage: true hostname: https://dbc-00000000-0000.cloud.databricks.com path: /sql/1.0/warehouses/a000000000000000 token: my_secret_api_token - llm: true hostname: https://dbc-00000000-0000.cloud.databricks.com token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' deprecated: true security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/databricks: put: tags: - integrations summary: Create or update Databricks integration description: Create or update a databricks integration for this user from Galileo. operationId: create_or_update_unity_catalog_integration_v2_integrations_databricks_put requestBody: content: application/json: schema: $ref: '#/components/schemas/DatabricksIntegrationCreate' examples: - storage: true hostname: https://dbc-00000000-0000.cloud.databricks.com path: /sql/1.0/warehouses/a000000000000000 token: my_secret_api_token - llm: true hostname: https://dbc-00000000-0000.cloud.databricks.com token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/databricks/catalogs: get: tags: - integrations summary: Get Databricks Catalogs operationId: get_databricks_catalogs_v2_integrations_databricks_catalogs_get responses: '200': description: Successful Response content: application/json: schema: items: type: string type: array title: Response Get Databricks Catalogs V2 Integrations Databricks Catalogs Get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/databricks/databases: get: tags: - integrations summary: Get Databases For Cluster operationId: get_databases_for_cluster_v2_integrations_databricks_databases_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: catalog in: query required: false schema: anyOf: - type: string - type: 'null' title: Catalog responses: '200': description: Successful Response content: application/json: schema: type: array items: type: string title: Response Get Databases For Cluster V2 Integrations Databricks Databases Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/integrations/mistral: put: tags: - integrations summary: Create or update Mistral integration description: Create or update an Mistral integration for this user from Galileo. operationId: create_or_update_integration_v2_integrations_mistral_put requestBody: content: application/json: schema: $ref: '#/components/schemas/MistralIntegrationCreate' examples: - token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/nvidia: put: tags: - integrations summary: Create or update NVIDIA integration description: Create or update an NVIDIA integration for this user from Galileo. operationId: create_or_update_integration_v2_integrations_nvidia_put requestBody: content: application/json: schema: $ref: '#/components/schemas/NvidiaIntegrationCreate' examples: - token: my_secret_api_token hostname: https://integrate.api.nvidia.com/v1 required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/openai: put: tags: - integrations summary: Create or update OpenAI integration description: Create or update an OpenAI integration for this user from Galileo. operationId: create_or_update_integration_v2_integrations_openai_put requestBody: content: application/json: schema: $ref: '#/components/schemas/OpenAIIntegrationCreate' examples: - token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/vegas_gateway: put: tags: - integrations summary: Create or update Vegas Gateway integration description: Create or update a Vegas Gateway integration for this user from Galileo. operationId: create_or_update_integration_v2_integrations_vegas_gateway_put requestBody: content: application/json: schema: $ref: '#/components/schemas/VegasGatewayIntegrationCreate' examples: - token: my_secret_api_token endpoint: https://example.com/vegas/apps/prompt/v2/relay/use_case use_case: LLM_EVALUATION_FRAMEWORK required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/vertex_ai: put: tags: - integrations summary: Create or update Vertex AI integration description: Create or update a Google Vertex AI integration for a user. operationId: create_or_update_integration_v2_integrations_vertex_ai_put requestBody: content: application/json: schema: $ref: '#/components/schemas/VertexAIIntegrationCreate' examples: - token: '{"type": "service_account", "project_id": "project-id", "private_key_id": "foo-bar", "private_key": "-----BEGIN RSA PRIVATE KEY-----\n ...\n -----END RSA PRIVATE KEY-----", "client_email": "user@iam.gserviceaccount.com", "client_id": "12353152646346", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/user%40iam.gserviceaccount.com", "universe_domain": "googleapis.com"}' required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /v2/integrations/writer: put: tags: - integrations summary: Create or update Writer integration description: Create or update a Writer integration for a user. operationId: create_or_update_integration_v2_integrations_writer_put requestBody: content: application/json: schema: $ref: '#/components/schemas/WriterIntegrationCreate' examples: - organization_id: '123456789' token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/available: get: tags: - integrations summary: List Available Integrations description: List all of the available integrations to be created in Galileo. operationId: list_available_integrations_public_v2_integrations_available_get responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AvailableIntegrations' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/{name}: get: tags: - integrations summary: Get Integration description: Gets the integration data formatted for the specified integration. operationId: get_integration_public_v2_integrations__name__get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: $ref: '#/components/schemas/IntegrationProvider' responses: '200': description: Successful Response content: application/json: schema: oneOf: - $ref: '#/components/schemas/AwsBedrockIntegration' - $ref: '#/components/schemas/AwsSageMakerIntegration' - $ref: '#/components/schemas/AzureIntegration' - $ref: '#/components/schemas/AnthropicIntegration' - $ref: '#/components/schemas/CustomIntegration' - $ref: '#/components/schemas/DatabricksIntegration' - $ref: '#/components/schemas/MistralIntegration' - $ref: '#/components/schemas/NvidiaIntegration' - $ref: '#/components/schemas/OpenAIIntegration' - $ref: '#/components/schemas/VegasGatewayIntegration' - $ref: '#/components/schemas/VertexAIIntegration' - $ref: '#/components/schemas/WriterIntegration' discriminator: propertyName: provider mapping: aws_bedrock: '#/components/schemas/AwsBedrockIntegration' aws_sagemaker: '#/components/schemas/AwsSageMakerIntegration' azure: '#/components/schemas/AzureIntegration' anthropic: '#/components/schemas/AnthropicIntegration' custom: '#/components/schemas/CustomIntegration' databricks: '#/components/schemas/DatabricksIntegration' mistral: '#/components/schemas/MistralIntegration' nvidia: '#/components/schemas/NvidiaIntegration' openai: '#/components/schemas/OpenAIIntegration' vegas_gateway: '#/components/schemas/VegasGatewayIntegration' vertex_ai: '#/components/schemas/VertexAIIntegration' writer: '#/components/schemas/WriterIntegration' title: Response Get Integration Public V2 Integrations Name Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/integrations/{name}/status: get: tags: - integrations summary: Get Integration Status description: Checks if the integration status is active or not. operationId: get_integration_status_public_v2_integrations__name__status_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: $ref: '#/components/schemas/IntegrationProvider' responses: '200': description: Successful Response content: application/json: schema: type: object additionalProperties: type: string title: Response Get Integration Status Public V2 Integrations Name Status Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/integrations/{integration_id}/users: get: tags: - integrations summary: List User Integration Collaborators description: List the users with which the integration has been shared. operationId: list_user_integration_collaborators_public_v2_integrations__integration_id__users_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: starting_token in: query required: false schema: type: integer default: 0 title: Starting Token - name: limit in: query required: false schema: type: integer default: 100 title: Limit responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ListUserCollaboratorsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' post: tags: - integrations summary: Create User Integration Collaborators operationId: create_user_integration_collaborators_public_v2_integrations__integration_id__users_post security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id requestBody: required: true content: application/json: schema: type: array items: $ref: '#/components/schemas/UserCollaboratorCreate' title: Body responses: '200': description: Successful Response content: application/json: schema: type: array items: $ref: '#/components/schemas/UserCollaborator' title: Response Create User Integration Collaborators Public V2 Integrations Integration Id Users Post '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/integrations/{integration_id}/users/{user_id}: patch: tags: - integrations summary: Update User Integration Collaborator description: Update the sharing permissions of a user on an integration. operationId: update_user_integration_collaborator_public_v2_integrations__integration_id__users__user_id__patch security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: user_id in: path required: true schema: type: string format: uuid4 title: User Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CollaboratorUpdate' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/UserCollaborator' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - integrations summary: Delete User Integration Collaborator description: Remove a user's access to an integration. operationId: delete_user_integration_collaborator_public_v2_integrations__integration_id__users__user_id__delete security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: user_id in: path required: true schema: type: string format: uuid4 title: User Id responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/integrations/{integration_id}/groups: post: tags: - integrations summary: Create Group Integration Collaborators description: Share an integration with groups. operationId: create_group_integration_collaborators_public_v2_integrations__integration_id__groups_post security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id requestBody: required: true content: application/json: schema: type: array items: $ref: '#/components/schemas/GroupCollaboratorCreate' title: Body responses: '200': description: Successful Response content: application/json: schema: type: array items: $ref: '#/components/schemas/GroupCollaborator' title: Response Create Group Integration Collaborators Public V2 Integrations Integration Id Groups Post '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - integrations summary: List Group Integration Collaborators description: List the groups with which the integration has been shared. operationId: list_group_integration_collaborators_public_v2_integrations__integration_id__groups_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: starting_token in: query required: false schema: type: integer default: 0 title: Starting Token - name: limit in: query required: false schema: type: integer default: 100 title: Limit responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ListGroupCollaboratorsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/integrations/{integration_id}/groups/{group_id}: patch: tags: - integrations summary: Update Group Integration Collaborator description: Update the sharing permissions of a group on an integration. operationId: update_group_integration_collaborator_public_v2_integrations__integration_id__groups__group_id__patch security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: group_id in: path required: true schema: type: string format: uuid4 title: Group Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CollaboratorUpdate' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/GroupCollaborator' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - integrations summary: Delete Group Integration Collaborator description: Remove a group's access to an integration. operationId: delete_group_integration_collaborator_public_v2_integrations__integration_id__groups__group_id__delete security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id - name: group_id in: path required: true schema: type: string format: uuid4 title: Group Id responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/integrations/{integration_id}/select: put: tags: - integrations summary: Create Or Update Integration Selection description: Create or update an integration selection for this user from Galileo. operationId: create_or_update_integration_selection_public_v2_integrations__integration_id__select_put security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: integration_id in: path required: true schema: type: string format: uuid4 title: Integration Id responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/integrations/anthropic: put: tags: - integrations summary: Create or update Anthropic integration description: Create or update an Anthropic integration for this user from Galileo. operationId: create_or_update_integration_public_v2_integrations_anthropic_put requestBody: content: application/json: schema: $ref: '#/components/schemas/AnthropicIntegrationCreate' examples: - token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/aws_bedrock: put: tags: - integrations summary: Create or update AWS Bedrock integration description: Create or update an AWS integration for this user from Galileo. operationId: create_or_update_integration_public_v2_integrations_aws_bedrock_put requestBody: content: application/json: schema: $ref: '#/components/schemas/BaseAwsIntegrationCreate' examples: - credential_type: key_secret region: us-west-2 inference_profiles: {} token: aws_access_key_id: AWSA46AWSAWSBEDR0C45K aws_secret_access_key: sagasg2t0-9527@$s1ashsahfahfddsg - credential_type: assumed_role region: us-west-1 inference_profiles: {} token: aws_role_arn: arn:aws:iam::1234567901:role/AWSBedrockAccessRole required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/aws_sagemaker: put: tags: - integrations summary: Create or update AWS SageMaker integration description: Create or update an AWS integration for this user from Galileo. operationId: create_or_update_integration_public_v2_integrations_aws_sagemaker_put requestBody: content: application/json: schema: $ref: '#/components/schemas/AwsSageMakerIntegrationCreate' examples: - models: - name: huggingface-pytorch-inference-2024-02-29-14-53-51-829 alias: aws_hello_world integration: aws_sagemaker system_supported: false input_modalities: - text alternative_names: [] token_limit: 4000 cost_by: tokens is_chat: false provides_log_probs: false formatting_tokens: 0 response_prefix_tokens: 0 legacy_mistral_prompt_format: false requires_max_tokens: false params_map: model: model input_map: prompt: prompt prefix: '' suffix: '' credential_type: key_secret region: us-west-2 inference_profiles: {} token: aws_access_key_id: AWSA46AWSAWSBEDR0C45K aws_secret_access_key: sagasg2t0-9527@$s1ashsahfahfddsg - models: [] credential_type: assumed_role region: us-west-1 inference_profiles: {} token: aws_role_arn: arn:aws:iam::1234567901:role/AWSSagemakerAccessRole required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/azure: put: tags: - integrations summary: Create or update Azure integration description: Create or update an Azure integration for this user from Galileo. operationId: create_or_update_integration_public_v2_integrations_azure_put requestBody: content: application/json: schema: $ref: '#/components/schemas/AzureIntegrationCreate' examples: - token: my_secret_api_token endpoint: https://example-proxy.rungalileo.io proxy: true available_deployments: - model: gpt-4o-mini id: id1 - model: gpt-5 id: id2 - token: my_secret_api_token endpoint: https://example-endpoint.openai.azure.com available_deployments: - model: gpt-4o-mini id: id1 - model: gpt-5 id: id2 - token: my_secret_api_token endpoint: https://example-endpoint.openai.azure.com headers: user_id: user@example.com project_name: foo-bar - token: my_secret_api_token endpoint: https://example-proxy.rungalileo.io proxy: true - token: my_secret_api_token endpoint: https://example-endpoint.openai.azure.com required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/custom: put: tags: - integrations summary: Create or update custom integration operationId: create_or_update_integration_public_v2_integrations_custom_put requestBody: content: application/json: schema: $ref: '#/components/schemas/CustomIntegrationCreate' examples: - authentication_type: oauth2 models: - custom-model-1 - custom-model-2 endpoint: https://api.custom-provider.com/v1 authentication_scope: chat.completions oauth2_token_url: https://api.custom-provider.com/oauth2/token token: your_oauth2_client_credentials_json default_model: custom-model-1 - authentication_type: none models: - custom-model-1 - custom-model-2 endpoint: https://internal-gateway.local/v1 default_model: custom-model-1 - authentication_type: api_key models: - custom-model-1 - custom-model-2 endpoint: https://api.gateway-provider.com/v1 api_key_header: X-API-Key api_key_value: your_api_key_here headers: X-Custom-Header: custom-value X-Another-Header: another-value default_model: custom-model-1 custom_llm_config: file_name: proprietary_handler.py class_name: ProprietaryLLMHandler init_kwargs: timeout: 60 required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/custom/{name}: put: tags: - integrations summary: Create or update a named custom integration operationId: create_or_update_named_custom_integration_public_v2_integrations_custom__name__put security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: name in: path required: true schema: type: string description: Slug identifying this named custom integration title: Name description: Slug identifying this named custom integration requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CustomIntegrationCreate' examples: - authentication_type: oauth2 models: - custom-model-1 - custom-model-2 endpoint: https://api.custom-provider.com/v1 authentication_scope: chat.completions oauth2_token_url: https://api.custom-provider.com/oauth2/token token: your_oauth2_client_credentials_json default_model: custom-model-1 - authentication_type: none models: - custom-model-1 - custom-model-2 endpoint: https://internal-gateway.local/v1 default_model: custom-model-1 - authentication_type: api_key models: - custom-model-1 - custom-model-2 endpoint: https://api.gateway-provider.com/v1 api_key_header: X-API-Key api_key_value: your_api_key_here headers: X-Custom-Header: custom-value X-Another-Header: another-value default_model: custom-model-1 custom_llm_config: file_name: proprietary_handler.py class_name: ProprietaryLLMHandler init_kwargs: timeout: 60 responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/integrations/databricks/unity-catalog/sql: put: tags: - integrations summary: Create or update Databricks integration (legacy) description: Create or update a databricks integration for this user from Galileo. operationId: create_or_update_unity_catalog_integration_public_v2_integrations_databricks_unity_catalog_sql_put requestBody: content: application/json: schema: $ref: '#/components/schemas/DatabricksIntegrationCreate' examples: - storage: true hostname: https://dbc-00000000-0000.cloud.databricks.com path: /sql/1.0/warehouses/a000000000000000 token: my_secret_api_token - llm: true hostname: https://dbc-00000000-0000.cloud.databricks.com token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' deprecated: true security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/databricks: put: tags: - integrations summary: Create or update Databricks integration description: Create or update a databricks integration for this user from Galileo. operationId: create_or_update_unity_catalog_integration_public_v2_integrations_databricks_put requestBody: content: application/json: schema: $ref: '#/components/schemas/DatabricksIntegrationCreate' examples: - storage: true hostname: https://dbc-00000000-0000.cloud.databricks.com path: /sql/1.0/warehouses/a000000000000000 token: my_secret_api_token - llm: true hostname: https://dbc-00000000-0000.cloud.databricks.com token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/databricks/catalogs: get: tags: - integrations summary: Get Databricks Catalogs operationId: get_databricks_catalogs_public_v2_integrations_databricks_catalogs_get responses: '200': description: Successful Response content: application/json: schema: items: type: string type: array title: Response Get Databricks Catalogs Public V2 Integrations Databricks Catalogs Get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/databricks/databases: get: tags: - integrations summary: Get Databases For Cluster operationId: get_databases_for_cluster_public_v2_integrations_databricks_databases_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: catalog in: query required: false schema: anyOf: - type: string - type: 'null' title: Catalog responses: '200': description: Successful Response content: application/json: schema: type: array items: type: string title: Response Get Databases For Cluster Public V2 Integrations Databricks Databases Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/integrations/mistral: put: tags: - integrations summary: Create or update Mistral integration description: Create or update an Mistral integration for this user from Galileo. operationId: create_or_update_integration_public_v2_integrations_mistral_put requestBody: content: application/json: schema: $ref: '#/components/schemas/MistralIntegrationCreate' examples: - token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/nvidia: put: tags: - integrations summary: Create or update NVIDIA integration description: Create or update an NVIDIA integration for this user from Galileo. operationId: create_or_update_integration_public_v2_integrations_nvidia_put requestBody: content: application/json: schema: $ref: '#/components/schemas/NvidiaIntegrationCreate' examples: - token: my_secret_api_token hostname: https://integrate.api.nvidia.com/v1 required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/openai: put: tags: - integrations summary: Create or update OpenAI integration description: Create or update an OpenAI integration for this user from Galileo. operationId: create_or_update_integration_public_v2_integrations_openai_put requestBody: content: application/json: schema: $ref: '#/components/schemas/OpenAIIntegrationCreate' examples: - token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/vegas_gateway: put: tags: - integrations summary: Create or update Vegas Gateway integration description: Create or update a Vegas Gateway integration for this user from Galileo. operationId: create_or_update_integration_public_v2_integrations_vegas_gateway_put requestBody: content: application/json: schema: $ref: '#/components/schemas/VegasGatewayIntegrationCreate' examples: - token: my_secret_api_token endpoint: https://example.com/vegas/apps/prompt/v2/relay/use_case use_case: LLM_EVALUATION_FRAMEWORK required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/vertex_ai: put: tags: - integrations summary: Create or update Vertex AI integration description: Create or update a Google Vertex AI integration for a user. operationId: create_or_update_integration_public_v2_integrations_vertex_ai_put requestBody: content: application/json: schema: $ref: '#/components/schemas/VertexAIIntegrationCreate' examples: - token: '{"type": "service_account", "project_id": "project-id", "private_key_id": "foo-bar", "private_key": "-----BEGIN RSA PRIVATE KEY-----\n ...\n -----END RSA PRIVATE KEY-----", "client_email": "user@iam.gserviceaccount.com", "client_id": "12353152646346", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/user%40iam.gserviceaccount.com", "universe_domain": "googleapis.com"}' required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] /public/v2/integrations/writer: put: tags: - integrations summary: Create or update Writer integration description: Create or update a Writer integration for a user. operationId: create_or_update_integration_public_v2_integrations_writer_put requestBody: content: application/json: schema: $ref: '#/components/schemas/WriterIntegrationCreate' examples: - organization_id: '123456789' token: my_secret_api_token required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/IntegrationDB' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] components: schemas: WriterIntegration: properties: organization_id: type: string title: Organization Id id: anyOf: - type: string format: uuid4 - type: 'null' title: Id name: type: string const: writer title: Name default: writer provider: type: string const: writer title: Provider default: writer extra: anyOf: - additionalProperties: true type: object - type: 'null' title: Extra type: object required: - organization_id title: WriterIntegration AvailableIntegrations: properties: integrations: items: $ref: '#/components/schemas/IntegrationProvider' type: array title: Integrations type: object required: - integrations title: AvailableIntegrations CollaboratorUpdate: properties: role: $ref: '#/components/schemas/CollaboratorRole' type: object required: - role title: CollaboratorUpdate CustomLLMConfig: properties: file_name: type: string title: File Name description: Python file name containing the CustomLLM class (e.g., 'my_handler.py') class_name: type: string title: Class Name description: Class name within the module (must be a litellm.CustomLLM subclass) init_kwargs: anyOf: - additionalProperties: true type: object - type: 'null' title: Init Kwargs description: Optional keyword arguments to pass to the CustomLLM constructor type: object required: - file_name - class_name title: CustomLLMConfig description: 'Configuration for a custom LiteLLM handler class. Allows users to specify a custom implementation of litellm.CustomLLM that handles acompletion() calls with custom request/response transformation.' AwsSageMakerIntegration: properties: credential_type: $ref: '#/components/schemas/AwsCredentialType' default: key_secret region: type: string title: Region default: us-west-2 multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' description: Configuration for multi-modal (file upload) capabilities. models: items: $ref: '#/components/schemas/Model' type: array title: Models id: anyOf: - type: string format: uuid4 - type: 'null' title: Id name: type: string const: aws_sagemaker title: Name default: aws_sagemaker provider: type: string const: aws_sagemaker title: Provider default: aws_sagemaker extra: anyOf: - additionalProperties: true type: object - type: 'null' title: Extra type: object title: AwsSageMakerIntegration IntegrationDB: properties: id: type: string format: uuid4 title: Id permissions: items: $ref: '#/components/schemas/Permission' type: array title: Permissions default: [] name: type: string title: Name provider: $ref: '#/components/schemas/IntegrationProvider' created_at: type: string format: date-time title: Created At updated_at: type: string format: date-time title: Updated At created_by: type: string format: uuid4 title: Created By is_selected: type: boolean title: Is Selected default: false is_disabled: type: boolean title: Is Disabled default: false type: object required: - id - name - provider - created_at - updated_at - created_by title: IntegrationDB Model: properties: name: type: string title: Name alias: type: string title: Alias integration: $ref: '#/components/schemas/LLMIntegration' default: openai user_role: anyOf: - type: string - type: 'null' title: User Role assistant_role: anyOf: - type: string - type: 'null' title: Assistant Role system_supported: type: boolean title: System Supported default: false input_modalities: items: $ref: '#/components/schemas/ContentModality' type: array title: Input Modalities description: Input modalities that the model can accept. alternative_names: items: type: string type: array title: Alternative Names description: Alternative names for the model, used for matching with various current, versioned or legacy names. input_token_limit: anyOf: - type: integer - type: 'null' title: Input Token Limit output_token_limit: anyOf: - type: integer - type: 'null' title: Output Token Limit token_limit: anyOf: - type: integer - type: 'null' title: Token Limit cost_by: $ref: '#/components/schemas/ModelCostBy' default: tokens is_chat: type: boolean title: Is Chat default: false provides_log_probs: type: boolean title: Provides Log Probs default: false formatting_tokens: type: integer title: Formatting Tokens default: 0 response_prefix_tokens: type: integer title: Response Prefix Tokens default: 0 api_version: anyOf: - type: string - type: 'null' title: Api Version legacy_mistral_prompt_format: type: boolean title: Legacy Mistral Prompt Format default: false requires_max_tokens: type: boolean title: Requires Max Tokens default: false max_top_p: anyOf: - type: number - type: 'null' title: Max Top P params_map: $ref: '#/components/schemas/RunParamsMap' output_map: anyOf: - $ref: '#/components/schemas/OutputMap' - type: 'null' input_map: anyOf: - $ref: '#/components/schemas/InputMap' - type: 'null' type: object required: - name - alias title: Model VegasGatewayIntegrationCreate: properties: multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' description: Configuration for multi-modal (file upload) capabilities. endpoint: type: string maxLength: 2083 minLength: 1 format: uri title: Endpoint use_case: type: string title: Use Case token: type: string title: Token type: object required: - endpoint - use_case - token title: VegasGatewayIntegrationCreate ModelProperties-Input: properties: name: type: string title: Name description: The model name used when calling the API. alias: anyOf: - type: string - type: 'null' title: Alias description: The display name/alias for the model. Defaults to name. based_on: anyOf: - type: string - type: 'null' title: Based On description: Alias of a built-in model whose parameter map should be used. For example, 'gpt-5.4'. Mutually exclusive with supported_parameters. supported_parameters: anyOf: - items: type: string type: array - type: 'null' title: Supported Parameters description: Explicit list of parameter names this model supports (e.g., ['max_tokens', 'temperature', 'verbosity']). Each name must be a valid RunParamsMap field. Mutually exclusive with based_on. type: object required: - name title: ModelProperties description: "Properties for a model in a custom integration.\n\nAttributes:\n name: The model name used when calling the API.\n alias: The display name/alias for the model in the UI.\n Defaults to ``name`` when not provided.\n based_on: Alias of a built-in model whose parameter map should be used.\n Mutually exclusive with ``supported_parameters``.\n supported_parameters: Explicit list of parameter names this model supports.\n Mutually exclusive with ``based_on``." CollaboratorRole: type: string enum: - owner - editor - annotator - viewer title: CollaboratorRole InputMap: properties: prompt: type: string title: Prompt prefix: type: string title: Prefix default: '' suffix: type: string title: Suffix default: '' type: object required: - prompt title: InputMap MistralIntegration: properties: id: anyOf: - type: string format: uuid4 - type: 'null' title: Id name: type: string const: mistral title: Name default: mistral provider: type: string const: mistral title: Provider default: mistral extra: anyOf: - additionalProperties: true type: object - type: 'null' title: Extra type: object title: MistralIntegration MultiModalModelIntegrationConfig: properties: max_files: anyOf: - type: integer minimum: 1.0 - type: 'null' title: Max Files description: Maximum number of files allowed per request. None means no limit. max_file_size_bytes: anyOf: - type: integer minimum: 1.0 - type: 'null' title: Max File Size Bytes description: Maximum file size in bytes per file. None means no limit. type: object title: MultiModalModelIntegrationConfig description: Configuration for multi-modal capabilities (file uploads). promptgalileo__schemas__config__custom__ModelProperties: properties: name: type: string title: Name description: The model name used when calling the API. alias: anyOf: - type: string - type: 'null' title: Alias description: The display name/alias for the model. Defaults to name. based_on: anyOf: - type: string - type: 'null' title: Based On description: Alias of a built-in model whose parameter map should be used. For example, 'gpt-5.4'. Mutually exclusive with supported_parameters. supported_parameters: anyOf: - items: type: string type: array - type: 'null' title: Supported Parameters description: Explicit list of parameter names this model supports (e.g., ['max_tokens', 'temperature', 'verbosity']). Each name must be a valid RunParamsMap field. Mutually exclusive with based_on. type: object required: - name title: ModelProperties description: "Properties for a model in a custom integration.\n\nAttributes:\n name: The model name used when calling the API.\n alias: The display name/alias for the model in the UI.\n Defaults to ``name`` when not provided.\n based_on: Alias of a built-in model whose parameter map should be used.\n Mutually exclusive with ``supported_parameters``.\n supported_parameters: Explicit list of parameter names this model supports.\n Mutually exclusive with ``based_on``." UserCollaboratorCreate: properties: role: $ref: '#/components/schemas/CollaboratorRole' default: viewer user_id: anyOf: - type: string format: uuid4 - type: 'null' title: User Id user_email: anyOf: - type: string format: email - type: 'null' title: User Email type: object title: UserCollaboratorCreate description: 'Create a user collaborator using either user_id or email. When using email, if the user doesn''t exist in the organization, they will be invited automatically.' IntegrationDisableRequest: properties: integration_name: type: string title: Integration Name type: object required: - integration_name title: IntegrationDisableRequest CustomAuthenticationType: type: string enum: - api_key - none - oauth2 title: CustomAuthenticationType description: 'Authentication types for custom integrations. Values: - none: No authentication required - oauth2: OAuth2 token-based authentication - api_key: API key header-based authentication' AnthropicIntegration: properties: multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' description: Configuration for multi-modal (file upload) capabilities. authentication_type: $ref: '#/components/schemas/AnthropicAuthenticationType' default: api_key endpoint: anyOf: - type: string - type: 'null' title: Endpoint description: Custom base URL for the Anthropic API. Required if `proxy` is True. authentication_scope: anyOf: - type: string - type: 'null' title: Authentication Scope oauth2_token_url: anyOf: - type: string - type: 'null' title: Oauth2 Token Url description: OAuth2 token URL for custom OAuth2 authentication custom_header_mapping: anyOf: - additionalProperties: type: string type: object - type: 'null' title: Custom Header Mapping description: Custom header mapping from internal fields to be included in the LLM request. id: anyOf: - type: string format: uuid4 - type: 'null' title: Id name: type: string const: anthropic title: Name default: anthropic provider: type: string const: anthropic title: Provider default: anthropic extra: anyOf: - additionalProperties: true type: object - type: 'null' title: Extra type: object title: AnthropicIntegration ListUserCollaboratorsResponse: properties: starting_token: type: integer title: Starting Token default: 0 limit: type: integer title: Limit default: 100 paginated: type: boolean title: Paginated default: false next_starting_token: anyOf: - type: integer - type: 'null' title: Next Starting Token collaborators: items: $ref: '#/components/schemas/UserCollaborator' type: array title: Collaborators type: object required: - collaborators title: ListUserCollaboratorsResponse NvidiaIntegrationCreate: properties: token: type: string title: Token hostname: type: string maxLength: 2083 minLength: 1 format: uri title: Hostname type: object required: - token - hostname title: NvidiaIntegrationCreate ContentModality: type: string enum: - text - document - image - audio - video title: ContentModality description: Classification of content modality ControlResourceAction: type: string enum: - create - read - update - delete title: ControlResourceAction description: Actions on Agent Control's org-scoped ``control`` resource. VegasGatewayIntegration: properties: id: anyOf: - type: string format: uuid4 - type: 'null' title: Id name: type: string const: vegas_gateway title: Name default: vegas_gateway provider: type: string const: vegas_gateway title: Provider default: vegas_gateway extra: anyOf: - additionalProperties: true type: object - type: 'null' title: Extra type: object title: VegasGatewayIntegration ModelInfo: properties: name: type: string title: Name alias: type: string title: Alias integration: $ref: '#/components/schemas/LLMIntegration' default: openai user_role: anyOf: - type: string - type: 'null' title: User Role assistant_role: anyOf: - type: string - type: 'null' title: Assistant Role system_supported: type: boolean title: System Supported default: false input_modalities: items: $ref: '#/components/schemas/ContentModality' type: array title: Input Modalities description: Input modalities that the model can accept. type: object required: - name - alias title: ModelInfo description: 'Model information that is useful to surface to the UI and in other contexts. This is a subset of all of the information we store about the model. We need a lot more information to actually execute requests against the model, but that is not necessary to surface to the user.' DatabricksIntegration: properties: id: anyOf: - type: string format: uuid4 - type: 'null' title: Id name: type: string const: databricks title: Name default: databricks provider: type: string const: databricks title: Provider default: databricks extra: anyOf: - additionalProperties: true type: object - type: 'null' title: Extra type: object title: DatabricksIntegration RunParamsMap: properties: model: anyOf: - type: string - type: 'null' title: Model temperature: anyOf: - type: string - type: 'null' title: Temperature max_tokens: anyOf: - type: string - type: 'null' title: Max Tokens stop_sequences: anyOf: - type: string - type: 'null' title: Stop Sequences top_p: anyOf: - type: string - type: 'null' title: Top P top_k: anyOf: - type: string - type: 'null' title: Top K frequency_penalty: anyOf: - type: string - type: 'null' title: Frequency Penalty presence_penalty: anyOf: - type: string - type: 'null' title: Presence Penalty echo: anyOf: - type: string - type: 'null' title: Echo logprobs: anyOf: - type: string - type: 'null' title: Logprobs top_logprobs: anyOf: - type: string - type: 'null' title: Top Logprobs n: anyOf: - type: string - type: 'null' title: N api_version: anyOf: - type: string - type: 'null' title: Api Version tools: anyOf: - type: string - type: 'null' title: Tools tool_choice: anyOf: - type: string - type: 'null' title: Tool Choice response_format: anyOf: - type: string - type: 'null' title: Response Format reasoning_effort: anyOf: - type: string - type: 'null' title: Reasoning Effort verbosity: anyOf: - type: string - type: 'null' title: Verbosity deployment_name: anyOf: - type: string - type: 'null' title: Deployment Name type: object title: RunParamsMap description: 'Maps the internal settings parameters (left) to the serialized parameters (right) we want to send in the API requests.' AwsCredentialType: type: string enum: - assumed_role - key_secret title: AwsCredentialType AnthropicIntegrationCreate: properties: multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' description: Configuration for multi-modal (file upload) capabilities. authentication_type: $ref: '#/components/schemas/AnthropicAuthenticationType' default: api_key endpoint: anyOf: - type: string - type: 'null' title: Endpoint description: Custom base URL for the Anthropic API. Required if `proxy` is True. authentication_scope: anyOf: - type: string - type: 'null' title: Authentication Scope oauth2_token_url: anyOf: - type: string - type: 'null' title: Oauth2 Token Url description: OAuth2 token URL for custom OAuth2 authentication custom_header_mapping: anyOf: - additionalProperties: type: string type: object - type: 'null' title: Custom Header Mapping description: Custom header mapping from internal fields to be included in the LLM request. token: type: string title: Token type: object required: - token title: AnthropicIntegrationCreate CustomIntegrationDefinition: properties: authentication_type: $ref: '#/components/schemas/CustomAuthenticationType' endpoint: type: string title: Endpoint default_model: anyOf: - type: string - type: 'null' title: Default Model model_properties: anyOf: - items: $ref: '#/components/schemas/promptgalileo__schemas__config__custom__ModelProperties' type: array - type: 'null' title: Model Properties token: anyOf: - type: string - type: 'null' title: Token api_key_header: anyOf: - type: string - type: 'null' title: Api Key Header api_key_value: anyOf: - type: string - type: 'null' title: Api Key Value authentication_scope: anyOf: - type: string - type: 'null' title: Authentication Scope oauth2_token_url: anyOf: - type: string - type: 'null' title: Oauth2 Token Url headers: anyOf: - additionalProperties: type: string type: object - type: 'null' title: Headers custom_llm_config: anyOf: - $ref: '#/components/schemas/CustomLLMConfig' - type: 'null' custom_header_mapping: anyOf: - additionalProperties: type: string type: object - type: 'null' title: Custom Header Mapping multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' type: object required: - authentication_type - endpoint title: CustomIntegrationDefinition description: 'Response schema for the full JSON definition of a custom integration. Returns the exact same structure used to create the integration, including decrypted sensitive fields (api_key_value, token, headers). Only accessible to users with edit permission (creator + admins).' MistralIntegrationCreate: properties: token: type: string title: Token type: object required: - token title: MistralIntegrationCreate HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError OpenAIIntegrationCreate: properties: organization_id: anyOf: - type: string - type: 'null' title: Organization Id token: type: string title: Token type: object required: - token title: OpenAIIntegrationCreate AzureIntegrationCreate: properties: multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' description: Configuration for multi-modal (file upload) capabilities. proxy: type: boolean title: Proxy default: false endpoint: type: string title: Endpoint api_version: type: string title: Api Version default: 2025-03-01-preview azure_deployment: anyOf: - type: string - type: 'null' title: Azure Deployment authentication_type: $ref: '#/components/schemas/AzureAuthenticationType' default: api_key authentication_scope: anyOf: - type: string - type: 'null' title: Authentication Scope default_headers: anyOf: - additionalProperties: type: string type: object - type: 'null' title: Default Headers deployments: additionalProperties: type: string type: object title: Deployments oauth2_token_url: anyOf: - type: string - type: 'null' title: Oauth2 Token Url description: OAuth2 token URL for custom OAuth2 authentication custom_header_mapping: anyOf: - additionalProperties: type: string type: object - type: 'null' title: Custom Header Mapping description: Custom header mapping from internal fields to be included in the LLM request. available_deployments: anyOf: - items: $ref: '#/components/schemas/AzureModelDeployment' type: array - type: 'null' title: Available Deployments description: The available deployments for this integration. If provided, we will not try to get this list from Azure. token: type: string title: Token type: object required: - endpoint - token title: AzureIntegrationCreate AzureAuthenticationType: type: string enum: - api_key - client_secret - username_password - custom_oauth2 title: AzureAuthenticationType WriterIntegrationCreate: properties: organization_id: type: string title: Organization Id token: type: string title: Token type: object required: - organization_id - token title: WriterIntegrationCreate DatasetAction: type: string enum: - update - delete - share - export - rename title: DatasetAction GeneratedScorerAction: type: string enum: - update - delete title: GeneratedScorerAction IntegrationCostsResponse: properties: features: items: $ref: '#/components/schemas/FeatureIntegrationCosts' type: array title: Features type: object title: IntegrationCostsResponse ProjectIntegrationCosts: properties: project_id: type: string format: uuid4 title: Project Id project_name: type: string title: Project Name total_cost: type: number title: Total Cost default: 0.0 data_points: items: $ref: '#/components/schemas/IntegrationCostsDataPoint' type: array title: Data Points type: object required: - project_id - project_name title: ProjectIntegrationCosts AnthropicAuthenticationType: type: string enum: - api_key - custom_oauth2 title: AnthropicAuthenticationType LLMIntegration: type: string enum: - anthropic - aws_bedrock - aws_sagemaker - azure - custom - databricks - mistral - nvidia - openai - vegas_gateway - vertex_ai - writer title: LLMIntegration FeatureIntegrationCosts: properties: feature_name: type: string title: Feature Name total_cost: type: number title: Total Cost default: 0.0 projects: items: $ref: '#/components/schemas/ProjectIntegrationCosts' type: array title: Projects type: object required: - feature_name title: FeatureIntegrationCosts AwsSageMakerIntegrationCreate: properties: multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' description: Configuration for multi-modal (file upload) capabilities. models: items: $ref: '#/components/schemas/Model' type: array title: Models credential_type: $ref: '#/components/schemas/AwsCredentialType' default: key_secret region: type: string title: Region default: us-west-2 inference_profiles: additionalProperties: type: string type: object title: Inference Profiles description: Mapping from model name (Foundation model ID) to inference profile ARN or ID token: additionalProperties: type: string type: object title: Token type: object required: - token title: AwsSageMakerIntegrationCreate UserAction: type: string enum: - update - delete - read_api_keys - change_role_to_admin - change_role_to_manager - change_role_to_user - change_role_to_read_only title: UserAction IntegrationCostsDataPoint: properties: timestamp: type: string format: date-time title: Timestamp cost: type: number title: Cost type: object required: - timestamp - cost title: IntegrationCostsDataPoint VertexAIGCSConfigResponse: properties: bucket_name: type: string title: Bucket Name object_path_prefix: type: string title: Object Path Prefix type: object required: - bucket_name - object_path_prefix title: VertexAIGCSConfigResponse description: GCS config response model — credentials are never exposed in GET responses. OrganizationAction: type: string enum: - rename - delete - delete_log_data - read_settings - update_settings - read_cost_settings - read_ai_usage title: OrganizationAction ScorerAction: type: string enum: - update - delete - share - export - autotune_apply title: ScorerAction AzureModelDeployment: properties: model: type: string title: Model description: The name of the model. id: type: string title: Id description: The ID of the deployment. type: object required: - model - id title: AzureModelDeployment BillingUsageMetric: type: string enum: - traces - spans - luna_tokens - luna_fine_tuning_runs title: BillingUsageMetric IntegrationAction: type: string enum: - update - delete - share - read_secrets title: IntegrationAction ProjectAction: type: string enum: - update - delete - rename - share - create_run - delete_run - rename_run - move_run - export_data - configure_human_feedback - record_human_feedback - log_data - toggle_metric - edit_alert - create_stage - edit_stage - configure_crown_logic - delete_data - set_metric - edit_run_tags - dismiss_alert - edit_slice - edit_edit - update_control_bindings - use_control_runtime title: ProjectAction ListGroupCollaboratorsResponse: properties: starting_token: type: integer title: Starting Token default: 0 limit: type: integer title: Limit default: 100 paginated: type: boolean title: Paginated default: false next_starting_token: anyOf: - type: integer - type: 'null' title: Next Starting Token collaborators: items: $ref: '#/components/schemas/GroupCollaborator' type: array title: Collaborators type: object required: - collaborators title: ListGroupCollaboratorsResponse CustomIntegration: properties: multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' description: Configuration for multi-modal (file upload) capabilities. authentication_type: $ref: '#/components/schemas/CustomAuthenticationType' default: oauth2 models: anyOf: - items: type: string type: array - type: 'null' title: Models description: 'List of model names for the custom integration. Deprecated: use model_properties instead.' model_properties: anyOf: - items: $ref: '#/components/schemas/promptgalileo__schemas__config__custom__ModelProperties' type: array - type: 'null' title: Model Properties description: List of model properties with name and alias for the custom integration. is_legacy_format: type: boolean title: Is Legacy Format description: 'Internal: whether this config was created from the legacy ''models'' field.' default: false default_model: anyOf: - type: string - type: 'null' title: Default Model description: Default model to use. If not provided, defaults to the first model. base_url: type: string title: Base Url description: Endpoint URL for the custom integration. authentication_scope: anyOf: - type: string - type: 'null' title: Authentication Scope description: Optional scope for OAuth2 authentication. oauth2_token_url: anyOf: - type: string - type: 'null' title: Oauth2 Token Url description: OAuth2 token URL for custom OAuth2 authentication. If not provided, defaults to the endpoint. api_key_header: anyOf: - type: string - type: 'null' title: Api Key Header description: HTTP header name to use for API key authentication (e.g., 'X-API-Key', 'Authorization'). api_key_value: anyOf: - type: string - type: 'null' title: Api Key Value description: API key value to send in the specified header for authentication. custom_llm_config: anyOf: - $ref: '#/components/schemas/CustomLLMConfig' - type: 'null' description: Optional configuration for a custom LiteLLM handler class. When specified, the handler's acompletion() method is used instead of the default litellm.acompletion(). custom_header_mapping: anyOf: - additionalProperties: type: string type: object - type: 'null' title: Custom Header Mapping description: Custom header mapping from internal fields (job_id, user_id, project_id, run_id) to custom header names to be included in LLM requests. headers: anyOf: - additionalProperties: type: string type: object - type: 'null' title: Headers id: anyOf: - type: string format: uuid4 - type: 'null' title: Id name: type: string title: Name default: custom provider: type: string const: custom title: Provider default: custom extra: anyOf: - additionalProperties: true type: object - type: 'null' title: Extra type: object required: - base_url title: CustomIntegration description: 'Read model for custom integrations. api_key_value is not stored in extra (it''s encrypted in the token column), so we override the parent validator to skip requiring it on read. Headers are not returned on read (they''re encrypted and sensitive).' GroupAction: type: string enum: - update - list_members - join - request_to_join title: GroupAction BaseAwsIntegrationCreate: properties: multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' description: Configuration for multi-modal (file upload) capabilities. credential_type: $ref: '#/components/schemas/AwsCredentialType' default: key_secret region: type: string title: Region default: us-west-2 inference_profiles: additionalProperties: type: string type: object title: Inference Profiles description: Mapping from model name (Foundation model ID) to inference profile ARN or ID token: additionalProperties: type: string type: object title: Token type: object required: - token title: BaseAwsIntegrationCreate VertexAIGCSConfig: properties: service_account_credentials: type: string title: Service Account Credentials bucket_name: type: string title: Bucket Name object_path_prefix: type: string title: Object Path Prefix type: object required: - service_account_credentials - bucket_name - object_path_prefix title: VertexAIGCSConfig description: Configuration for GCS file uploads in Vertex AI. IntegrationProvider: type: string enum: - anthropic - aws_bedrock - aws_sagemaker - azure - custom - databricks - mistral - nvidia - openai - vegas_gateway - vertex_ai - writer title: IntegrationProvider UserCollaborator: properties: id: type: string format: uuid4 title: Id permissions: items: $ref: '#/components/schemas/Permission' type: array title: Permissions default: [] role: $ref: '#/components/schemas/CollaboratorRole' created_at: type: string format: date-time title: Created At user_id: type: string format: uuid4 title: User Id first_name: anyOf: - type: string - type: 'null' title: First Name last_name: anyOf: - type: string - type: 'null' title: Last Name email: type: string title: Email type: object required: - id - role - created_at - user_id - first_name - last_name - email title: UserCollaborator Permission: properties: action: anyOf: - $ref: '#/components/schemas/UserAction' - $ref: '#/components/schemas/GroupAction' - $ref: '#/components/schemas/GroupMemberAction' - $ref: '#/components/schemas/ProjectAction' - $ref: '#/components/schemas/ScorerAction' - $ref: '#/components/schemas/RegisteredScorerAction' - $ref: '#/components/schemas/ApiKeyAction' - $ref: '#/components/schemas/GeneratedScorerAction' - $ref: '#/components/schemas/FineTunedScorerAction' - $ref: '#/components/schemas/DatasetAction' - $ref: '#/components/schemas/IntegrationAction' - $ref: '#/components/schemas/OrganizationAction' - $ref: '#/components/schemas/AnnotationQueueAction' - $ref: '#/components/schemas/ControlResourceAction' title: Action allowed: type: boolean title: Allowed message: anyOf: - type: string - type: 'null' title: Message type: object required: - action - allowed title: Permission VertexAIIntegration: properties: multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' description: Configuration for multi-modal (file upload) capabilities. gcs_config: anyOf: - $ref: '#/components/schemas/VertexAIGCSConfigResponse' - type: 'null' id: anyOf: - type: string format: uuid4 - type: 'null' title: Id name: type: string const: vertex_ai title: Name default: vertex_ai provider: type: string const: vertex_ai title: Provider default: vertex_ai extra: anyOf: - additionalProperties: true type: object - type: 'null' title: Extra type: object title: VertexAIIntegration BillingUsageResponse: properties: metric: $ref: '#/components/schemas/BillingUsageMetric' total: type: integer title: Total default: 0 projects: items: $ref: '#/components/schemas/ProjectBillingUsage' type: array title: Projects available: type: boolean title: Available default: true unavailable_reason: anyOf: - type: string - type: 'null' title: Unavailable Reason type: object required: - metric title: BillingUsageResponse VertexAIIntegrationCreate: properties: multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' description: Configuration for multi-modal (file upload) capabilities. gcs_config: anyOf: - $ref: '#/components/schemas/VertexAIGCSConfig' - type: 'null' token: type: string title: Token type: object required: - token title: VertexAIIntegrationCreate OutputMap: properties: response: type: string title: Response token_count: anyOf: - type: string - type: 'null' title: Token Count input_token_count: anyOf: - type: string - type: 'null' title: Input Token Count output_token_count: anyOf: - type: string - type: 'null' title: Output Token Count completion_reason: anyOf: - type: string - type: 'null' title: Completion Reason type: object required: - response title: OutputMap AwsBedrockIntegration: properties: multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' description: Configuration for multi-modal (file upload) capabilities. credential_type: $ref: '#/components/schemas/AwsCredentialType' default: key_secret region: type: string title: Region default: us-west-2 inference_profiles: additionalProperties: type: string type: object title: Inference Profiles description: Mapping from model name (Foundation model ID) to inference profile ARN or ID id: anyOf: - type: string format: uuid4 - type: 'null' title: Id name: type: string const: aws_bedrock title: Name default: aws_bedrock provider: type: string const: aws_bedrock title: Provider default: aws_bedrock extra: anyOf: - additionalProperties: true type: object - type: 'null' title: Extra type: object title: AwsBedrockIntegration CustomIntegrationCreate: properties: multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' description: Configuration for multi-modal (file upload) capabilities. authentication_type: $ref: '#/components/schemas/CustomAuthenticationType' default: oauth2 models: anyOf: - items: type: string type: array - type: 'null' title: Models description: 'List of model names for the custom integration. Deprecated: use model_properties instead.' model_properties: anyOf: - items: $ref: '#/components/schemas/ModelProperties-Input' type: array - type: 'null' title: Model Properties description: List of model properties with name and alias for the custom integration. is_legacy_format: type: boolean title: Is Legacy Format description: 'Internal: whether this config was created from the legacy ''models'' field.' default: false default_model: anyOf: - type: string - type: 'null' title: Default Model description: Default model to use. If not provided, defaults to the first model. endpoint: type: string title: Endpoint description: Endpoint URL for the custom integration. authentication_scope: anyOf: - type: string - type: 'null' title: Authentication Scope description: Optional scope for OAuth2 authentication. oauth2_token_url: anyOf: - type: string - type: 'null' title: Oauth2 Token Url description: OAuth2 token URL for custom OAuth2 authentication. If not provided, defaults to the endpoint. api_key_header: anyOf: - type: string - type: 'null' title: Api Key Header description: HTTP header name to use for API key authentication (e.g., 'X-API-Key', 'Authorization'). api_key_value: anyOf: - type: string - type: 'null' title: Api Key Value description: API key value to send in the specified header for authentication. custom_llm_config: anyOf: - $ref: '#/components/schemas/CustomLLMConfig' - type: 'null' description: Optional configuration for a custom LiteLLM handler class. When specified, the handler's acompletion() method is used instead of the default litellm.acompletion(). custom_header_mapping: anyOf: - additionalProperties: type: string type: object - type: 'null' title: Custom Header Mapping description: Custom header mapping from internal fields (job_id, user_id, project_id, run_id) to custom header names to be included in LLM requests. headers: anyOf: - additionalProperties: type: string type: object maxProperties: 50 - type: 'null' title: Headers description: Optional custom HTTP headers to include in requests to the integration endpoint. Stored encrypted at rest. token: anyOf: - type: string - type: 'null' title: Token type: object required: - endpoint title: CustomIntegrationCreate description: 'Schema for creating custom integrations. Inherits api_key field validation from CustomConfig: - api_key_header and api_key_value are required when authentication_type is api_key Token field is only used for oauth2 authentication (contains OAuth2 client credentials). For api_key auth, the api_key_value field is used instead.' GroupCollaborator: properties: id: type: string format: uuid4 title: Id permissions: items: $ref: '#/components/schemas/Permission' type: array title: Permissions default: [] role: $ref: '#/components/schemas/CollaboratorRole' created_at: type: string format: date-time title: Created At group_id: type: string format: uuid4 title: Group Id group_name: type: string title: Group Name type: object required: - id - role - created_at - group_id - group_name title: GroupCollaborator CostInterval: type: string enum: - hourly - daily - weekly - monthly title: CostInterval AnnotationQueueAction: type: string enum: - update - delete - share - record_annotation title: AnnotationQueueAction BillingUsageDataPoint: properties: timestamp: type: string format: date-time title: Timestamp value: type: integer title: Value type: object required: - timestamp - value title: BillingUsageDataPoint IntegrationSelectRequest: properties: integration_name: type: string title: Integration Name integration_id: type: string format: uuid4 title: Integration Id type: object required: - integration_name - integration_id title: IntegrationSelectRequest AzureIntegration: properties: multi_modal_config: anyOf: - $ref: '#/components/schemas/MultiModalModelIntegrationConfig' - type: 'null' description: Configuration for multi-modal (file upload) capabilities. proxy: type: boolean title: Proxy default: false endpoint: type: string title: Endpoint api_version: type: string title: Api Version default: 2025-03-01-preview azure_deployment: anyOf: - type: string - type: 'null' title: Azure Deployment authentication_type: $ref: '#/components/schemas/AzureAuthenticationType' default: api_key authentication_scope: anyOf: - type: string - type: 'null' title: Authentication Scope default_headers: anyOf: - additionalProperties: type: string type: object - type: 'null' title: Default Headers deployments: additionalProperties: type: string type: object title: Deployments oauth2_token_url: anyOf: - type: string - type: 'null' title: Oauth2 Token Url description: OAuth2 token URL for custom OAuth2 authentication custom_header_mapping: anyOf: - additionalProperties: type: string type: object - type: 'null' title: Custom Header Mapping description: Custom header mapping from internal fields to be included in the LLM request. available_deployments: anyOf: - items: $ref: '#/components/schemas/AzureModelDeployment' type: array - type: 'null' title: Available Deployments description: The available deployments for this integration. If provided, we will not try to get this list from Azure. id: anyOf: - type: string format: uuid4 - type: 'null' title: Id name: type: string const: azure title: Name default: azure provider: type: string const: azure title: Provider default: azure extra: anyOf: - additionalProperties: true type: object - type: 'null' title: Extra type: object required: - endpoint title: AzureIntegration NvidiaIntegration: properties: id: anyOf: - type: string format: uuid4 - type: 'null' title: Id name: type: string const: nvidia title: Name default: nvidia provider: type: string const: nvidia title: Provider default: nvidia extra: anyOf: - additionalProperties: true type: object - type: 'null' title: Extra type: object title: NvidiaIntegration GroupMemberAction: type: string enum: - update_role - delete title: GroupMemberAction FineTunedScorerAction: type: string enum: - update - delete title: FineTunedScorerAction ApiKeyAction: type: string enum: - update - delete title: ApiKeyAction ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type input: title: Input ctx: type: object title: Context type: object required: - loc - msg - type title: ValidationError OpenAIIntegration: properties: organization_id: anyOf: - type: string - type: 'null' title: Organization Id id: anyOf: - type: string format: uuid4 - type: 'null' title: Id name: type: string const: openai title: Name default: openai provider: type: string const: openai title: Provider default: openai extra: anyOf: - additionalProperties: true type: object - type: 'null' title: Extra type: object title: OpenAIIntegration ModelCostBy: type: string enum: - tokens - characters title: ModelCostBy RegisteredScorerAction: type: string enum: - update - delete title: RegisteredScorerAction ProjectBillingUsage: properties: project_id: type: string format: uuid4 title: Project Id project_name: type: string title: Project Name total: type: integer title: Total default: 0 data_points: items: $ref: '#/components/schemas/BillingUsageDataPoint' type: array title: Data Points type: object required: - project_id - project_name title: ProjectBillingUsage DatabricksIntegrationCreate: properties: token: type: string title: Token hostname: type: string maxLength: 2083 minLength: 1 format: uri title: Hostname default_catalog_name: anyOf: - type: string - type: 'null' title: Default Catalog Name path: anyOf: - type: string - type: 'null' title: Path llm: type: boolean title: Llm default: false storage: type: boolean title: Storage default: false type: object required: - token - hostname title: DatabricksIntegrationCreate GroupCollaboratorCreate: properties: role: $ref: '#/components/schemas/CollaboratorRole' default: viewer group_id: type: string format: uuid4 title: Group Id type: object required: - group_id title: GroupCollaboratorCreate securitySchemes: ClassicAPIKeyHeader: type: apiKey in: header name: Galileo-API-Key APIKeyHeader: type: apiKey in: header name: Splunk-AO-API-Key OAuth2PasswordBearer: type: oauth2 flows: password: scopes: {} tokenUrl: https://api.galileo.ai/login HTTPBasic: type: http scheme: basic