Experimental - Lists registered Guild model providers. When provider workspace_id is set, the list is scoped to that workspace. The generated Guild client may support additional filtering by scope depending on the spec/client version in use.
data "sg_guild_model_providers" "all" {}
output "guild_model_provider_names" {
value = [for provider in data.sg_guild_model_providers.all.providers : provider.name]
}
scope (String) Filter returned providers to a specific integration scope, such as TENANT PROJECT or USER (when supported by the current Guild API client).providers (Attributes List) List of registered Guild model providers. (see below for nested schema)providersRead-Only:
created_at (String) RFC3339 timestamp when this provider was first registered, when returned by Guild.host (String) Custom API endpoint URL for this provider when returned by Guild.name (String) Unique model provider name, such as openai-prod or anthropic-staging.provider_type (String) LLM provider type, such as openai anthropic or gemini.scope (String) Integration scope for this provider, such as TENANT PROJECT or USER.token_reference (String) Name of a registered token reference (secret) that holds the API key.updated_at (String) RFC3339 timestamp when this provider was last updated, when returned by Guild.