Lists recent source events for a saved trigger.
Reads the persisted trigger's integration, config, event type, and filter, then returns the same response shape as the draft-mode preview. Powers per-row Dry-run and Fire-once, where the frontend hands the per-sample payload to the existing `:preview` and `:fire` endpoints.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The trigger identifier.
uuidThe tenant identifier
Query Parameters
Max samples to return (default 20, max 50).
int32Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08/recentEvents"{
"samples": [
{
"upstreamId": "string",
"occurredAtMs": 0,
"label": "string",
"payload": {
"source": "UNSPECIFIED",
"eventType": "string",
"body": {}
},
"wouldFire": false
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Dry-runs the supplied trigger bindings + sample payload through the same resolver the dispatcher uses at fire time
Returns one entry per submitted binding. On success the entry carries the resolved `parameters` dict the agent executor would receive; on failure the entry carries an `error` message (unknown parameter name, type-coercion mismatch, agent with no deployed revision).
Replays a historical revision onto the live trigger.
Copies the snapshot's mutable fields back onto the trigger, replaces bindings to match, and writes a new `RESTORED` revision pointing at the source revision (audit chain stays linear). Returns the post-restore trigger shape. Immutable fields (`kind`, `integrationId`, `eventType`) must match the snapshot — restoring across a kind change is rejected with 400.