GET
/
v1
/
routing
/
ab-tests
/
{id}
/
results
Get routing A/B test results
curl --request GET \
  --url http://localhost:8081/v1/routing/ab-tests/{id}/results \
  --header 'X-Org-Id: <x-org-id>' \
  --header 'X-Reevit-Key: <api-key>'
{
  "results": [
    {
      "id": "<string>",
      "test_id": "<string>",
      "variant_name": "<string>",
      "transactions": 123,
      "successful": 123,
      "failed": 123,
      "total_amount": 123,
      "avg_latency_ms": 123,
      "success_rate": 123,
      "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

Path Parameters

id
string
required

Response

OK

results
object[]