Skip to main content

Integration

Factory interface for managing Galileo integrations. Integration is the main entry point for working with LLM providers and other external services in the Galileo platform. It provides factory methods to create new integrations and list existing ones. The Integration class returns Provider objects, which are immutable proxies to integrations stored in the Galileo API. Provider classes should not be imported or instantiated directly - always use the Integration class methods. Examples

anthropic

Get the configured Anthropic (Claude) integration. Examples

azure

Get the configured Azure OpenAI integration. Examples

bedrock

Get the configured AWS Bedrock integration. Examples

create_anthropic

Create a new Anthropic (Claude) integration. Arguments
  • token (str): Anthropic API token.

create_azure

Create a new Azure OpenAI integration. Arguments
  • token (str): Azure API key.
  • endpoint (str): Azure OpenAI endpoint URL.

create_bedrock

Create a new AWS Bedrock integration. Arguments
  • aws_access_key_id (str): AWS access key ID.
  • aws_secret_access_key (str): AWS secret access key.
  • region (str): AWS region. Defaults to “us-east-1”.
  • credential_type (str): Type of credentials. Defaults to “key_secret”.

create_openai

Create a new OpenAI integration. Arguments
  • token (str): OpenAI API token.
  • organization_id (str | None): Optional organization ID.

list

List integrations. Arguments
  • all (bool): If True, returns all available integration types (including unconnected ones) as a list of strings. If False, returns only the configured integrations as Provider objects. Defaults to False.

mistral

Get the configured Mistral AI integration. Examples

openai

Get the configured OpenAI integration. Examples

refresh

Refresh the integration state from the remote API. Note: Currently, the API does not support fetching individual integrations by ID. This method will re-fetch all integrations and find the matching one.

Raises

APIError: If the API call fails or the integration is not found.

vertex_ai

Get the configured Gemini Enterprise integration (provider id vertex_ai; previously Vertex AI). Examples