Scheduler Service
Scheduler Service

List Executions of a schedule

1min
code examples curl location '/executions' \\ \ header 'accept application/json' \\ \ header 'content type application/json'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var requestoptions = { method 'get', headers myheaders, redirect 'follow' }; fetch("/executions", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("/executions") http = net http new(url host, url port); request = net http get new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" response = http request(request) puts response read body import requests import json url = "/executions" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", url, headers=headers, data=payload) print(response text) responses // successful operation { "executions" \[ { "scheduleid" "schedule\ a0405428 64b6 4a47 b1ec 4fa75ab5ec2b", "retrycount" 0, "error" "", "scheduledat" "2023 09 11t08 51 00z", "executedat" "2023 09 11t08 51 00z", "httpstatus" 200, "status" "success / failed" } ], "meta" { "hasnextpage" true, "nextpage" "os1devs sandbox getos1 com/core/api/v1/scheduler/schedules/schedule\ dffae181 bd71 4566 96ae d4e8a4f751a8/executions?page=c8746777 bf6c 4c95 9a2d 08f2a1307809" }, "error" {} }// bad request