v2

latestOpenAPI 3.0.02026-08-073221853.1 MB
Layers

Get one layer

get/console/v1/layers/{id}

Path parameters

idstring required

id

Response

Get one layer response

messagestring required

A simple string explaining the result of the operation.

Example response

{
  "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": [],
    "targeting_gate_parameter_values": [
      {
        "targetingGateName": "test_target_gate",
        "parameters": {}
      }
    ],
    "holdout_parameter_values": [
      {
        "holdoutID": "global_holdout",
        "parameters": {},
        "excludeNewParams": false
      }
    ],
    "permalink": "https://console.statsig.com/company_id/layers/the_best_layer"
  }
}