Skip to navigation

Statsig

Connect your AI agents to Statsig.
Ready to connect

Connects with credentials the end user enters, such as an API key, so you don’t need to register an OAuth app.

Authentication: Console API key. See Magic Link for the runtime auth flow.

Sample use cases

  • Roll a feature gate from 10% to 50% after checking the experiment’s guardrail metrics.
  • List experiments running longer than 30 days and flag ones with no significant results.
  • Create a dynamic config for the new pricing page and target it to the beta segment.

Available Tools

list_audit_logs

List Statsig audit log entries, optionally filtered by action type, tags, date/time range, and sorted by a given field

get_company

Get information about the Statsig company/organization associated with the current API key

get_project

Get information about the current Statsig project associated with the API key

list_dynamic_configs

List Statsig dynamic configs with optional filtering by target app, team, or tags

get_dynamic_config

Get full details for a Statsig dynamic config by ID, including rules and default value

create_dynamic_config

Create a Statsig dynamic config

update_dynamic_config

Partially update a Statsig dynamic config’s name, description, rules, default value, tags, target apps, or team

delete_dynamic_config

Permanently delete a Statsig dynamic config by ID

enable_dynamic_config

Enable a Statsig dynamic config so its rules are evaluated

disable_dynamic_config

Disable a Statsig dynamic config so it always returns its default value

archive_dynamic_config

Archive a Statsig dynamic config, removing it from active use

list_environments

List the environments configured for this Statsig project (e.g

list_experiments

List Statsig experiments with optional filtering by status, target app, team, or tags

get_experiment

Get full details for a Statsig experiment by ID, including groups and metrics

create_experiment

Create a Statsig experiment

update_experiment

Partially update a Statsig experiment’s name, description, hypothesis, groups, metrics, tags, or team

delete_experiment

Permanently delete a Statsig experiment by ID

list_gates

List Statsig feature gates with optional filtering by unit ID type, target app, team, tags, gate type, or creator

get_gate

Get full details for a Statsig feature gate by ID, including targeting rules and status

create_gate

Create a Statsig feature gate

update_gate

Partially update a Statsig feature gate’s name, description, rules, tags, target apps, or team

delete_gate

Permanently delete a Statsig feature gate by ID

enable_gate

Enable a Statsig feature gate so its rules are evaluated

disable_gate

Disable a Statsig feature gate so it always evaluates to false

archive_gate

Archive a Statsig feature gate, removing it from active use

get_gate_overrides

Get the per-environment ID overrides configured for a Statsig feature gate

update_gate_overrides

Add per-environment ID overrides to a Statsig feature gate (e.g

list_holdouts

List Statsig holdouts (groups of users excluded from experimentation) with optional tag filtering

get_holdout

Get full details for a Statsig holdout by ID

create_holdout

Create a Statsig holdout

update_holdout

Partially update a Statsig holdout’s description

delete_holdout

Permanently delete a Statsig holdout by ID

list_keys

List Statsig Console/Server/Client API keys with optional filtering by target app or environment

get_key

Get details for a Statsig API key by its key value

create_key

Create a new Statsig API key

deactivate_key

Deactivate a Statsig API key so it can no longer authenticate requests

list_layers

List Statsig layers (containers that group mutually-exclusive experiments)

get_layer

Get full details for a Statsig layer by ID

create_layer

Create a Statsig layer

update_layer

Partially update a Statsig layer’s description or target apps

delete_layer

Permanently delete a Statsig layer by ID

list_metrics

List Statsig metrics with optional tag filtering

get_metric

Get the full definition for a Statsig metric by ID

create_metric

Create a Statsig metric

update_metric

Update a Statsig metric’s description, directionality, tags, or team

delete_metric

Permanently delete a Statsig metric by ID

list_segments

List Statsig segments (reusable named user groups referenced by gates, configs, and experiments)

get_segment

Get full details for a Statsig segment by ID

create_segment

Create a Statsig segment

delete_segment

Permanently delete a Statsig segment by ID

list_segment_ids

List the IDs currently in a static (id_list-type) Statsig segment

add_segment_ids

Add IDs to a static (id_list-type) Statsig segment (max 100000 per call)

list_tags

List Statsig tags. Use this to find valid tag names/IDs to reference when creating or filtering gates, dynamic configs, experiments, holdouts, and metrics.

get_tag

Get details for a Statsig tag by its name

create_tag

Create a Statsig tag

list_target_apps

List Statsig target apps

get_target_app

Get details for a Statsig target app by name

create_target_app

Create a Statsig target app

list_unit_id_types

List Statsig unit ID types (e.g

get_unit_id_type

Get details for a Statsig unit ID type by name

create_unit_id_type

Create a Statsig unit ID type

list_users

List members of this Statsig project

get_user

Get details for a Statsig project member by user ID

list_teams

List teams configured in this Statsig project

get_team

Get details for a Statsig team by name