v1
public
triggers
Execute Trigger
Execute a trigger with the provided event data.
Called by the Go event service when a polling channel receives new messages. Builds trigger data from the events and channel origin, then creates and submits a task for agent execution.
Args: trigger_id: The unique identifier of the trigger request: Events and channel origin data http_request: Raw request, used to verify the internal service token trigger_service: Injected trigger service
Returns: Execution result with task ID
Raises: HTTPException: If trigger not found or execution fails
post/v1/triggers/{trigger_id}/execute
Path parameters
trigger_idstring uuid required
Request body
Response
Successful Response
object required