AIIntegration represents an integration with an AI/LLM provider
- 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.
- modelsModel identifiers available on this integration. For Bedrock integrations these are the inference profile IDs stored on the integration; no live AWS lookup is performed.
- 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.