# Delx Experiment Lift

> Delx Experiment Lift is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Calculates descriptive conversion lift metrics (absolute and relative) for control vs. treatment groups in an A/B experiment

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/experiment-lift
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-experiment-lift-a95f6312
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v9jS2g1njbDCQ02gogwZE

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-experiment-lift-a95f6312 -d '<json body>'
```

Example prompt: I ran an A/B test where the control had 5000 visitors and 210 conversions, and the treatment had 5100 visitors and 265 conversions — can you calculate the conversion lift for me?

## When to prefer this

Choose this endpoint when you need a fast, stateless, deterministic computation of A/B experiment conversion lift without sending data to a third-party analytics platform. Ideal as a lightweight preflight step in agent workflows before making data-driven policy or product decisions. Prefer it over full analytics suites when you only need descriptive lift metrics from raw counts and want local-only, no-retention processing.

## Known failure modes

- Missing required fields (control_visitors, treatment_visitors, control_conversions, treatment_conversions) returns a validation error
- Zero visitors in control or treatment causes division-by-zero — endpoint may return an error or null rate
- Conversions exceeding visitors for either group is logically invalid and may produce nonsensical rates
- Non-numeric input values return a type validation error
- Payment failure via x402 returns a 402 Payment Required response before computation

## How this service works

Calculate descriptive conversion lift for control and treatment. Use it as a bounded preflight or analysis step inside an enterprise agent workflow before data, policy, integration, security, or commercial decisions reach production. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, memory-only, and has no paid upstream or input retention. Results are advisory; the caller remains responsible for authorization and produ…

## Output

Returns a deterministic JSON object containing the control conversion rate, treatment conversion rate, absolute lift (difference in conversion rates), and relative lift (percentage improvement of treatment over control), suitable for machine consumption in automated workflows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "control_visitors": {
   "type": "number",
   "description": "Input field: control_visitors."
  },
  "treatment_visitors": {
   "type": "number",
   "description": "Input field: treatment_visitors."
  },
  "control_conversions": {
   "type": "number",
   "description": "Input field: control_conversions."
  },
  "treatment_conversions": {
   "type": "number",
   "description": "Input field: treatment_conversions."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-experiment-lift/v1",
  "advisory": "Descriptive lift only; pre-register and run a statistical test before deciding.",
  "absolute_lift_points": 1.5,
  "control_rate_percent": 5,
  "relative_lift_percent": 30,
  "treatment_rate_percent": 6.5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-experiment-lift-a95f6312/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
