Deliverability API · Alpha / unstable
Read deliverability analytics
The Deliverability API exposes the analytics behind the builders.ac Deliverability view. It is read-only and account-scoped: a credential can see only the domains and domain groups owned by its builders.ac account.
- Base URL
https://api.builders.ac/api/deliverability/v1alpha1- API Key
age1…The same credential used by Mailbox v1beta1 and Provisioning.
First request
Section titled “First request”Create an API credential, then send the API Key as a bearer token. The API Secret is not needed.
export BASE=https://api.builders.ac/api/deliverability/v1alpha1export KEY=age1_REPLACE_WITH_YOUR_API_KEY
curl --fail-with-body -sS "$BASE/summary?range=7d" \-H "Authorization: Bearer $KEY"Using an assistant? Connect with MCP; the same read operations are tools.
Resources
Section titled “Resources”| Request | Returns |
|---|---|
GET /summary |
Traffic totals plus per-domain counts and percentages |
GET /timeseries |
Hourly or daily traffic points for the selected range |
GET /bounces |
Hard, soft, and pending bounce totals, ESP buckets, trend, and per-domain rates |
GET /inboxes/bounces |
Paginated per-inbox Microsoft 365 failure counts and sanitized status codes |
GET /bounce-causes |
Delivery-failure cause catalogue and suggested review actions |
GET /esp-distribution |
Selected traffic classifications grouped into Microsoft, Google, and other providers |
GET /checks |
Check catalogue, 28-day status history, and current blacklist overview |
GET /checks/{check}/results |
Per-domain result details for one returned check and date |
The complete request and response schemas are in the Deliverability reference.
Filters and ranges
Section titled “Filters and ranges”Traffic endpoints accept these shared query parameters:
| Parameter | Values | Default |
|---|---|---|
range |
1h, 8h, 24h, 3d, 7d, 14d |
7d |
domain_group_id |
One account-owned grp_… TypeID |
all domain groups |
domain_id |
One account-owned dom_… TypeID |
all domains |
sender_id is no longer supported. A request that sends it gets a 422
validation_error; filter by domain_group_id or domain_id instead. Domain rows no longer
include sender_id or sender_name; use domain_group_id (and domain_group_name on check
results).
/checks and /checks/{check}/results accept the domain group and domain filters, but their
history remains the fixed 28-day check window. Unknown or account-external filter IDs do
not broaden a query.
For example:
curl -G "$BASE/timeseries" \-H "Authorization: Bearer $KEY" \--data-urlencode 'range=14d' \--data-urlencode "domain_id=$DOMAIN_ID"Where returned, meta describes the time window and data availability. Treat null metrics
as unavailable, not zero. sender_id is not supported; use domain_group_id or domain_id.
Traffic and bounces
Section titled “Traffic and bounces”Use /summary for KPI cards and per-domain comparison. Use /timeseries when you need
the trend itself. The metrics distinguish sent, received, outreach, warmup,
reply, autoresponse, other, and system traffic.
/bounces reports absolute counts even when a trustworthy rate cannot be calculated. If
rate is null, inspect rate_unavailable; if sent_incomplete is true, do not compute
your own rate from the returned denominator.
Diagnose an individual inbox
Section titled “Diagnose an individual inbox”Use /inboxes/bounces to read observed outbound failed-recipient deliveries
for each inbox’s current Microsoft 365 placement. A message with several failed
recipients can count several times. This is trace-only data and can differ from
/bounces, which combines sources. Previous placements are excluded after an
infrastructure replacement.
curl -G "$BASE/inboxes/bounces" \-H "Authorization: Bearer $KEY" \--data-urlencode 'range=7d' \--data-urlencode "inbox_id=$INBOX_ID"Each row includes failures.hard, failures.soft, failures.pending, and
causes with a sanitized enhanced_code and count. Read /bounce-causes for the
meaning of each cause and a suggested next step. A generic 550 does not establish
an invalid recipient. Codes provide diagnostic evidence, not a guaranteed root cause
or an instruction to replace an inbox.
The endpoint accepts the shared range and domain filters plus inbox_id and
limit (default 25, maximum 100). Follow next_cursor using starting_after with
the same filters until has_more is false. Cursors expire after two hours and
keep the requested time window fixed. Late-arriving records can still update counts.
Read the availability fields
Section titled “Read the availability fields”supported: false: no current account-owned Microsoft 365 placement is available.last_trace_run_at: null: no trace run is recorded. Even a recent run is not a guarantee that all failure details have arrived.meta.complete: currently always false. Zero observed failures does not establish health.meta.retained_since: the configured retention boundary; older records may be absent.codes_truncated: true: extra distinct codes were collapsed into cause totals; counts remain intact.
These diagnostics expose no sending denominator or per-inbox percentage. Recipient addresses, message content, raw errors, IP addresses and tenant IDs are omitted.
Compare isolation groups
Section titled “Compare isolation groups”Inbox reads include a nullable isolation_group. Equal values within one owning
account indicate inboxes on the same current Microsoft 365 tenant. Use this to identify
a shared failure boundary, not to decide whether an inbox is healthy.
Treat the value as opaque and read-only. It can change when placement or ownership changes, so refresh inventory before acting. Null means unknown. Different groups do not guarantee independent upstream infrastructure; groups cannot be compared across accounts.
ESP distribution
Section titled “ESP distribution”Repeat the bracketed metrics[] query parameter to request up to eight metrics. It
defaults to sent.
curl -G "$BASE/esp-distribution" \-H "Authorization: Bearer $KEY" \--data-urlencode 'range=7d' \--data-urlencode 'metrics[]=sent' \--data-urlencode 'metrics[]=reply'Each requested metric is split into microsoft, google, and others. Read
availability before assuming every metric is present. When gated is true, coverage is
not sufficient to publish a trustworthy composition; coverage provides the measured
ratio and threshold.
Domain checks
Section titled “Domain checks”Domain checks are a two-step resource rather than traffic events:
- Call
GET /checksto obtain the public check catalogue, each day in the 28-day history, aggregate statuses, and current blacklist overview. - Choose a
check.idand ahistory[].datereturned by that response. - Call
GET /checks/{check}/results?date=YYYY-MM-DDto retrieve the domain-level verdicts, reasons, observed value, and check time for that cell.
Do not invent check IDs. Blacklist checks can use dynamic IDs such as
blacklist:<zone>, and the detail endpoint accepts only an ID and date present in the
overview response.
curl -s "$BASE/checks" \-H "Authorization: Bearer $KEY" > checks.json
CHECK_ID=$(jq -r '.checks[0].id' checks.json)DATE=$(jq -r '.history[-1].date' checks.json)
curl -G "$BASE/checks/$CHECK_ID/results" \-H "Authorization: Bearer $KEY" \--data-urlencode "date=$DATE"Possible check statuses are healthy, warning, error, and not-tested. Blacklist
overview statuses are clear, listed, and unknown.
Errors and retries
Section titled “Errors and retries”Errors use RFC 9457 problem details. Branch on the machine-readable code, retain the
correlation_id for support, and retry only when retryable is true. A 429 includes
retry guidance; wait before trying again.
The public problem catalogue is available at GET /problems, and the OpenAPI contract at
GET /openapi.json.