cURL
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
Was this page helpful?