Enable or disable an AI integration for the calling account. Works for both
account-owned and shared Spacelift-provided integrations. Enabling a
Spacelift-provided integration requires Spacelift Intelligence to be on.
Disabling one is always allowed, so an account can opt out before it turns
Spacelift Intelligence on.
AIIntegration!
AIIntegration!- idThe unique ID for managing the integration within Spacelift.
- spaceSpaceDetails of the space this AI integration belongs to. Null for Spacelift-provided integrations.
- nameThe friendly name of the integration.
- descriptionOptional description of the integration.
- labelsUser-defined labels set on the integration.
- providerAI provider (Anthropic, OpenAI, Google, Bedrock).
- providerIntegrationIdULID of the underlying provider integration (e.g. AWS integration for Bedrock).
- providerIntegrationNameFriendly name of the underlying provider integration (e.g. AWS integration name for Bedrock).
- providerConfigAIProviderConfigProvider-specific configuration. Concrete shape depends on the provider.
- baseURLCustom base URL for self-hosted OpenAI-compatible / Anthropic / Google gateways (e.g. LiteLLM). Empty means use the provider default. Not used for Bedrock integrations.
- modelsModels explicitly pinned on this integration. Null means the integration follows the provider's default model list; modelDetails reports what that resolves to. For Bedrock integrations this is never null: it lists the inference profile IDs stored on the integration, with no live AWS lookup.
- modelDetails[AIModel!]!Models available on this integration with display names. For Bedrock integrations, names are resolved live from AWS, which may fail or return fewer entries than `models`.
- tokenUsageAIIntegrationTokenUsage!Account-level AI token usage for the current budget window.
- isSpaceliftProvidedIndicates this is a Spacelift-managed integration that is read-only and visible to all accounts.
- enabledWhether the integration can be used for LLM calls. Disabled integrations remain visible and editable but are rejected by the AI provider proxy. Spacelift-provided integrations read as disabled while the account has Spacelift Intelligence off. Turning it on restores the account's last choice for each one.
- allowedActionsActionAI integration actions the current user is allowed to perform on this integration.