Skip to main content

abTestRename

Renames a DRAFT, RUNNING, or STOPPED test; the saved draft and generated variant names are unchanged. Request only stored fields such as id, name, and status in the response. Requires A/B testing edit access.

abTestRename(
id: Int!
name: String!
): AbTest!

Arguments​

abTestRename.id ● Int! non-null scalar​

Test id from abTestList, abTestRefList, or abTestCreate.

abTestRename.name ● String! non-null scalar​

Replacement test name; saved draft metadata and generated variant names are not changed.

Type​

AbTest object​

A/B test settings and lifecycle returned by test lists, detail queries, and create/update operations. Metrics are populated by list queries; use abTestResultCounts for goal/date-scoped results.