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
  • URL: https://api.connic.co/v1/projects/{project_id}/ab-tests/variants
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

Query parameters

environment_idstring uuid required

Environment whose active deployment to read.

agent_namestring required

Base agent to list variants for.

Response

Successful Response

variantsstring[] 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 1 revision of this API.