Skip to main content
GET
Get domain health

Authorizations

Authorization
string
header
default:Bearer brew_your_api_key
required

Send your Brew API key as Authorization: Bearer brew_xxx.

Headers

X-Brand-Id
string

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.

Required string length: 1 - 64

Path Parameters

domainId
string
required

Domain id (opaque Convex document id) returned by POST /v1/domains and listed by GET /v1/domains.

Required string length: 1 - 64
Example:

"kx7bkh53hasmfeh5kd7sqgykt187g8ww"

Query Parameters

include
string

Expansions: scoreHistory attaches up to 50 saved score snapshots, newest first; scoreRuns the last 5 automated domain score runs.

Response

The aggregate health report.

domainId
string
required
Required string length: 1 - 64
name
string
required
Required string length: 1 - 253
status
enum<string>
required
Available options:
not_started,
pending,
verified,
failed,
temporary_failure,
partially_verified,
partially_failed
sendable
boolean
required
verdict
enum<string>
required
Available options:
healthy,
at_risk,
critical
readiness
enum<string>
required
Available options:
ready,
ready_with_warnings,
not_ready,
checking,
unknown
score
object
required
authentication
object
required
tracking
object
required
warmup
object[]
required
dailyVolume
object[]
required

Deprecated — always empty. Gradual sends no longer share a per-domain daily budget.

domainActivity
object | null
required

Campaign and automation activity, excluding placement seeds. A bounded sample, not a time-window total. Null when no sampled recipients were sent.

orgReputation
object | null
required
recentPlacementTests
object[]
required
signals
object[]
required
checkedAt
string<date-time>
required
scoreHistory
object[]

With include=scoreHistory: up to 50 saved score snapshots, newest first. Snapshots are saved when a placement test completes, the domain is verified, or a score run finishes. Only snapshots saved under this brand count, searched among the domain's newest 500, so a domain that moved between brands can show fewer.

Maximum array length: 50
scoreRuns
object[]

With include=scoreRuns: the last 5 automated domain score runs (the 5-variant seed check), newest first.

Maximum array length: 5