⚠️ Experimental — Lists Guild webhooks (sg_webhook). Token secrets are not included.
# When to use: Inventory Guild webhooks (agent/workflow/app targets). Token
# secrets are not returned — use this for discovery, not credential export.
data "sg_webhooks" "enabled" {
enabled_only = true
target_type = "workflow"
}
output "webhook_names" {
value = [for w in data.sg_webhooks.enabled.webhooks : w.name]
}
enabled_only (Boolean) When true, return only enabled webhooks.include_app_only (Boolean) When true, include user-created webhooks whose source is an installed app.include_provisioned (Boolean) When true, include webhooks provisioned by installed apps.target_name (String) Filter by target name.target_type (String) Filter by target type (agent, workflow, or app).webhooks (Attributes List) Webhooks matching the query. (see below for nested schema)webhooksRead-Only:
action (String) Prompt or instruction sent on trigger.allowed_cidrs (List of String) CIDR allowlist.enabled (Boolean) Whether the webhook accepts HTTP triggers.endpoint_path (String) App endpoint path when target_type is app.id (String) Webhook UUID.name (String) Human-readable webhook name.notification_channel_ids (List of String) Notification channel UUIDs.target_name (String) Name of the target resource.target_type (String) Target type (agent, workflow, or app).