notification history
curl --request GET \
--url https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notificationsimport requests
url = "https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notifications"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notifications"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notifications")
.asString();require 'uri'
require 'net/http'
url = URI("https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"attempts": 1,
"event": {
"backfill_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "<string>",
"kind": "run_started",
"occurred_at_unix_millis": 123,
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task": "<string>",
"workload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"last_error": "<string>",
"next_attempt_unix_millis": 123,
"status": "pending",
"subscription": {
"channel": {
"kind": "webhook",
"secret": "<string>",
"url": "<string>"
},
"events": [
"run_started"
],
"max_attempts": 1,
"name": "<string>"
}
}
]{
"error": {
"code": "invalid_request",
"message": "Check the request fields"
}
}Notification history
Notification history using the GET endpoint.
notification history
curl --request GET \
--url https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notificationsimport requests
url = "https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notifications"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notifications"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notifications")
.asString();require 'uri'
require 'net/http'
url = URI("https://engine.example.com/api/v1/workloads/{workload_id}/runs/{run_id}/notifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"attempts": 1,
"event": {
"backfill_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "<string>",
"kind": "run_started",
"occurred_at_unix_millis": 123,
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task": "<string>",
"workload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"last_error": "<string>",
"next_attempt_unix_millis": 123,
"status": "pending",
"subscription": {
"channel": {
"kind": "webhook",
"secret": "<string>",
"url": "<string>"
},
"events": [
"run_started"
],
"max_attempts": 1,
"name": "<string>"
}
}
]{
"error": {
"code": "invalid_request",
"message": "Check the request fields"
}
}Reference
Related guidance
Addresses and access · Request identity · Errors and recovery · Pagination and resultsResponse
Successful response.
Last modified on November 23, 2026