# Matomo Ab Testing API

**Canonical:** https://apis.io/apis/matomo/matomo-abtesting-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` | — |
| GET | `/index.php?module=API&method=AbTesting.getMetricDetails` | — |
| GET | `/index.php?module=API&method=AbTesting.addExperiment` | — |
| GET | `/index.php?module=API&method=AbTesting.updateExperiment` | — |
| GET | `/index.php?module=API&method=AbTesting.startExperiment` | — |
| GET | `/index.php?module=API&method=AbTesting.finishExperiment` | — |
| GET | `/index.php?module=API&method=AbTesting.archiveExperiment` | — |
| GET | `/index.php?module=API&method=AbTesting.getJsIncludeTemplate` | — |
| GET | `/index.php?module=API&method=AbTesting.getJsExperimentTemplate` | — |
| GET | `/index.php?module=API&method=AbTesting.getAllExperiments` | — |
| GET | `/index.php?module=API&method=AbTesting.getActiveExperiments` | — |
| GET | `/index.php?module=API&method=AbTesting.getExperimentsByStatuses` | — |
| GET | `/index.php?module=API&method=AbTesting.getExperiment` | — |
| GET | `/index.php?module=API&method=AbTesting.deleteExperiment` | — |
| GET | `/index.php?module=API&method=AbTesting.getAvailableStatuses` | — |
| GET | `/index.php?module=API&method=AbTesting.getAvailableSuccessMetrics` | — |
| GET | `/index.php?module=API&method=AbTesting.getAvailableTargetAttributes` | — |

## Machine-readable artifacts (5)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/matomo/refs/heads/main/openapi/matomo-abtesting-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 Activity Log API](https://apis.io/apis/matomo/matomo-activitylog-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 API Reference API](https://apis.io/apis/matomo/matomo-apireference-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/)

## Tags

A/B Testing

---

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