Remote Triggers: add execution history and run status
Resolved 💬 3 comments Opened Apr 8, 2026 by saurabhav88 Closed May 21, 2026
Problem
Remote Triggers (/v1/code/triggers) have no way to check whether a scheduled trigger actually fired, succeeded, or failed. The API only exposes list, get, create, update, and run actions. After a trigger's next_run_at passes, there is no feedback on what happened.
Current experience
- Set up a recurring remote trigger with a cron schedule
- Wait for
next_run_atto pass - No way to know if it fired, is still running, succeeded, or failed
- Only signal is whether the side effect (in our case, a Discord webhook post) shows up
The run action (manual fire) also returns HTTP 500 consistently, so there's no reliable way to test a trigger either.
Requested features
- Execution history:
GET /v1/code/triggers/{id}/runsreturning recent executions with status (pending, running, completed, failed), start/end timestamps, and error details if failed - Run status on GET: Include
last_run_at,last_run_status, andlast_run_errorfields in the trigger object returned byget/list - Fix manual
runendpoint:POST /v1/code/triggers/{id}/runcurrently returns HTTP 500. This should work for testing triggers without waiting for the cron schedule. - Execution logs (nice to have): ability to retrieve stdout/stderr or a summary of what the headless session did
Context
Using remote triggers for automated weekly monitoring jobs that post to Discord. Without execution visibility, debugging a silent failure requires waiting for the next cron window and hoping the side effect appears.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗