← Back to all apps

Overview

Tools Available16
DeveloperStatsig, LLC
CategoryDeveloper_tools

Connect to Statsig

Available Tools

Statsig provides 16 tools that can be used to interact with its services.

Create Dynamic Config

Create_Dynamic_Config
Full Description

Create a new Dynamic Config (static, targetable JSON object) in the Statsig console, including targeting rules, its ID (how we'll refer to it in-code) and its IDtype, which it'll randomize users on. CRITICAL CONSTRAINTS:

  • the return value for each variant must be set with returnValueJson5.
  • Always include DefaultValue field in the POST request

Parameters

Required
paramsobject

Create Experiment

Create_Experiment
Full Description

Create an experiment, including its ID (which is how we refer to it in-code), its groups (test/control, and return values) and the ID type it should randomize users on.

Parameters

Required
paramsobject

Create Gate

Create_Gate
Full Description

Create a new gate (feature flag), including its rules (who should pass it) its ID (how we'll refer to it in-code) and its IDtype, which it'll randomize users on.

Parameters

Required
paramsobject

Fetch

fetch
Full Description

Fetch the full document for a search result id. Use the id returned by search.

Parameters

Required
idstring

Get Dynamic Config Details By Id

Get_Dynamic_Config_Details_by_ID
Full Description

Get the details (including rules, return values, and more) for a Dynamic Config (static, targetable JSON) in the Statsig console.

Parameters

Required
paramsobject

Get Experiment Details By Id

Get_Experiment_Details_by_ID
Full Description

Get details including parameters (return values), groups, status & more of an experiment in Statsig.

Parameters

Required
paramsobject

Get Experiment Results

Get_Experiment_Results
Full Description

Get the metric results for a given experiment

Parameters

Required
paramsobject

Get Gate Details By Id

Get_Gate_Details_by_ID
Full Description

Get all details about a gate (feature flag) like its rules, IDtype, and more, from the Statsig Console.

Parameters

Required
paramsobject

Get Gate Results

Get_Gate_Results
Full Description

Get the metric results for a given gate and rule in the gate

Parameters

Required
paramsobject

Get List Of Dynamic Configs

Get_List_of_Dynamic_Configs
Full Description

List all Dynamic Configs (static, targetable JSON objects) in this Statsig project.

Parameters

Required
paramsobject

Get List Of Experiments

Get_List_of_Experiments
Full Description

List all experiments (AB Tests) in this Statsig project.

Parameters

Required
paramsobject

Get List Of Gates

Get_List_of_Gates
Full Description

List all gates (feature flags) in this Statsig project.

Parameters

Required
paramsobject

Search

search
Full Description

Search the Statsig MCP data source and return relevant results. Use the fetch tool to retrieve full documents.

Parameters

Required
querystring
Optional
limitinteger

Update Dynamic Config Entirely

Update_Dynamic_Config_Entirely
Full Description

Fully update a dynamic config, replacing everything the dynamic config currently has on the Statsig console with the data included in this POST request. Use the GET option to gather the attributes of the dynamic config, edit them, then use this tool. CRITICAL CONSTRAINTS:

  • the return value for each variant must be set with returnValueJson5.
  • Always include DefaultValue field in the POST request

Parameters

Required
paramsobject

Update Experiment Entirely

Update_Experiment_Entirely
Full Description

Fully update an experiment, replacing everything the experiment currently has on the Statsig console with the data included in this POST request. Use the GET option to gather the attributes of the experiment, edit them, then use this Tool.

Parameters

Required
paramsobject

Update Gate Entirely

Update_Gate_Entirely
Full Description

Fully update a gate, replacing everything the gate currently has on the Statsig console with the data included in this POST request. Use the GET option to gather the attributes of the gate, edit them, then use this tool.

Parameters

Required
paramsobject