Sign inGet Started

Get the choices available for a new seed test

GET
/v1/email/inbox-insights/seed-tests/configuration
// Requires Insights preview access for the organization.
let sendingDomain: string | undefined;
for await (const domain of bird.email.inboxInsights.domains.list({ search: "mail.example.com" })) {
  if (domain.domain === "mail.example.com") { sendingDomain = domain.domain; break; }
}
if (!sendingDomain) throw new Error("Verify mail.example.com in this workspace first");
const report = await bird.email.inboxInsights.seedTests.configuration.get({ sending_domain: sendingDomain });
console.log(report);
Response200
{
  "resource": "seed-test-configuration",
  "domain": "mail.acme.com",
  "list_types": [
    {
      "value": "private",
      "available": true
    }
  ],
  "regions": [
    {
      "value": "North America - US"
    }
  ],
  "engagement_profiles": [
    {
      "value": "all",
      "available": true
    }
  ]
}

Returns what a new seed test can be configured with for a sending domain: the seed pools the account can use, the regions seeds can be placed in, and the engagement behaviours the seeds can simulate.

A seed pool flagged unavailable is one the account has not been provisioned for, and no self-serve route enables one, so leave it out of the choices you offer rather than showing it unpickable. This is reference data that changes only when provisioning does, so it suits being fetched when a configuration form opens rather than on every page view.

Scoped API keys, OAuth and service accounts require organization preview access.

Query Parameters

sending_domainstring

The sending domain a test would be registered for: one of the workspace's verified sending domains, exactly as it appears there. A domain that is not verified in this workspace answers not-found.

Response Payload

resource
string
required

Which resource this response is, echoed for self-description.

domain
string
required

The sending domain these choices apply to.

list_types
array of object
required

The seed pools, each flagged with whether the account can use it.

Show child attributes
regions
array of object
required

The regions seeds can be placed in. Objects rather than bare strings, to match the two lists beside it: the measurement reports no availability for a region today, and an object can carry one later without a second array.

Show child attributes
engagement_profiles
array of object
required

The engagement behaviours the seeds can simulate, each flagged with whether the account can use it.

Show child attributes
engagement_profiles.value
string
required

The value to send when registering a test against this behaviour.

Possible values (may grow over time): all, engaging, non_engaging

engagement_profiles.available
boolean
required

Whether this behaviour is provisioned for the account. As with the seed pools, an unavailable behaviour is one the account has not been set up for rather than one its plan forbids, so leave it out of the choices you offer rather than showing it unpickable.

Continue with the documentation, guides and examples for this topic.