⚠️ Experimental — Lists Guild chat subscriptions for the organization.
# When to use: List chat subscriptions (filter by app_name or enabled_only).
data "sg_chat_subscriptions" "enabled" {
enabled_only = true
}
output "subscription_names" {
value = [for s in data.sg_chat_subscriptions.enabled.subscriptions : s.name]
}
app_name (String) Filter by provisioning app catalog name.enabled_only (Boolean) When true, return only enabled subscriptions.subscriptions (Attributes List) Chat subscriptions matching the query. (see below for nested schema)subscriptionsRead-Only:
alert_bot_app_ids (List of String) Alert bot app IDs.app_name (String) Owning installed app catalog name, if any.channel_selector (Attributes) Channel match criteria. (see below for nested schema)created_at (String) Creation timestamp (RFC 3339).domain_config (Map of String) Opaque domain-specific configuration.enabled (Boolean) Whether the subscription is active.endpoint_path (String) Relative POST path for app targets.filter_cel (String) Optional CEL filter.id (String) Server-assigned chat subscription UUID.name (String) Human-readable subscription name.precedence (Number) Match precedence (lower wins).responder_allowlist_ref (String) Optional responder allowlist reference.target_name (String) Name of the agent or installed app.target_type (String) Invocation target type (agent or app).trigger_types (List of String) Inbound event types.updated_at (String) Last modification timestamp (RFC 3339).subscriptions.channel_selectorOptional:
channel_ids (List of String) Explicit Guild chat channel UUIDs to match.tag (String) Match channels that carry this operator tag.