Skip to main content
GET
/
api
/
ab-tests
/
{id}
/
results
Error
A valid request URL is required to generate request examples
{
  "testId": "<string>",
  "status": "draft",
  "totalConversations": 123,
  "variants": [
    {
      "agentConfigId": "<string>",
      "weight": 123,
      "totalConversations": 123,
      "qualified": 123,
      "disqualified": 123,
      "qualificationRate": 123,
      "avgMessagesPerConversation": 123,
      "agentConfigName": "<string>",
      "avgConversationDuration": 123
    }
  ],
  "winner": "<string>",
  "confidenceLevel": 123
}

Authorizations

Authorization
string
header
required

Bearer token using an API key (format: nl_live_* or nl_test_*).

Path Parameters

id
string
required

A/B test ID (MongoDB ObjectId)

Example:

"665a1b2c3d4e5f6a7b8c9d0e"

Response

A/B test results

Aggregated results for an A/B test.

testId
string
required

A/B test identifier

status
enum<string>
required
Available options:
draft,
running,
paused,
completed
totalConversations
integer
required

Total conversations across all variants

variants
object[]
required
winner
string | null

Agent configuration ID of the winning variant, or null if no statistically significant winner has been determined

confidenceLevel
number<float> | null

Statistical confidence level (0-1) for the winner determination, or null if not yet computed