How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Matomo Ab Testing API

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

Matomo Ab Testing API is one of 60 APIs that Matomo publishes on the 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.

This API exposes 17 operations across 17 paths, and defines 4 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://demo-proxy.innocraft.cloud/.

17 operations 17 paths 4 schemas 17 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://{matomo_host}/index.php
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Matomo Ab Testing API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (MatomoToken). By default, every request must be authenticated.

  • MatomoToken — Paste your token generated from Personal Security. Swagger will send it as a Bearer token.

Paths & Operations 17

Across 17 paths, the API surfaces 17 operations — 17 GET. Each is listed below with its method, path, parameters, and response codes.

Ab Testing 17

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

GET
/index.php?module=API&method=AbTesting.getMetricsOverview
Ab testing get metrics overview
AbTesting.getMetricsOverview 6 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.getMetricDetails
Ab testing get metric details
AbTesting.getMetricDetails 7 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.addExperiment
Ab testing add experiment
AbTesting.addExperiment 8 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.updateExperiment
Ab testing update experiment
AbTesting.updateExperiment 17 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.startExperiment
Ab testing start experiment
AbTesting.startExperiment 3 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.finishExperiment
Ab testing finish experiment
AbTesting.finishExperiment 3 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.archiveExperiment
Ab testing archive experiment
AbTesting.archiveExperiment 3 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.getJsIncludeTemplate
Ab testing get js include template
AbTesting.getJsIncludeTemplate 1 param → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.getJsExperimentTemplate
Ab testing get js experiment template
AbTesting.getJsExperimentTemplate 3 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.getAllExperiments
Ab testing get all experiments
AbTesting.getAllExperiments 2 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.getActiveExperiments
Ab testing get active experiments
AbTesting.getActiveExperiments 2 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.getExperimentsByStatuses
Ab testing get experiments by statuses
AbTesting.getExperimentsByStatuses 3 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.getExperiment
Ab testing get experiment
AbTesting.getExperiment 3 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.deleteExperiment
Ab testing delete experiment
AbTesting.deleteExperiment 3 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.getAvailableStatuses
Ab testing get available statuses
AbTesting.getAvailableStatuses 2 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.getAvailableSuccessMetrics
Ab testing get available success metrics
AbTesting.getAvailableSuccessMetrics 2 params → 200400401403404500default
GET
/index.php?module=API&method=AbTesting.getAvailableTargetAttributes
Ab testing get available target attributes
AbTesting.getAvailableTargetAttributes 1 param → 200400401403404500default

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Error (3 properties), GenericSuccess (3 properties), ErrorXml (1 property), GenericSuccessXml (1 property). Each schema is shown below with its type and property counts.

GenericSuccess
object
Generic Matomo success payload.
3 properties 2 required
GenericSuccessXml
object
Generic Matomo success payload in XML.
1 property 1 required
ErrorXml
object
Generic Matomo error payload in XML.
1 property
Error
object
Generic Matomo error payload.
3 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

matomo-ab-testing-api-openapi.yml Raw ↑

Other APIs Matomo publishes across the network.

Matomo Reporting API (index.php entrypoint)
Matomo Tracking API (matomo.php entrypoint)
Matomo Actions API
Matomo Advertising Conversion Export API
Matomo Annotations API
Matomo Bandwidth API
Matomo Cohorts API
Matomo Contents API
Matomo Core Admin Home API
Matomo Crash Analytics API
Matomo Custom Alerts API
Matomo Custom Dimensions API
Where this information came from

This is an independent, third-party profile of Matomo Ab Testing API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.