Triggers

Get agent trigger

Retrieve the YouTube trigger configured for an agent

get/agent/{agent_id}/triggers

Request

  • Base URL
    https://api.mosaic.so
  • URL
    https://api.mosaic.so/agent/{agent_id}/triggers
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

agent_idstring required

The ID of the agent

Response

Triggers retrieved successfully

idstring

Unique identifier for the trigger

type'youtube'

Type of trigger

youtube_channelsstring[]

List of YouTube channel IDs

callback_urlstring nullable

Optional webhook URL saved on the trigger and used as callback_url for each triggered run.

Changes

No recorded changes to this operation across all 1 revision of this API.