List Agent Triggers
Triggers
List Agent Triggers
Retrieve all YouTube triggers configured for an agent.
GET
List Agent Triggers
Returns all configured YouTube trigger nodes for an agent.Documentation Index
Fetch the complete documentation index at: https://docs.mosaic.so/llms.txt
Use this file to discover all available pages before exploring further.
Each agent can have multiple YouTube trigger nodes, and each trigger node can monitor multiple channels. The GET endpoint returns all triggers configured for the agent.
Request
Response
[] if no triggers are configured. Each trigger represents a trigger node with its associated YouTube channels.
youtube_channel_details includes channel_name, channel_handle, thumbnail_url, and subscriber_count. Some fields may be null if Mosaic has not yet refreshed metadata for a channel. Always fall back to youtube_channels when details are unavailable.filter_options.duration is optional. When present, only videos within the configured duration bounds (in seconds) trigger runs for that specific trigger node. If only min_seconds is set, videos shorter than that are ignored; if only max_seconds is set, videos longer than that are ignored.When channels are added through POST /agent/{agent_id}/triggers/add_youtube_channels, a channel is moved to the selected trigger signature if it already exists on another YouTube trigger node for the same agent.Execution is deduplicated per video input target: if multiple YouTube trigger nodes match the same new video and point to the same Video Input node, Mosaic starts a single run for that target.