curl --request GET \
--url https://statsigapi.net/console/v1/users/teams \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "Teams listed successfully.",
"data": [
{
"name": "test",
"defaultGateMetrics": [],
"defaultExperimentPrimaryMetrics": [],
"defaultExperimentSecondaryMetrics": [],
"defaultHoldoutMetrics": [],
"changeTeamConfigs": "anyone",
"reviewApproval": "anyone",
"defaultTargetApplications": []
},
{
"name": "Console Team",
"defaultGateMetrics": [],
"defaultExperimentPrimaryMetrics": [],
"defaultExperimentSecondaryMetrics": [],
"defaultHoldoutMetrics": [],
"changeTeamConfigs": "anyone",
"reviewApproval": "anyone",
"defaultTargetApplications": []
},
{
"name": "WHN-ish Team",
"defaultGateMetrics": [
{
"name": "MA Custom Metric 2",
"type": "event_user"
},
{
"name": "MA Custom Metric 9",
"type": "event_count_custom"
},
{
"name": "MA Custom Metric 3",
"type": "event_count_custom"
}
],
"defaultExperimentPrimaryMetrics": [],
"defaultExperimentSecondaryMetrics": [
{
"name": "MA Custom Metric 2",
"type": "event_user"
},
{
"name": "MA Custom Metric 9",
"type": "event_count_custom"
},
{
"name": "MA Custom Metric 3",
"type": "event_count_custom"
}
],
"defaultHoldoutMetrics": [],
"changeTeamConfigs": "team_only",
"reviewApproval": "team_only",
"defaultTargetApplications": []
}
],
"pagination": {
"itemsPerPage": 3,
"pageNumber": 1,
"totalItems": 8,
"nextPage": "/console/v1/users/teams?page=2&limit=3",
"previousPage": null,
"all": "/console/v1/users/teams"
}
}curl --request GET \
--url https://statsigapi.net/console/v1/users/teams \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "Teams listed successfully.",
"data": [
{
"name": "test",
"defaultGateMetrics": [],
"defaultExperimentPrimaryMetrics": [],
"defaultExperimentSecondaryMetrics": [],
"defaultHoldoutMetrics": [],
"changeTeamConfigs": "anyone",
"reviewApproval": "anyone",
"defaultTargetApplications": []
},
{
"name": "Console Team",
"defaultGateMetrics": [],
"defaultExperimentPrimaryMetrics": [],
"defaultExperimentSecondaryMetrics": [],
"defaultHoldoutMetrics": [],
"changeTeamConfigs": "anyone",
"reviewApproval": "anyone",
"defaultTargetApplications": []
},
{
"name": "WHN-ish Team",
"defaultGateMetrics": [
{
"name": "MA Custom Metric 2",
"type": "event_user"
},
{
"name": "MA Custom Metric 9",
"type": "event_count_custom"
},
{
"name": "MA Custom Metric 3",
"type": "event_count_custom"
}
],
"defaultExperimentPrimaryMetrics": [],
"defaultExperimentSecondaryMetrics": [
{
"name": "MA Custom Metric 2",
"type": "event_user"
},
{
"name": "MA Custom Metric 9",
"type": "event_count_custom"
},
{
"name": "MA Custom Metric 3",
"type": "event_count_custom"
}
],
"defaultHoldoutMetrics": [],
"changeTeamConfigs": "team_only",
"reviewApproval": "team_only",
"defaultTargetApplications": []
}
],
"pagination": {
"itemsPerPage": 3,
"pageNumber": 1,
"totalItems": 8,
"nextPage": "/console/v1/users/teams?page=2&limit=3",
"previousPage": null,
"all": "/console/v1/users/teams"
}
}Optional header to respect review settings for mutation endpoints.
Get teams response
A simple string explaining the result of the operation.
Array of results returned by pagination limit.
Show child attributes
The name of the team.
The ID of the team.
Who can change team configurations: "anyone" or "team_only".
anyone, team_only Who can review and approve changes: "anyone", "team_only", or "admin_only".
anyone, team_only, admin_only Default target applications for the team.
Description of the team.
Default holdout ID for the team, if applicable.
Whether reviews are required for changes, if applicable.
Whether gate templates are required for the team, if applicable.
Whether experiment templates are required for the team, if applicable.
Whether dynamic config templates are required for the team, if applicable.
Pagination metadata for checking if there is next page for example.
Was this page helpful?