Amplitude · JSON Structure

Dashboard Rest Api Segmentation Result Structure

SegmentationResult schema from Amplitude Dashboard REST API

Type: object Properties: 1
A/B TestingAnalyticsExperimentationFeature FlagsProduct AnalyticsUser Behavior

SegmentationResult is a JSON Structure definition published by Amplitude, describing 1 property. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

data

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amplitude/refs/heads/main/json-structure/dashboard-rest-api-segmentation-result-structure.json",
  "name": "SegmentationResult",
  "description": "SegmentationResult schema from Amplitude Dashboard REST API",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "series": {
          "type": "array",
          "description": "An array of data series, one per segment or group-by value.",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "seriesLabels": {
          "type": "array",
          "description": "Labels corresponding to each series.",
          "items": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "xValues": {
          "type": "array",
          "description": "The x-axis values representing time periods.",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}