Automation
List ordered Job trigger sources without their payloads.
List ordered Job trigger sources without their payloads. The request is scoped to the authenticated instance and enforces Automation roles and lifecycle state.
GET
/
api
/
v1
/
automation
/
job
/
{jobId}
/
triggers
List ordered Job trigger sources without their payloads.
curl --request GET \
--url https://api.revoengine.com/api/v1/automation/job/{jobId}/triggers \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/automation/job/{jobId}/triggers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/automation/job/{jobId}/triggers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"position": 123,
"triggerType": "EVENT",
"bytes": 123,
"createdAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"source": "<string>",
"definition": "<string>",
"eventHistoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"jobEventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduleHistoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sourceExecutionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"initiatedByUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"origin": {}
}
],
"results": 123,
"total": 123,
"next": true,
"redacted": true
}Authorizations
Bearer JWT token or API Key (sk-*).
Path Parameters
Query Parameters
Filter tree as JSON over triggerType, source and definition. Supports the standard text, membership, blank and boolean-group operators.
Return paged distinct nonblank names for the corresponding grid filter.
Available options:
source, definition The filtered count is included with every page.
Grid presentation flag; trigger lists always omit payloads.
Required range:
1 <= x <= 100Required range:
0 <= x <= 9007199254740991Response
200 - application/json
⌘I
List ordered Job trigger sources without their payloads.
curl --request GET \
--url https://api.revoengine.com/api/v1/automation/job/{jobId}/triggers \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/automation/job/{jobId}/triggers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/automation/job/{jobId}/triggers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"position": 123,
"triggerType": "EVENT",
"bytes": 123,
"createdAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"source": "<string>",
"definition": "<string>",
"eventHistoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"jobEventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduleHistoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sourceExecutionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"initiatedByUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"origin": {}
}
],
"results": 123,
"total": 123,
"next": true,
"redacted": true
}
