curl --request GET \
--url https://brew.new/api/v1/automations/runs/{automationRunId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://brew.new/api/v1/automations/runs/{automationRunId}"
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/{automationRunId}', 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/{automationRunId}",
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/{automationRunId}"
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/{automationRunId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://brew.new/api/v1/automations/runs/{automationRunId}")
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{
"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",
"logs": [
{
"automationRunId": "jh7acthhe99pq4448xh83gn54x8eennb",
"nodeId": "node_send_welcome",
"nodeName": "Send welcome",
"nodeType": "sendEmail",
"status": "completed",
"orderIndex": 0,
"startedAt": "2026-04-08T12:34:57.000Z",
"completedAt": "2026-04-08T12:35:10.000Z"
}
],
"logsTruncated": false
}Get an automation run
Reads one run as the bare row: the automation and version it executed (automationVersionId is a valid publish pin, definitionHash the graph fingerprint), the fire behind it (triggerInstanceId), mode, status and timestamps.
Use when debugging one contact’s journey or confirming a test run finished.
Input automationRunId in the path; include=logs inlines the newest 100 per-node execution logs and sets logsTruncated when older logs exist.
Returns 200 with the row; logs is present only when requested.
Errors 404 AUTOMATION_RUN_NOT_FOUND for an unknown or cross-brand id; 400 INVALID_REQUEST for an unknown include token.
See also listAutomationRuns, cancelAutomationRun, listSends (?automationRunId=), getEventsAnalytics (?automationRunId=).
curl --request GET \
--url https://brew.new/api/v1/automations/runs/{automationRunId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://brew.new/api/v1/automations/runs/{automationRunId}"
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/{automationRunId}', 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/{automationRunId}",
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/{automationRunId}"
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/{automationRunId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://brew.new/api/v1/automations/runs/{automationRunId}")
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{
"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",
"logs": [
{
"automationRunId": "jh7acthhe99pq4448xh83gn54x8eennb",
"nodeId": "node_send_welcome",
"nodeName": "Send welcome",
"nodeType": "sendEmail",
"status": "completed",
"orderIndex": 0,
"startedAt": "2026-04-08T12:34:57.000Z",
"completedAt": "2026-04-08T12:35:10.000Z"
}
],
"logsTruncated": 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 - 64Path Parameters
1 - 64Query Parameters
Expansions: logs inlines the newest 100 per-node execution logs and reports logsTruncated.
Response
The run row.
1 - 641 - 64live, test queued, running, completed, failed, canceled 1 - 64644 - 64Show child attributes
Show child attributes
Was this page helpful?