GET
/
v1
/
routing-ab-tests
List routing A/B tests
curl --request GET \
  --url http://localhost:8081/v1/routing-ab-tests \
  --header 'X-Org-Id: <x-org-id>' \
  --header 'X-Reevit-Key: <api-key>'
{
  "ab_tests": [
    {
      "id": "<string>",
      "org_id": "<string>",
      "mode": "<string>",
      "name": "<string>",
      "description": "<string>",
      "status": "draft",
      "variants": [
        {
          "name": "<string>",
          "routing_rule_id": "<string>",
          "weight": 123
        }
      ],
      "traffic_percentage": 123,
      "target_currencies": [
        "<string>"
      ],
      "target_countries": [
        "<string>"
      ],
      "target_methods": [
        "<string>"
      ],
      "start_at": "2023-11-07T05:31:56Z",
      "end_at": "2023-11-07T05:31:56Z",
      "total_transactions": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

X-Reevit-Key
string
header
required

API key for server-to-server authentication

Headers

X-Org-Id
string
required

Organization identifier for multi-tenancy

Query Parameters

status
enum<string>
Available options:
draft,
running,
paused,
completed
limit
integer
default:50
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0

Response

OK

ab_tests
object[]