Skip to main content

abTestList

Returns a cursor-paginated page of non-deleted tests with all-time results for each test's primary goal. Without order, tests come newest id first; pass nextPageCursor back as cursor for the next page. Use abTestRefList for lightweight selectors and abTestResultCounts for goal- or date-scoped results. Requires A/B testing view access.

abTestList(
site: Int
cursor: String
limit: Int
search: String
status: AbTestStatus
order: AbTestListOrder
): AbTestsListMeta!

Arguments​

abTestList.site ● Int scalar​

Site id from sites; omit to include all accessible sites.

abTestList.cursor ● String scalar​

Opaque nextPageCursor from this list query; omit for the first page.

abTestList.limit ● Int scalar​

Number of tests to return, at least 1; defaults to 10, with no maximum enforced.

Substring matched against test name, page URL, or test id; omit for no search filter.

abTestList.status ● AbTestStatus enum​

Filter by DRAFT, RUNNING, or STOPPED; omitted, null, or DELETED leaves statuses unfiltered.

abTestList.order ● AbTestListOrder input​

Sort settings; omitted sorts by id descending, while an empty object uses creation time descending.

Type​

AbTestsListMeta object​

Cursor page returned by abTestList and abTestDashboardList, with continuation metadata.