API Reference
Get a trigger
GET
/api/triggers/{id}
Get a trigger
Operation IDgetTrigger
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
idintegerrequiredResource ID
Success response body
200Trigger details
Trigger details
Content typeapplication/json
responseobject10 properties
idintegerjob_idintegertask_keystring | nulltypestringcron repeats on a cron expression; one_off fires once at the datetime in cron_expression then auto-disables.
cron_expressionstring | null5-field cron expression for type=cron; ISO-8601 datetime (UTC) for type=one_off.
argumentsstring | nullJSON-encoded arguments
enabledintegerlast_triggered_atstring | null · date-timecreated_atstring · date-timeupdated_atstring · date-timeError responses
404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}