Authorizations
Headers
Optional header to respect review settings for mutation endpoints.
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
Was this page helpful?