Skip to main content
GET
/
v1
/
analytics
/
automations
Automation performance (windowed, per-automation + totals)
curl --request GET \
  --url https://brew.new/api/v1/analytics/automations \
  --header 'Authorization: Bearer <token>'
{
  "automations": [
    {
      "automationId": "auto_welcome",
      "name": "Welcome flow",
      "published": true,
      "triggerEventId": "tri_signup",
      "runs": 1200,
      "completed": 1180,
      "failed": 5,
      "sent": 1180,
      "delivered": 1150,
      "opened": 690,
      "clicked": 210,
      "bounced": 18,
      "successRate": 0.983,
      "openRate": 0.6,
      "clickRate": 0.182,
      "lastRunAt": "2026-04-08T12:34:56.789Z",
      "lastRunStatus": "completed"
    }
  ],
  "totals": {
    "runs": 1200,
    "completed": 1180,
    "failed": 5,
    "sent": 1180,
    "delivered": 1150,
    "opened": 690,
    "clicked": 210,
    "bounced": 18
  },
  "range": {
    "from": "2026-03-09T12:34:56.789Z",
    "to": "2026-04-08T12:34:56.789Z"
  }
}

Authorizations

Authorization
string
header
default:Bearer brew_your_api_key
required

Send your Brew API key as Authorization: Bearer brew_xxx.

Query Parameters

from
string<date-time>
to
string<date-time>
automationId
string
Required string length: 1 - 64
limit
integer
Required range: 1 <= x <= 100

Response

Per-automation performance + totals for the window.

automations
object[]
required
totals
object
required
range
object
required