> ## Documentation Index
> Fetch the complete documentation index at: https://confidence.spotify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List AnalysisResult



## OpenAPI

````yaml /api/stats/api/analysis-result.openapi.json get /v2/workflows/{workflow}/instances/{instance}/analysisResults
openapi: 3.1.0
info:
  title: Confidence Analysis-result API
  version: 1.0.0
  description: API documentation for analysis-result
servers: []
security: []
paths:
  /v2/workflows/{workflow}/instances/{instance}/analysisResults:
    get:
      summary: List AnalysisResult
      operationId: AnalysisResult.list
      parameters:
        - name: workflow
          in: path
          required: true
          schema:
            type: string
        - name: instance
          in: path
          required: true
          schema:
            type: string
        - name: pageSize
          in: query
          required: false
          description: The maximum number of items to return.
          schema:
            type: object
        - name: pageToken
          in: query
          required: false
          description: >-
            The next_page_token value returned from a previous List request, if
            any.
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/confidence.stats.v2.analysis.ListAnalysisResultsResponse
      security:
        - admin: []
      servers:
        - url: https://stats.eu.confidence.dev
        - url: https://stats.us.confidence.dev
        - url: https://stats.confidence.dev
components:
  schemas:
    confidence.stats.v2.analysis.ListAnalysisResultsResponse:
      title: ListAnalysisResultsResponse
      type: object
      description: ''
      properties:
        analysisResults:
          type: array
          items:
            $ref: '#/components/schemas/confidence.stats.v2.analysis.AnalysisResult'
          description: >-
            [AnalysisResult](/api-reference/schemas/analysisresult): The list of
            analysis results.
        nextPageToken:
          type: string
          description: A token to retrieve next page of results.
    confidence.stats.v2.analysis.AnalysisResult:
      title: AnalysisResult
      type: object
      description: The result of a statistical analysis for an experiment instance.
      properties:
        name:
          type: string
          description: Resource name of this analysis result.
        exposureFilter:
          type: string
          description: Name of the exposure filter applied to this analysis result.
        annotations:
          type: array
          items:
            type: object
            properties:
              context:
                type: array
                items:
                  type: object
                  properties:
                    key:
                      type: string
                      enum:
                        - STATS_ANNOTATION_CONTEXT_UNSPECIFIED
                        - STATS_ANNOTATION_CONTEXT_HYPOTHESIS
                        - STATS_ANNOTATION_CONTEXT_SEGMENT
                        - STATS_ANNOTATION_CONTEXT_GROUP
                        - STATS_ANNOTATION_CONTEXT_COMPARISON
                        - STATS_ANNOTATION_CONTEXT_UNKNOWN
                      description: >-
                        The context category (e.g., hypothesis, segment, group,
                        comparison).
                    value:
                      type: string
                      description: >-
                        The identifier within the context (e.g., hypothesis ID,
                        group ID).
                description: Context identifying where this annotation was surfaced.
              info:
                type: string
                description: Informational message, not treated as an error.
              warning:
                type: string
                description: Warning message indicating something might be wrong.
              error:
                type: object
                properties:
                  details:
                    type: string
                    description: Human-readable error message.
                  category:
                    type: string
                    enum:
                      - STATS_ANNOTATION_ERROR_CATEGORY_UNSPECIFIED
                      - STATS_ANNOTATION_ERROR_CATEGORY_GENERAL
                      - STATS_ANNOTATION_ERROR_CATEGORY_DATA_VALIDATION_ERROR
                      - STATS_ANNOTATION_ERROR_CATEGORY_ANALYSIS_ERROR
                      - STATS_ANNOTATION_ERROR_CATEGORY_NO_DATA
                    description: General category of the error.
                description: Error indicating something has gone wrong during analysis.
          description: >-
            Annotations surfaced during the analysis, such as warnings, errors,
            or
             informational messages.
        results:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: Unique identifier for this hypothesis.
              statsSettings:
                type: object
                properties:
                  method:
                    type: string
                    enum:
                      - METHOD_UNSPECIFIED
                      - METHOD_Z_TEST
                      - METHOD_GST_Z_TEST
                      - METHOD_ASYMP_CS
                      - METHOD_RATIO
                      - METHOD_GST_RATIO
                      - METHOD_ASYMP_CS_RATIO
                      - METHOD_CHI2
                    description: The statistical test method used for this hypothesis.
                  adjustedAlpha:
                    type: number
                    description: >-
                      The significance level (alpha) after adjustment for
                      multiple testing.
                  adjustedBeta:
                    type: object
                    properties:
                      value:
                        type: number
                        description: The double value.
                    description: >-
                      The type II error rate (beta) after adjustment, used for
                      power calculations.
                  hasVarianceReduction:
                    type: boolean
                    description: >-
                      Whether variance reduction (CUPED) was applied to improve
                      estimate precision.
                description: Statistical configuration used for this hypothesis.
              result:
                type: array
                items:
                  type: object
                  properties:
                    status:
                      type: object
                      properties:
                        status:
                          type: string
                          enum:
                            - METRIC_RESULT_STATUS_UNSPECIFIED
                            - METRIC_RESULT_STATUS_NOT_SIGNIFICANT
                            - METRIC_RESULT_STATUS_DESIRED_SIGNIFICANT
                            - METRIC_RESULT_STATUS_UNDESIRED_SIGNIFICANT
                            - >-
                              METRIC_RESULT_STATUS_DESIRED_AND_UNDESIRED_SIGNIFICANT
                            - METRIC_RESULT_STATUS_WAIT_FOR_END
                            - METRIC_RESULT_STATUS_WAIT_FOR_DATA
                          description: >-
                            Overall result status of the metric (e.g.,
                            significant, not significant, waiting for data).
                        message:
                          type: string
                          description: Human-readable description of the metric status.
                        metricType:
                          type: string
                          enum:
                            - METRIC_TYPE_UNSPECIFIED
                            - METRIC_TYPE_SUCCESS
                            - METRIC_TYPE_GUARDRAIL
                            - METRIC_TYPE_DETERIORATION
                            - METRIC_TYPE_QUALITY
                            - METRIC_TYPE_SECONDARY
                          description: >-
                            The role of the metric in the experiment (e.g.,
                            success, guardrail, deterioration).
                        decisionPowered:
                          type: object
                          properties:
                            value:
                              type: boolean
                              description: The bool value.
                          description: >-
                            Whether the metric has enough statistical power for
                            the decision rule.
                        decisionIsSignificant:
                          type: object
                          properties:
                            value:
                              type: boolean
                              description: The bool value.
                          description: >-
                            Whether the metric result is statistically
                            significant for the decision rule.
                        validationIsSignificant:
                          type: object
                          properties:
                            value:
                              type: boolean
                              description: The bool value.
                          description: >-
                            Whether the validation check is statistically
                            significant, indicating the
                             validation has failed.
                      description: >-
                        Status of this metric comparison (e.g., significant, not
                        significant).
                    groups:
                      type: object
                      properties:
                        baseline:
                          type: string
                          description: Identifier for the baseline group.
                        compared:
                          type: string
                          description: Identifier for the compared group.
                      description: >-
                        The pair of groups being compared (baseline and
                        compared).
                    result:
                      type: array
                      items:
                        type: object
                        properties:
                          resultTime:
                            type: string
                            description: |2-

                               Time label identifying the point in time this observation relates to.
                          baselineEstimateAbs:
                            type: object
                            properties:
                              value:
                                type: number
                                description: The double value.
                            description: >-
                              Point estimate for the baseline group on the
                              original (absolute) scale.
                          comparedEstimateAbs:
                            type: object
                            properties:
                              value:
                                type: number
                                description: The double value.
                            description: >-
                              Point estimate for the compared group on the
                              original (absolute) scale.
                          baselineEstimateRel:
                            type: object
                            properties:
                              value:
                                type: number
                                description: The double value.
                            description: >-
                              Point estimate for the baseline group on the
                              relative scale.
                          comparedEstimateRel:
                            type: object
                            properties:
                              value:
                                type: number
                                description: The double value.
                            description: >-
                              Point estimate for the compared group on the
                              relative scale.
                          differenceEstimateAbs:
                            type: object
                            properties:
                              estimate:
                                type: object
                                properties:
                                  value:
                                    type: number
                                    description: The double value.
                                description: Point estimate of the parameter value.
                              lower:
                                type: object
                                properties:
                                  value:
                                    type: number
                                    description: The double value.
                                description: Lower bound of the confidence interval.
                              upper:
                                type: object
                                properties:
                                  value:
                                    type: number
                                    description: The double value.
                                description: Upper bound of the confidence interval.
                              powered:
                                type: object
                                properties:
                                  value:
                                    type: number
                                    description: The double value.
                                description: >-
                                  The powered effect: the effect size that would
                                  be detectable with the
                                   current sample size and variance.
                              isSignificant:
                                type: object
                                properties:
                                  value:
                                    type: boolean
                                    description: The bool value.
                                description: >-
                                  Whether the estimate is statistically
                                  significant according to the hypothesis.
                            description: >-
                              Estimated difference between groups on the
                              original (absolute) scale.
                          differenceEstimateRel:
                            type: object
                            properties:
                              estimate:
                                type: object
                                properties:
                                  value:
                                    type: number
                                    description: The double value.
                                description: Point estimate of the parameter value.
                              lower:
                                type: object
                                properties:
                                  value:
                                    type: number
                                    description: The double value.
                                description: Lower bound of the confidence interval.
                              upper:
                                type: object
                                properties:
                                  value:
                                    type: number
                                    description: The double value.
                                description: Upper bound of the confidence interval.
                              powered:
                                type: object
                                properties:
                                  value:
                                    type: number
                                    description: The double value.
                                description: >-
                                  The powered effect: the effect size that would
                                  be detectable with the
                                   current sample size and variance.
                              isSignificant:
                                type: object
                                properties:
                                  value:
                                    type: boolean
                                    description: The bool value.
                                description: >-
                                  Whether the estimate is statistically
                                  significant according to the hypothesis.
                            description: >-
                              Estimated difference between groups on the
                              relative scale (percentage change).
                          varianceReductionRate:
                            type: object
                            properties:
                              value:
                                type: number
                                description: The double value.
                            description: >-
                              Rate of variance reduction achieved through
                              covariate adjustment (CUPED).
                          unadjustedEstimateBaseline:
                            type: object
                            properties:
                              value:
                                type: number
                                description: The double value.
                            description: >-
                              Baseline estimate before variance reduction
                              adjustment.
                          unadjustedEstimateCompared:
                            type: object
                            properties:
                              value:
                                type: number
                                description: The double value.
                            description: >-
                              Compared estimate before variance reduction
                              adjustment.
                          baselineSampleSize:
                            type: object
                            properties:
                              value:
                                type: integer
                                description: The int64 value.
                            description: Number of samples in the baseline group.
                          comparedSampleSize:
                            type: object
                            properties:
                              value:
                                type: integer
                                description: The int64 value.
                            description: Number of samples in the compared group.
                      description: Time series of statistical results for this comparison.
                    lastResult:
                      type: object
                      properties:
                        resultTime:
                          type: string
                          description: |2-

                             Time label identifying the point in time this observation relates to.
                        baselineEstimateAbs:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Point estimate for the baseline group on the
                            original (absolute) scale.
                        comparedEstimateAbs:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Point estimate for the compared group on the
                            original (absolute) scale.
                        baselineEstimateRel:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Point estimate for the baseline group on the
                            relative scale.
                        comparedEstimateRel:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Point estimate for the compared group on the
                            relative scale.
                        differenceEstimateAbs:
                          type: object
                          properties:
                            estimate:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: Point estimate of the parameter value.
                            lower:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: Lower bound of the confidence interval.
                            upper:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: Upper bound of the confidence interval.
                            powered:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: >-
                                The powered effect: the effect size that would
                                be detectable with the
                                 current sample size and variance.
                            isSignificant:
                              type: object
                              properties:
                                value:
                                  type: boolean
                                  description: The bool value.
                              description: >-
                                Whether the estimate is statistically
                                significant according to the hypothesis.
                          description: >-
                            Estimated difference between groups on the original
                            (absolute) scale.
                        differenceEstimateRel:
                          type: object
                          properties:
                            estimate:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: Point estimate of the parameter value.
                            lower:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: Lower bound of the confidence interval.
                            upper:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: Upper bound of the confidence interval.
                            powered:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: >-
                                The powered effect: the effect size that would
                                be detectable with the
                                 current sample size and variance.
                            isSignificant:
                              type: object
                              properties:
                                value:
                                  type: boolean
                                  description: The bool value.
                              description: >-
                                Whether the estimate is statistically
                                significant according to the hypothesis.
                          description: >-
                            Estimated difference between groups on the relative
                            scale (percentage change).
                        varianceReductionRate:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Rate of variance reduction achieved through
                            covariate adjustment (CUPED).
                        unadjustedEstimateBaseline:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Baseline estimate before variance reduction
                            adjustment.
                        unadjustedEstimateCompared:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Compared estimate before variance reduction
                            adjustment.
                        baselineSampleSize:
                          type: object
                          properties:
                            value:
                              type: integer
                              description: The int64 value.
                          description: Number of samples in the baseline group.
                        comparedSampleSize:
                          type: object
                          properties:
                            value:
                              type: integer
                              description: The int64 value.
                          description: Number of samples in the compared group.
                      description: The most recent statistical result in the time series.
                    sampleSize:
                      type: object
                      properties:
                        current:
                          type: integer
                          description: Current total sample size across groups.
                        required:
                          type: integer
                          description: Required sample size for adequate statistical power.
                        poweredEffectRel:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            The powered effect on the relative scale at the
                            current sample size and variance.
                        poweredEffectAbs:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            The powered effect on the absolute scale at the
                            current sample size and variance.
                      description: >-
                        Sample size estimates including current count and
                        required count for adequate power.
                    isSignificant:
                      type: object
                      properties:
                        value:
                          type: boolean
                          description: The bool value.
                      description: Whether this comparison is statistically significant.
                    comparisonId:
                      type: string
                      description: Unique identifier for this comparison.
                    usedDataType:
                      type: string
                      enum:
                        - STATS_DATA_TYPE_UNSPECIFIED
                        - STATS_DATA_TYPE_CONTINUOUS
                        - STATS_DATA_TYPE_BINARY
                        - STATS_DATA_TYPE_COUNT
                      description: >-
                        The type of statistical data used for this comparison
                        (continuous, binary, or count).
                    groupStats:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                            description: Identifier for the group.
                          sampleSize:
                            type: integer
                            description: Number of samples in this group.
                      description: Sample size statistics for each group in the comparison.
                    dimensions:
                      type: array
                      items:
                        type: object
                        additionalProperties:
                          type: string
                      description: >-
                        Dimension key-value pairs identifying the segment for
                        this comparison.
                    segmentId:
                      type: string
                      description: Identifier for the segment this comparison belongs to.
                    lastDeteriorationResult:
                      type: object
                      properties:
                        resultTime:
                          type: string
                          description: |2-

                             Time label identifying the point in time this observation relates to.
                        baselineEstimateAbs:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Point estimate for the baseline group on the
                            original (absolute) scale.
                        comparedEstimateAbs:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Point estimate for the compared group on the
                            original (absolute) scale.
                        baselineEstimateRel:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Point estimate for the baseline group on the
                            relative scale.
                        comparedEstimateRel:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Point estimate for the compared group on the
                            relative scale.
                        differenceEstimateAbs:
                          type: object
                          properties:
                            estimate:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: Point estimate of the parameter value.
                            lower:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: Lower bound of the confidence interval.
                            upper:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: Upper bound of the confidence interval.
                            powered:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: >-
                                The powered effect: the effect size that would
                                be detectable with the
                                 current sample size and variance.
                            isSignificant:
                              type: object
                              properties:
                                value:
                                  type: boolean
                                  description: The bool value.
                              description: >-
                                Whether the estimate is statistically
                                significant according to the hypothesis.
                          description: >-
                            Estimated difference between groups on the original
                            (absolute) scale.
                        differenceEstimateRel:
                          type: object
                          properties:
                            estimate:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: Point estimate of the parameter value.
                            lower:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: Lower bound of the confidence interval.
                            upper:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: Upper bound of the confidence interval.
                            powered:
                              type: object
                              properties:
                                value:
                                  type: number
                                  description: The double value.
                              description: >-
                                The powered effect: the effect size that would
                                be detectable with the
                                 current sample size and variance.
                            isSignificant:
                              type: object
                              properties:
                                value:
                                  type: boolean
                                  description: The bool value.
                              description: >-
                                Whether the estimate is statistically
                                significant according to the hypothesis.
                          description: >-
                            Estimated difference between groups on the relative
                            scale (percentage change).
                        varianceReductionRate:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Rate of variance reduction achieved through
                            covariate adjustment (CUPED).
                        unadjustedEstimateBaseline:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Baseline estimate before variance reduction
                            adjustment.
                        unadjustedEstimateCompared:
                          type: object
                          properties:
                            value:
                              type: number
                              description: The double value.
                          description: >-
                            Compared estimate before variance reduction
                            adjustment.
                        baselineSampleSize:
                          type: object
                          properties:
                            value:
                              type: integer
                              description: The int64 value.
                          description: Number of samples in the baseline group.
                        comparedSampleSize:
                          type: object
                          properties:
                            value:
                              type: integer
                              description: The int64 value.
                          description: Number of samples in the compared group.
                      description: >-
                        The most recent result specifically for deterioration
                        detection.
                description: Results for each pairwise comparison within this hypothesis.
              annotations:
                type: array
                items:
                  type: object
                  properties:
                    context:
                      type: array
                      items:
                        type: object
                        properties:
                          key:
                            type: string
                            enum:
                              - STATS_ANNOTATION_CONTEXT_UNSPECIFIED
                              - STATS_ANNOTATION_CONTEXT_HYPOTHESIS
                              - STATS_ANNOTATION_CONTEXT_SEGMENT
                              - STATS_ANNOTATION_CONTEXT_GROUP
                              - STATS_ANNOTATION_CONTEXT_COMPARISON
                              - STATS_ANNOTATION_CONTEXT_UNKNOWN
                            description: >-
                              The context category (e.g., hypothesis, segment,
                              group, comparison).
                          value:
                            type: string
                            description: >-
                              The identifier within the context (e.g.,
                              hypothesis ID, group ID).
                      description: Context identifying where this annotation was surfaced.
                    info:
                      type: string
                      description: Informational message, not treated as an error.
                    warning:
                      type: string
                      description: Warning message indicating something might be wrong.
                    error:
                      type: object
                      properties:
                        details:
                          type: string
                          description: Human-readable error message.
                        category:
                          type: string
                          enum:
                            - STATS_ANNOTATION_ERROR_CATEGORY_UNSPECIFIED
                            - STATS_ANNOTATION_ERROR_CATEGORY_GENERAL
                            - >-
                              STATS_ANNOTATION_ERROR_CATEGORY_DATA_VALIDATION_ERROR
                            - STATS_ANNOTATION_ERROR_CATEGORY_ANALYSIS_ERROR
                            - STATS_ANNOTATION_ERROR_CATEGORY_NO_DATA
                          description: General category of the error.
                      description: >-
                        Error indicating something has gone wrong during
                        analysis.
                description: Annotations specific to this hypothesis.
              metricDetails:
                type: object
                properties:
                  metricType:
                    type: string
                    enum:
                      - METRIC_TYPE_UNSPECIFIED
                      - METRIC_TYPE_SUCCESS
                      - METRIC_TYPE_GUARDRAIL
                      - METRIC_TYPE_DETERIORATION
                      - METRIC_TYPE_QUALITY
                      - METRIC_TYPE_SECONDARY
                    description: >-
                      The role of the metric in the experiment (e.g., success,
                      guardrail, deterioration).
                  plannedEffectSize:
                    type: object
                    properties:
                      value:
                        type: string
                        description: |-
                          The decimal value, as a string.

                           The string representation consists of an optional sign, `+` (`U+002B`)
                           or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
                           ("the integer"), optionally followed by a fraction, optionally followed
                           by an exponent.

                           The fraction consists of a decimal point followed by zero or more decimal
                           digits. The string must contain at least one digit in either the integer
                           or the fraction. The number formed by the sign, the integer and the
                           fraction is referred to as the significand.

                           The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
                           followed by one or more decimal digits.

                           Services **should** normalize decimal values before storing them by:

                             - Removing an explicitly-provided `+` sign (`+2.5` -{">"} `2.5`).
                             - Replacing a zero-length integer value with `0` (`.5` -{">"} `0.5`).
                             - Coercing the exponent character to lower-case (`2.5E8` -{">"} `2.5e8`).
                             - Removing an explicitly-provided zero exponent (`2.5e0` -{">"} `2.5`).

                           Services **may** perform additional normalization based on its own needs
                           and the internal decimal implementation selected, such as shifting the
                           decimal point and exponent value together (example: `2.5e-1` {"<"}-{">"} `0.25`).
                           Additionally, services **may** preserve trailing zeroes in the fraction
                           to indicate increased precision, but are not required to do so.

                           Note that only the `.` character is supported to divide the integer
                           and the fraction; `,` **should not** be supported regardless of locale.
                           Additionally, thousand separators **should not** be supported. If a
                           service does support them, values **must** be normalized.

                           The ENBF grammar is:

                               DecimalString =
                                 [Sign] Significand [Exponent];

                               Sign = '+' | '-';

                               Significand =
                                 Digits ['.'] [Digits] | [Digits] '.' Digits;

                               Exponent = ('e' | 'E') [Sign] Digits;

                               Digits = \{ '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };

                           Services **should** clearly document the range of supported values, the
                           maximum supported precision (total number of digits), and, if applicable,
                           the scale (number of digits after the decimal point), as well as how it
                           behaves when receiving out-of-bounds values.

                           Services **may** choose to accept values passed as input even when the
                           value has a higher precision or scale than the service supports, and
                           **should** round the value to fit the supported scale. Alternatively, the
                           service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
                           if precision would be lost.

                           Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
                           gRPC) if the service receives a value outside of the supported range.
                    description: >-
                      The minimum detectable effect size configured for this
                      metric.
                  direction:
                    type: string
                    enum:
                      - METRIC_DIRECTION_UNSPECIFIED
                      - METRIC_DIRECTION_INCREASE
                      - METRIC_DIRECTION_DECREASE
                      - METRIC_DIRECTION_ANY
                    description: >-
                      The expected direction of the metric effect (increase,
                      decrease, or any).
                  hasRun:
                    type: boolean
                    description: Whether the analysis has been executed for this metric.
                description: >-
                  Details about the metric being tested, including type and
                  direction.
              srmResult:
                type: array
                items:
                  type: object
                  properties:
                    status:
                      type: object
                      properties:
                        status:
                          type: string
                          enum:
                            - METRIC_RESULT_STATUS_UNSPECIFIED
                            - METRIC_RESULT_STATUS_NOT_SIGNIFICANT
                            - METRIC_RESULT_STATUS_DESIRED_SIGNIFICANT
                            - METRIC_RESULT_STATUS_UNDESIRED_SIGNIFICANT
                            - >-
                              METRIC_RESULT_STATUS_DESIRED_AND_UNDESIRED_SIGNIFICANT
                            - METRIC_RESULT_STATUS_WAIT_FOR_END
                            - METRIC_RESULT_STATUS_WAIT_FOR_DATA
                          description: >-
                            Overall result status of the metric (e.g.,
                            significant, not significant, waiting for data).
                        message:
                          type: string
                          description: Human-readable description of the metric status.
                        metricType:
                          type: string
                          enum:
                            - METRIC_TYPE_UNSPECIFIED
                            - METRIC_TYPE_SUCCESS
                            - METRIC_TYPE_GUARDRAIL
                            - METRIC_TYPE_DETERIORATION
                            - METRIC_TYPE_QUALITY
                            - METRIC_TYPE_SECONDARY
                          description: >-
                            The role of the metric in the experiment (e.g.,
                            success, guardrail, deterioration).
                        decisionPowered:
                          type: object
                          properties:
                            value:
                              type: boolean
                              description: The bool value.
                          description: >-
                            Whether the metric has enough statistical power for
                            the decision rule.
                        decisionIsSignificant:
                          type: object
                          properties:
                            value:
                              type: boolean
                              description: The bool value.
                          description: >-
                            Whether the metric result is statistically
                            significant for the decision rule.
                        validationIsSignificant:
                          type: object
                          properties:
                            value:
                              type: boolean
                              description: The bool value.
                          description: >-
                            Whether the validation check is statistically
                            significant, indicating the
                             validation has failed.
                      description: Status of the SRM test.
                    isSignificant:
                      type: boolean
                      description: >-
                        Whether a significant sample ratio mismatch was
                        detected.
                    dimensions:
                      type: array
                      items:
                        type: object
                        additionalProperties:
                          type: string
                      description: Dimension key-value pairs identifying the segment.
                    segmentId:
                      type: string
                      description: Identifier for the segment this SRM result belongs to.
                    result:
                      type: array
                      items:
                        type: object
                        properties:
                          group:
                            type: string
                            description: Identifier for the group.
                          observed:
                            type: number
                            description: Observed sample ratio for this group.
                          expected:
                            type: number
                            description: Expected sample ratio for this group.
                          isSignificant:
                            type: boolean
                            description: >-
                              Whether this group has a significant deviation
                              from the expected ratio.
                      description: >-
                        Per-group SRM results showing observed vs expected
                        ratios.
                description: Sample ratio mismatch (SRM) test results for this hypothesis.
          description: Statistical results for each hypothesis tested in this analysis.
        treatments:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: Identifier for the treatment group.
              recommendation:
                type: object
                properties:
                  status:
                    type: object
                    properties:
                      quality:
                        type: string
                        enum:
                          - QUALITY_STATUS_UNSPECIFIED
                          - QUALITY_STATUS_ALL_SUCCEEDED
                          - QUALITY_STATUS_SOME_FAILED
                          - QUALITY_STATUS_SOME_PENDING
                        description: Status of data quality checks.
                      tanking:
                        type: string
                        enum:
                          - TANKING_STATUS_UNSPECIFIED
                          - TANKING_STATUS_ALL_SUCCEEDED
                          - TANKING_STATUS_SOME_FAILED
                          - TANKING_STATUS_SOME_PENDING
                          - TANKING_STATUS_NO_METRICS
                        description: Status of tanking (severe degradation) checks.
                      guardrail:
                        type: string
                        enum:
                          - GUARDRAIL_STATUS_UNSPECIFIED
                          - GUARDRAIL_STATUS_ALL_POWERED_ALL_SIGNIFICANT
                          - GUARDRAIL_STATUS_SOME_UNPOWERED_ALL_SIGNIFICANT
                          - GUARDRAIL_STATUS_SOME_MISSING
                          - GUARDRAIL_STATUS_SOME_POWERED_NOT_SIGNIFICANT
                          - GUARDRAIL_STATUS_SOME_NOT_SIGNIFICANT
                          - GUARDRAIL_STATUS_ALL_POWERED_NONE_SIGNIFICANT
                          - GUARDRAIL_STATUS_WITHOUT_NIM_SOME_DETERIORATED
                          - GUARDRAIL_STATUS_WITHOUT_NIM_NONE_DETERIORATED
                          - GUARDRAIL_STATUS_SOME_UNPOWERED_UNKNOWN_SIGNIFICANCE
                          - GUARDRAIL_STATUS_ALL_POWERED_UNKNOWN_SIGNIFICANCE
                          - GUARDRAIL_STATUS_NO_GUARDRAILS
                          - GUARDRAIL_STATUS_WAIT_FOR_END
                        description: Status of guardrail metric checks.
                      success:
                        type: string
                        enum:
                          - SUCCESS_STATUS_UNSPECIFIED
                          - SUCCESS_STATUS_NO_SUCCESS_METRIC
                          - SUCCESS_STATUS_SOME_POWERED_SIGNIFICANT
                          - SUCCESS_STATUS_SOME_UNPOWERED_SIGNIFICANT
                          - SUCCESS_STATUS_ALL_POWERED_NONE_SIGNIFICANT
                          - SUCCESS_STATUS_NONE_SIGNIFICANT
                          - SUCCESS_STATUS_SOME_UNPOWERED_UNKNOWN_SIGNIFICANCE
                          - SUCCESS_STATUS_ALL_POWERED_UNKNOWN_SIGNIFICANCE
                          - SUCCESS_STATUS_SOME_MISSING
                          - SUCCESS_STATUS_WAIT_FOR_END
                        description: Status of success metric checks.
                    description: >-
                      Aggregated status across quality, tanking, guardrail, and
                      success checks.
                  shipping:
                    type: string
                    enum:
                      - SHIPPING_RECOMMENDATION_UNSPECIFIED
                      - SHIPPING_RECOMMENDATION_SHIP
                      - SHIPPING_RECOMMENDATION_SHIP_WITH_CAUTION
                      - SHIPPING_RECOMMENDATION_CONTINUE
                      - SHIPPING_RECOMMENDATION_END
                      - SHIPPING_RECOMMENDATION_ABORT
                      - SHIPPING_RECOMMENDATION_DONT_SHIP
                      - SHIPPING_RECOMMENDATION_WAIT_FOR_DATA
                      - SHIPPING_RECOMMENDATION_ENOUGH_DATA_COLLECTED
                    description: >-
                      Overall shipping recommendation (e.g., ship, continue,
                      abort).
                description: >-
                  Shipping recommendation for this treatment based on the
                  analysis results.
          description: >-
            Information about each treatment group, including shipping
            recommendations.
        labels:
          type: array
          items:
            type: object
            additionalProperties:
              type: string
          description: Custom key value pairs for this analysis result.
        createTime:
          type: object
          description: The time the analysis result was first created.
        updateTime:
          type: object
          description: Time when the analysis result was last updated.
        creator:
          type: string
          description: Reference to the identity that created this analysis result.
        updater:
          type: string
          description: Reference to the identity that last updated this analysis result.
      required:
        - createTime
        - updateTime
        - creator
        - updater
  securitySchemes:
    admin:
      type: http
      scheme: bearer

````