v1
protected
triggers
Get Execution Metrics
Get execution metrics for a trigger.
Returns aggregated metrics including success rate, average execution time, and failure counts for the specified time period.
Args: trigger_id: The unique identifier of the trigger hours: Time period in hours to analyze (default 24, max 168) user_context: Authentication context trigger_service: Injected trigger service
Returns: Execution metrics for the trigger
Raises: HTTPException: If trigger not found
get/v1/triggers/{trigger_id}/metrics
Path parameters
trigger_idstring uuid required
Query parameters
hoursinteger
Time period in hours (max 7 days)
Time period in hours (max 7 days)
Response
Successful Response