Skip to main content

abTestStatusCounts

Returns counts of non-deleted tests by status across the sites the caller can access. Use this instead of paging through abTestList to count tests. Passing site checks access to it but does not reliably limit the counts to that site. Requires A/B testing view access.

abTestStatusCounts(
site: Int
): AbTestStatusCountsResult!

Arguments​

abTestStatusCounts.site ● Int scalar​

Site id from sites; an inaccessible id returns an error, but the counts are not reliably limited to it.

Type​

AbTestStatusCountsResult object​

Status totals returned by abTestStatusCounts, excluding deleted tests.