curl --request GET \
--url https://brew.new/api/v1/automations/runs \
--header 'Authorization: Bearer <token>'import requests
url = "https://brew.new/api/v1/automations/runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://brew.new/api/v1/automations/runs', 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://brew.new/api/v1/automations/runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://brew.new/api/v1/automations/runs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://brew.new/api/v1/automations/runs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://brew.new/api/v1/automations/runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"automationRunId": "jh7acthhe99pq4448xh83gn54x8eennb",
"automationId": "M3nRk8LqW2xT5vBp9YcZd",
"automationVersionId": "Kx9Pb2Nt6Wq4Ym8Lz1Rv3",
"definitionHash": "9c1f3a6e2b7d4c8f0a5e1b9d3c7f2a6e4b8d0c1f5a9e3b7d2c6f0a4e8b1d5c9f",
"triggerInstanceId": "tin_4fZ2kQ9pLm7xR1tV8wYcD",
"mode": "live",
"status": "completed",
"recipientEmail": "jane@example.com",
"startedAt": "2026-04-08T12:34:56.789Z",
"completedAt": "2026-04-08T12:35:10.120Z"
}
],
"pagination": {
"limit": 100,
"cursor": null,
"hasMore": false
}
}List automation runs
Lists recent runs (event executions and test runs), newest first, under { data, pagination }. Rows are lean: identity, automationVersionId, definitionHash, triggerInstanceId, mode, status and timestamps.
Use when auditing what an automation did, following a fire (triggerInstanceId) to its runs, or watching a test run.
Input automationId, triggerEventId, triggerInstanceId, recipientEmail (one contact’s run history, matched case-insensitively), status, mode (live | test), an inclusive from/to window on startedAt, limit and cursor (an opaque native cursor).
Returns 200 with a page of run rows.
Errors 400 INVALID_REQUEST for an unknown query key, a reversed window or a malformed cursor.
See also getAutomationRun (with include=logs), cancelAutomationRun, listTriggerInstances, listSends.
curl --request GET \
--url https://brew.new/api/v1/automations/runs \
--header 'Authorization: Bearer <token>'import requests
url = "https://brew.new/api/v1/automations/runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://brew.new/api/v1/automations/runs', 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://brew.new/api/v1/automations/runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://brew.new/api/v1/automations/runs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://brew.new/api/v1/automations/runs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://brew.new/api/v1/automations/runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"automationRunId": "jh7acthhe99pq4448xh83gn54x8eennb",
"automationId": "M3nRk8LqW2xT5vBp9YcZd",
"automationVersionId": "Kx9Pb2Nt6Wq4Ym8Lz1Rv3",
"definitionHash": "9c1f3a6e2b7d4c8f0a5e1b9d3c7f2a6e4b8d0c1f5a9e3b7d2c6f0a4e8b1d5c9f",
"triggerInstanceId": "tin_4fZ2kQ9pLm7xR1tV8wYcD",
"mode": "live",
"status": "completed",
"recipientEmail": "jane@example.com",
"startedAt": "2026-04-08T12:34:56.789Z",
"completedAt": "2026-04-08T12:35:10.120Z"
}
],
"pagination": {
"limit": 100,
"cursor": null,
"hasMore": false
}
}Authorizations
Send your Brew API key as Authorization: Bearer brew_xxx.
Headers
The brand this request acts on. REQUIRED for organization-scoped credentials (otherwise 400 BRAND_ID_REQUIRED — there is no default brand); list ids with GET /v1/brands. Brand-scoped credentials may omit it, and sending a different brand returns 403 BRAND_SCOPE_MISMATCH. A brand outside your organization returns 404 BRAND_NOT_FOUND.
1 - 64Query Parameters
1 - 641 - 2564 - 64Only runs for this recipient, matched case-insensitively against each run's stored recipientEmail column. A run written before that column existed carries the address only inside its trigger payload: the row still REPORTS recipientEmail (the projection reads the payload as a fallback), but the filter cannot reach it until migration_mutations:backfillRecipientEmail has run on the deployment.
queued, running, completed, failed, canceled live, test Page size (1-100). Defaults to 100.
1 <= x <= 1001 - 8192Was this page helpful?