curl --request GET \
--url https://statsigapi.net/console/v1/layers/{id} \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "Layer read successfully.",
"data": {
"id": "the_best_layer",
"description": "helpful summary of what this layer does",
"idType": "userID",
"lastModifierID": "4dcQUIpS8PHObBGD7HJwOx",
"lastModifiedTime": 1720733945538,
"lastModifierName": "CONSOLE API",
"lastModifierEmail": null,
"creatorID": "4dcQUIpS8PHObBGD7HJwOx",
"createdTime": 1720733942515,
"creatorName": "CONSOLE API",
"creatorEmail": null,
"targetApps": [
"Android"
],
"holdoutIDs": [
"global_holdout",
"test_holdout"
],
"tags": [],
"team": "Console Team",
"isImplicitLayer": false,
"parameters": []
}
}curl --request GET \
--url https://statsigapi.net/console/v1/layers/{id} \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "Layer read successfully.",
"data": {
"id": "the_best_layer",
"description": "helpful summary of what this layer does",
"idType": "userID",
"lastModifierID": "4dcQUIpS8PHObBGD7HJwOx",
"lastModifiedTime": 1720733945538,
"lastModifierName": "CONSOLE API",
"lastModifierEmail": null,
"creatorID": "4dcQUIpS8PHObBGD7HJwOx",
"createdTime": 1720733942515,
"creatorName": "CONSOLE API",
"creatorEmail": null,
"targetApps": [
"Android"
],
"holdoutIDs": [
"global_holdout",
"test_holdout"
],
"tags": [],
"team": "Console Team",
"isImplicitLayer": false,
"parameters": []
}
}Optional header to respect review settings for mutation endpoints.
id
Get one layer response
A simple string explaining the result of the operation.
A single result.
Show child attributes
ID
The ID type used for this layer, important for validation.
A detailed description of the layer, explaining its purpose and functionality.
1000ID of the last modifier.
Time of the last modification.
Email of the last modifier.
Name of the last modifier.
ID of the user who created the entity.
Timestamp when the entity was created.
Name of the creator.
Email of the creator.
Indicates if the layer was automatically created by Statsig during experiment creation.
An array of parameters associated with the layer, each defining specific attributes.
Show child attributes
The name of this parameter, used for identification within the layer.
The data type that this parameter returns. Allowed types include: string, boolean, number, object, and array.
string, number, boolean, object, array The default value for this parameter, which must match the specified type.
Optional name for the configuration.
Optional tags for categorization.
List of target applications that this layer is intended for.
Holdouts applied to this configuration.
Optional name for the responsible team.
Optional ID of the responsible team.
Version number
Was this page helpful?