ab-tests

List A/B test variants

List the test variants of an agent in the environment's active deployment.

A variant is an agent named <agent_name>-test-<variant>. Pass the variant name as test_name when creating a test.

Required permission: ab_tests.view.

get/v1/projects/{project_id}/ab-tests/variants

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

Query parameters

environment_id, string uuid required

Environment whose active deployment to read.

agent_name, string required

Base agent to list variants for.

Response

Successful Response

PublicABTestVariantsResponse required
variants, string[] required

Variants in the environment's active deployment, from agent names of the form <agent>-test-<variant>.

Changes

No recorded changes to this operation across all 17 revisions of this API.