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

statsig Experiments API

Manage A/B test experiments including creation, configuration, starting, resetting, and analysis.

statsig Experiments API is one of 17 APIs that Statsig publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Experiments. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 8 operations across 5 paths, and defines 6 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 2 base URLs: https://statsigapi.net/console/v1, https://api.statsig.com/v1.

8 operations 5 paths 6 schemas 1 DELETE2 GET1 PATCH2 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.statsig.com
Authentication
API Key, API Key
Terms of Service
Resource Areas
1

Authentication & Security 2

statsig Experiments API declares 2 security schemes for authenticating requests. An API key is passed in the header as STATSIG-API-KEY (consoleApiKey). An API key is passed in the header as statsig-api-key (statsigApiKey).

  • consoleApiKey — Console API Key created in Project Settings API Keys tab. Required for all Console API requests.
  • statsigApiKey — API key for authentication. Use a Server Secret Key for secure server-side requests or a Client-SDK Key for client-side applications.

Paths & Operations 8

Across 5 paths, the API surfaces 8 operations — 1 DELETE, 2 GET, 1 PATCH, 2 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Experiments 8

Manage A/B test experiments including creation, configuration, starting, resetting, and analysis.

GET
/experiments
List all experiments
listExperiments 3 params → 200401
POST
/experiments
Create an experiment
createExperiment 1 param body → 201400401
GET
/experiments/{id}
Get an experiment
getExperiment 2 params → 200401404
PATCH
/experiments/{id}
Partially update an experiment
partiallyUpdateExperiment 2 params body → 200400401404
DELETE
/experiments/{id}
Delete an experiment
deleteExperiment 2 params → 200401404
PUT
/experiments/{id}/start
Start an experiment
startExperiment 2 params → 200401404
PUT
/experiments/{id}/reset
Reset an experiment
resetExperiment 2 params → 200401404
POST
/get_experiment
Get an experiment configuration
getExperiment body → 200401

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are Experiment (12 properties), StatsigUser (10 properties), ExperimentCreate (8 properties), ExperimentUpdate (4 properties). Each schema is shown below with its type and property counts.

ExperimentCreate
object
Request body for creating a new experiment.
8 properties 1 required
ExperimentGroup
object
An experiment group defining parameter values for a set of users.
3 properties
Experiment
object
An A/B test experiment with defined groups, parameters, and analysis configuration.
12 properties
Pagination
object
Pagination metadata for list responses.
4 properties
ExperimentUpdate
object
Request body for partially updating an experiment.
4 properties
StatsigUser
object
The user object representing the end user being evaluated. At minimum, a userID should be provided. Additional properties enable more sophisticated targeting.
10 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

statsig-experiments-api-openapi.yml Raw ↑

Other APIs Statsig publishes across the network.

Statsig Events API
statsig Audit Logs API
statsig Autotunes API
statsig Configuration API
statsig Dynamic Configs API
statsig Feature Gates API
statsig Gates API
statsig Holdouts API
statsig Initialization API
statsig Keys API
statsig Layers API
statsig Metrics API
Where this information came from

This is an independent, third-party profile of statsig Experiments 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.