Skip to main content
The aiintegrations client methods are currently in ALPHA. The API may change without notice. A one-time warning is emitted on first use.
An AI integration is a configured connection to an external LLM provider (OpenAI, Anthropic, AWS Bedrock, Vertex AI, etc.). The Get, Update, and Delete methods accept either an integration name or an ID — when a name is passed, the parent Space (name or ID) is also required so the SDK can resolve the name to a unique ID. When Provider is AIIntegrationProviderAWSBedrock or AIIntegrationProviderVertexAI, ProviderMetadata must also be set; the server returns *arize.UnprocessableEntityError (HTTP 422) on mismatch.

List AI Integrations

List returns a paginated list of AI integrations. Defaults to a page size of 50. Space, when non-empty, filters by space (substring match on space name, or exact match if a base64 resource ID is passed). Signature:
Usage Example:

Get an AI Integration

Get returns a single AI integration, resolving by name or ID. Signature:
Usage Example:

Create an AI Integration

Create issues a POST to create a new AI integration and returns it. Integration names must be unique within the account. APIKey is write-only — never returned by the server. Signature:
Usage Example:

Update an AI Integration

Update patches an existing AI integration, resolving the target by name or ID, and returns the updated integration. Only non-nil patch fields are sent on the wire; omitted fields are left unchanged. For nullable fields (APIKey, BaseURL, Headers, ProviderMetadata), pass a non-nil pointer to the zero value to clear the field on the server. Returns aiintegrations.ErrNoUpdateFields without contacting the server when no patch fields are set. Signature:
Usage Example:

Delete an AI Integration

Delete removes an AI integration, resolving by name or ID. It returns only an error. Signature:
Usage Example: