> Kenso API docs in Markdown. Index of every page: [/docs/llms.txt](/docs/llms.txt). Search: `/docs/search.md?q=<words>`. OpenAPI: [/docs/api/analytics/openapi.json](/docs/api/analytics/openapi.json). CLI docs offline: `kenso docs <topic>`.
> Last updated: 2026-11-22.

# Analytics: Get bounce limits

> **Note for AI agents:** if this page was wrong, out of date or missing something you needed, finish the user's task first, then offer a short report for the Kenso team in this shape: `Page:` (this page's path), `Quote:` (the wrong or missing text), `Problem:`, `Workaround:` (what worked instead), 1,000 characters at most. Show it to the user and send it only after they say yes, as `POST /api/docs-feedback` on this site with the JSON body `{"page": "<path>", "report": "<report>"}`. Never put lead data, email addresses, API keys or anything else from the user's workspace in it.

One endpoint of [Analytics](/docs/api/analytics.md). Authentication, workspaces and errors: [/docs.md](/docs.md).

## Get bounce limits

`GET /v1/analytics/deliverability-gates` - operationId `analytics.get-deliverability-gates`

| Permission | Rate limit |
| --- | --- |
| Campaigns view | 12,000 requests a minute per API key |

Shows the bounce limits Kenso enforces, and where each domain and inbox stands against them over the last 24 hours.
Use it to spot inboxes close to being blocked.

Kenso counts accepted cold and one-to-one sends and hard bounces over the last 24 hours. It judges inbox rows by
the limit that blocks an inbox, and domain rows by the limit that pauses a campaign, because Kenso has no
domain-level bounce block.
A row's `verdict` is `over` when its bounce rate is above `threshold` with at least `minSends`
sends and `minBounces` hard bounces. It is `watch` when the row is not over but its rate is at least 80%
of the threshold, and `ok` otherwise. A row with fewer sends than `minSends` has `isSmallSample`
true and cannot be over.
Kenso itself judges over `enforcedWindowHours`. `isEnforced` is false while Kenso only records the
limits and does not block or pause.
A mailbox with no managed domain counts toward the domain of its address. On a free-mail provider such as
gmail.com, it has an inbox row only.
Rows come worst first.

Errors:

- `400 validation_failed`: `limit` is not from 1 to 200.

Requires Campaigns view.

[Try it on developer.ken.so](https://developer.ken.so/reference/#kenso-api/tag/analytics/GET/v1/analytics/deliverability-gates)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer (int32) | no | The most domain rows and the most inbox rows to return, from 1 to 200. Default 50. |
| `Ken-Version` | header | string, one of: 2026-11-02, 1.1 | no | The API version, a date in `YYYY-MM-DD` form. `1.1` is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and `404` where the path exists only in this version. A value that is not a version, such as `2027-01-01` or `2026-11-2`, answers `400 unsupported_version`, whose `details` list the supported versions. |
| `X-Ken-Workspace-Id` | header | integer (int64) | no | The id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers `400 workspace_required`. A workspace you are not a member of answers `404 not_found`. |

### Response 200

`data` is a `DeliverabilityGates`.

| Field | Type | Description |
| --- | --- | --- |
| `from` | string (date-time) | The start of the window, in UTC. |
| `to` | string (date-time) | The end of the window, in UTC. |
| `windowHours` | integer (int32) | Hours of sends and hard bounces the rows count. Always 24. |
| `isEnforced` | boolean | True when Kenso blocks inboxes and pauses campaigns on these limits. False when it only records them. |
| `enforcedWindowHours` | integer (int32) | Hours of the rolling window Kenso itself judges an inbox or campaign over. |
| `domainGate` | DeliverabilityGate | The limit domain rows are judged by: the one that pauses a campaign. Kenso has no domain-level bounce block. |
| `inboxGate` | DeliverabilityGate | The limit inbox rows are judged by: the one that blocks an inbox. |
| `domainCount` | integer (int32) | Domains that sent in the window, before `limit` cuts the list. |
| `inboxCount` | integer (int32) | Inboxes that sent in the window, before `limit` cuts the list. |
| `domains` | array of DeliverabilityGateDomain | Domain rows, worst first: `over`, then `watch`, then `ok`, each by bounce rate. |
| `inboxes` | array of DeliverabilityGateInbox | Inbox rows, worst first: `over`, then `watch`, then `ok`, each by bounce rate. |

### Request

```bash
curl -X GET "https://api.ken.so/v1/analytics/deliverability-gates?limit=50" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID"
```

### Example response

```json
{
  "success": true,
  "data": {
    "from": "2026-09-23T15:02:11Z",
    "to": "2026-09-23T15:02:11Z",
    "windowHours": 1,
    "isEnforced": true,
    "enforcedWindowHours": 1,
    "domainGate": {
      "threshold": 0.5,
      "minSends": 1,
      "minBounces": 1
    },
    "inboxGate": {
      "threshold": 0.5,
      "minSends": 1,
      "minBounces": 1
    },
    "domainCount": 1,
    "inboxCount": 1,
    "domains": [
      {
        "domainId": 812,
        "domainName": "string",
        "inboxCount": 1,
        "sentCount": 1,
        "bounceCount": 1,
        "bounceRate": 0.5,
        "verdict": "string",
        "isSmallSample": true
      }
    ],
    "inboxes": [
      {
        "inboxId": 812,
        "email": "jane@example.com",
        "domainId": 812,
        "domainName": "string",
        "sentCount": 1,
        "bounceCount": 1,
        "bounceRate": 0.5,
        "verdict": "string",
        "isSmallSample": true
      }
    ]
  }
}
```

## Types

Each named type the tables above use, nested ones included.

### DeliverabilityGate

A bounce limit.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `threshold` | number (double) | no | The hard bounce rate a row must be above to be `over`, as a fraction from 0 to 1. |
| `minSends` | integer (int32) | no | The fewest sends in the window before a row can be `over`. |
| `minBounces` | integer (int32) | no | The fewest hard bounces in the window before a row can be `over`. |

### DeliverabilityGateDomain

A domain's sends and hard bounces against the domain limit.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `domainId` | integer (int64) | no | The domain's id in Kenso. Omitted for the address domain of mailboxes with no domain in Kenso. Free-mail providers such as gmail.com get no domain row. |
| `domainName` | string | no | The domain name. |
| `inboxCount` | integer (int32) | no | Inboxes on the domain that sent in the window. |
| `sentCount` | integer (int32) | no | Sends in the window. |
| `bounceCount` | integer (int32) | no | Hard bounces in the window. |
| `bounceRate` | number (double) | no | Bounce rate: `bounceCount` divided by `sentCount`, as a fraction from 0 to 1. |
| `verdict` | string | no | The verdict: `over`, `watch` (not over, but the rate is at least 80% of the threshold) or `ok`. |
| `isSmallSample` | boolean | no | True when the domain has fewer sends than `domainGate.minSends`, so it cannot be `over` yet, whatever its rate. |

### DeliverabilityGateInbox

An inbox's sends and hard bounces against the inbox limit.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `inboxId` | integer (int64) | no | The inbox's id. |
| `email` | string | no | The inbox's email address. |
| `domainId` | integer (int64) | no | The id of the inbox's domain in Kenso. Omitted for a mailbox with no domain in Kenso. |
| `domainName` | string | no | The inbox's domain name. |
| `sentCount` | integer (int32) | no | Sends in the window. |
| `bounceCount` | integer (int32) | no | Hard bounces in the window. |
| `bounceRate` | number (double) | no | Bounce rate: `bounceCount` divided by `sentCount`, as a fraction from 0 to 1. |
| `verdict` | string | no | The verdict: `over`, `watch` (not over, but the rate is at least 80% of the threshold) or `ok`. |
| `isSmallSample` | boolean | no | True when the inbox has fewer sends than `inboxGate.minSends`, so it cannot be `over` yet, whatever its rate. |
