⚠️ Experimental — Looks up a Guild chat subscription by ID.
# When to use: Look up a chat subscription by UUID to inspect target and triggers.
data "sg_chat_subscription" "sre_mentions" {
id = "00000000-0000-4000-8000-000000000042"
}
output "subscription_target" {
value = "${data.sg_chat_subscription.sre_mentions.target_type}:${data.sg_chat_subscription.sre_mentions.target_name}"
}
id (String) Chat subscription UUID to look up.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.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).channel_selectorOptional:
channel_ids (List of String) Explicit Guild chat channel UUIDs to match.tag (String) Match channels that carry this operator tag.