# Matomo Ab Testing API

**Canonical:** https://apis.io/apis/matomo/matomo-ab-testing-api/  
**Provider:** Matomo — https://apis.io/providers/matomo/  
**Base URL:** https://{matomo_host}/index.php  
**Documentation:** https://developer.matomo.org/api-reference/reporting-api

Matomo Ab Testing API is one of 61 APIs that [Matomo](https://apis.io/providers/matomo/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include A/B Testing. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

Exposes the AbTesting API for managing experiments, embedding experiment scripts, and reading experiment reports.

## Operations (17)

| Method | Path | Summary |
|---|---|---|
| GET | `/index.php?module=API&method=AbTesting.getMetricsOverview` | Ab testing get metrics overview |
| GET | `/index.php?module=API&method=AbTesting.getMetricDetails` | Ab testing get metric details |
| GET | `/index.php?module=API&method=AbTesting.addExperiment` | Ab testing add experiment |
| GET | `/index.php?module=API&method=AbTesting.updateExperiment` | Ab testing update experiment |
| GET | `/index.php?module=API&method=AbTesting.startExperiment` | Ab testing start experiment |
| GET | `/index.php?module=API&method=AbTesting.finishExperiment` | Ab testing finish experiment |
| GET | `/index.php?module=API&method=AbTesting.archiveExperiment` | Ab testing archive experiment |
| GET | `/index.php?module=API&method=AbTesting.getJsIncludeTemplate` | Ab testing get js include template |
| GET | `/index.php?module=API&method=AbTesting.getJsExperimentTemplate` | Ab testing get js experiment template |
| GET | `/index.php?module=API&method=AbTesting.getAllExperiments` | Ab testing get all experiments |
| GET | `/index.php?module=API&method=AbTesting.getActiveExperiments` | Ab testing get active experiments |
| GET | `/index.php?module=API&method=AbTesting.getExperimentsByStatuses` | Ab testing get experiments by statuses |
| GET | `/index.php?module=API&method=AbTesting.getExperiment` | Ab testing get experiment |
| GET | `/index.php?module=API&method=AbTesting.deleteExperiment` | Ab testing delete experiment |
| GET | `/index.php?module=API&method=AbTesting.getAvailableStatuses` | Ab testing get available statuses |
| GET | `/index.php?module=API&method=AbTesting.getAvailableSuccessMetrics` | Ab testing get available success metrics |
| GET | `/index.php?module=API&method=AbTesting.getAvailableTargetAttributes` | Ab testing get available target attributes |

## Machine-readable artifacts (5)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/matomo/refs/heads/main/openapi/matomo-ab-testing-api-openapi.yml
- **Documentation** — https://developer.matomo.org/api-reference/reporting-api
- **Documentation** — https://developer.matomo.org/api-reference/reporting-api#Live
- **Documentation** — https://developer.matomo.org/api-reference/reporting-api#Goals
- **Documentation** — https://developer.matomo.org/api-reference/reporting-api-segmentation

## Other Matomo APIs (12)

- [Matomo Reporting API (index.php entrypoint)](https://apis.io/apis/matomo/matomo-index-php-api/)
- [Matomo Tracking API (matomo.php entrypoint)](https://apis.io/apis/matomo/matomo-matomo-php-api/)
- [Matomo Actions API](https://apis.io/apis/matomo/matomo-actions-api/)
- [Matomo Advertising Conversion Export API](https://apis.io/apis/matomo/matomo-advertisingconversionexport-api/)
- [Matomo Annotations API](https://apis.io/apis/matomo/matomo-annotations-api/)
- [Matomo API](https://apis.io/apis/matomo/matomo-api-api/)
- [Matomo Bandwidth API](https://apis.io/apis/matomo/matomo-bandwidth-api/)
- [Matomo Cohorts API](https://apis.io/apis/matomo/matomo-cohorts-api/)
- [Matomo Contents API](https://apis.io/apis/matomo/matomo-contents-api/)
- [Matomo Core Admin Home API](https://apis.io/apis/matomo/matomo-coreadminhome-api/)
- [Matomo Crash Analytics API](https://apis.io/apis/matomo/matomo-crashanalytics-api/)
- [Matomo Custom Alerts API](https://apis.io/apis/matomo/matomo-customalerts-api/)

## Tags

A/B Testing

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/matomo/matomo-ab-testing-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/matomo/.
