{
  "openapi": "3.1",
  "info": {
    "title": "X",
    "version": "1.0.0"
  },
  "paths": {
    "/v1/workflows/reanalysis": {
      "post": {
        "operationId": "Reanalysis.create",
        "description": "Creates a new Reanalysis.",
        "summary": "Create Reanalysis",
        "parameters": [
          {
            "name": "reanalysisId",
            "in": "query",
            "required": false,
            "description": "Optional ID to use for the reanalysis, will be autogenerated if not provided.",
            "schema": {
              "type": "string",
              "example": "<string>"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "example": "<string>",
                    "description": "Unique id of the instance for example `workflows/abtest/instances/vxpoqirnwawxzasv4tuu`."
                  },
                  "displayName": {
                    "type": "string",
                    "example": "<string>",
                    "description": "Human-friendly name of this instance."
                  },
                  "owner": {
                    "type": "string",
                    "example": "<string>",
                    "description": "The owner of the resource. If not set will default to the creator."
                  },
                  "jobQueue": {
                    "name": "confidence.workflow.v1.WorkflowInstance.WorkflowJobQueue",
                    "type": "object",
                    "required": [],
                    "properties": {
                      "items": {
                        "type": "array",
                        "items": {
                          "name": "confidence.workflow.v1.WorkflowInstance.WorkflowJob",
                          "type": "object",
                          "required": ["key", "func", "runTime", "isActive"],
                          "properties": {
                            "key": {
                              "type": "string",
                              "example": "<string>",
                              "description": ""
                            },
                            "func": {
                              "type": "string",
                              "example": "<string>",
                              "description": ""
                            },
                            "runTime": {
                              "type": "string",
                              "format": "date-time",
                              "example": "2020-01-01T00:00:00Z",
                              "description": ""
                            },
                            "parameters": {
                              "type": "object",
                              "example": {},
                              "description": ""
                            },
                            "isActive": {
                              "type": "boolean",
                              "example": true,
                              "description": ""
                            }
                          }
                        },
                        "description": ""
                      }
                    },
                    "description": ""
                  },
                  "workflowVersion": {
                    "type": "string",
                    "example": "<string>",
                    "description": "Version of the workflow that this instance is running."
                  },
                  "surfaces": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "example": "<string>"
                    },
                    "description": "A set of surfaces that this workflow instance belongs to."
                  },
                  "labels": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string",
                      "example": "<string>"
                    },
                    "description": "Generic labels for the workflow instance."
                  },
                  "decision": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.DecisionRecordData",
                    "description": "Module data for decision"
                  },
                  "explore": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.ExploreData",
                    "description": "Module data for explore"
                  },
                  "exposure": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.ExposureData",
                    "description": "Module data for exposure"
                  },
                  "hypothesis": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.HypothesisData",
                    "description": "Module data for hypothesis"
                  },
                  "metrics": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.MetricsData",
                    "description": "Module data for metrics"
                  },
                  "planning": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.PlanningData",
                    "description": "Module data for planning"
                  },
                  "reanalysis": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.ReanalysisData",
                    "description": "Module data for reanalysis"
                  },
                  "report": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.ReportData",
                    "description": "Module data for report"
                  },
                  "stats": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.StatsData",
                    "description": "Module data for stats"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workflows/reanalysis/instances/{instance}": {
      "get": {
        "operationId": "Reanalysis.get",
        "description": "Retrieves a reanalysis by name.",
        "summary": "Get Reanalysis",
        "parameters": [
          {
            "name": "instance",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis"
                }
              }
            }
          }
        }
      },
      "patch": {
        "operationId": "Reanalysis.update",
        "description": "Updates an existing reanalysis.",
        "summary": "Update Reanalysis",
        "parameters": [
          {
            "name": "instance",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "updateMask",
            "in": "query",
            "required": false,
            "description": "Field mask specifying which fields to update.",
            "schema": {
              "type": "string",
              "example": "field1,field2"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "example": "<string>",
                    "description": "Unique id of the instance for example `workflows/abtest/instances/vxpoqirnwawxzasv4tuu`."
                  },
                  "displayName": {
                    "type": "string",
                    "example": "<string>",
                    "description": "Human-friendly name of this instance."
                  },
                  "owner": {
                    "type": "string",
                    "example": "<string>",
                    "description": "The owner of the resource. If not set will default to the creator."
                  },
                  "jobQueue": {
                    "name": "confidence.workflow.v1.WorkflowInstance.WorkflowJobQueue",
                    "type": "object",
                    "required": [],
                    "properties": {
                      "items": {
                        "type": "array",
                        "items": {
                          "name": "confidence.workflow.v1.WorkflowInstance.WorkflowJob",
                          "type": "object",
                          "required": ["key", "func", "runTime", "isActive"],
                          "properties": {
                            "key": {
                              "type": "string",
                              "example": "<string>",
                              "description": ""
                            },
                            "func": {
                              "type": "string",
                              "example": "<string>",
                              "description": ""
                            },
                            "runTime": {
                              "type": "string",
                              "format": "date-time",
                              "example": "2020-01-01T00:00:00Z",
                              "description": ""
                            },
                            "parameters": {
                              "type": "object",
                              "example": {},
                              "description": ""
                            },
                            "isActive": {
                              "type": "boolean",
                              "example": true,
                              "description": ""
                            }
                          }
                        },
                        "description": ""
                      }
                    },
                    "description": ""
                  },
                  "workflowVersion": {
                    "type": "string",
                    "example": "<string>",
                    "description": "Version of the workflow that this instance is running."
                  },
                  "surfaces": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "example": "<string>"
                    },
                    "description": "A set of surfaces that this workflow instance belongs to."
                  },
                  "labels": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string",
                      "example": "<string>"
                    },
                    "description": "Generic labels for the workflow instance."
                  },
                  "decision": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.DecisionRecordData",
                    "description": "Module data for decision"
                  },
                  "explore": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.ExploreData",
                    "description": "Module data for explore"
                  },
                  "exposure": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.ExposureData",
                    "description": "Module data for exposure"
                  },
                  "hypothesis": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.HypothesisData",
                    "description": "Module data for hypothesis"
                  },
                  "metrics": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.MetricsData",
                    "description": "Module data for metrics"
                  },
                  "planning": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.PlanningData",
                    "description": "Module data for planning"
                  },
                  "reanalysis": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.ReanalysisData",
                    "description": "Module data for reanalysis"
                  },
                  "report": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.ReportData",
                    "description": "Module data for report"
                  },
                  "stats": {
                    "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.StatsData",
                    "description": "Module data for stats"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workflows/reanalysis/instances/{instance}:addexploratoryanalysis": {
      "post": {
        "operationId": "AddExploratoryAnalysis.execute",
        "description": "Executes the addExploratoryAnalysis function.",
        "summary": "Execute AddExploratoryAnalysis",
        "parameters": [
          {
            "name": "instance",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "parameters": {
                    "name": "confidence.experiments.reanalysis.v1.ExecuteAddExploratoryAnalysisRequest.Parameters",
                    "type": "object",
                    "required": ["name"],
                    "properties": {
                      "conclusion": {
                        "type": "string",
                        "example": "<string>",
                        "description": "The conclusion text"
                      },
                      "endTime": {
                        "type": "string",
                        "example": "<string>",
                        "description": "Custom end time for the analysis time window"
                      },
                      "metrics": {
                        "type": "array",
                        "items": {
                          "name": "confidence.experiments.reanalysis.v1.ExecuteAddExploratoryAnalysisRequest.Parameters.Metric",
                          "type": "object",
                          "required": ["dimensions", "name"],
                          "properties": {
                            "dimensions": {
                              "type": "array",
                              "items": {
                                "name": "confidence.experiments.reanalysis.v1.ExecuteAddExploratoryAnalysisRequest.Parameters.Metric.Dimension",
                                "type": "object",
                                "required": ["column"],
                                "properties": {
                                  "column": {
                                    "type": "string",
                                    "example": "<string>",
                                    "description": "The column name"
                                  },
                                  "dimensionTable": {
                                    "type": "string",
                                    "example": "<string>",
                                    "description": "A resource name on the format dimensionTables/abc"
                                  },
                                  "factTable": {
                                    "type": "string",
                                    "example": "<string>",
                                    "description": "A resource name on the format factTables/abc"
                                  }
                                }
                              },
                              "description": "The dimensions"
                            },
                            "name": {
                              "type": "string",
                              "example": "<string>",
                              "description": "The metric name"
                            }
                          }
                        },
                        "description": "The metrics to analyze"
                      },
                      "name": {
                        "type": "string",
                        "example": "<string>",
                        "description": "The analysis name"
                      },
                      "startTime": {
                        "type": "string",
                        "example": "<string>",
                        "description": "Custom start time for the analysis time window"
                      }
                    },
                    "description": "Parameters for the function."
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "analysisResults": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteAddExploratoryAnalysisResponse.AnalysisResult",
                        "type": "object",
                        "required": ["analysisResult"],
                        "properties": {
                          "analysisResult": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format analysisResults/abc"
                          },
                          "exposureFilterName": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The exposure filter name"
                          }
                        }
                      },
                      "description": "Analysis results"
                    },
                    "conclusion": {
                      "name": "confidence.experiments.reanalysis.v1.ExecuteAddExploratoryAnalysisResponse.Conclusion",
                      "type": "object",
                      "required": ["text", "updateTime"],
                      "properties": {
                        "text": {
                          "type": "string",
                          "example": "<string>",
                          "description": "The conclusion text"
                        },
                        "updateTime": {
                          "type": "string",
                          "example": "<string>",
                          "description": "The update time"
                        }
                      },
                      "description": "The conclusion"
                    },
                    "createTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The create time"
                    },
                    "createdBy": {
                      "type": "string",
                      "example": "<string>",
                      "description": "A resource name on the format users/abc"
                    },
                    "endTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The end time of the analysis time window"
                    },
                    "id": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The analysis id"
                    },
                    "labels": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteAddExploratoryAnalysisResponse.Label",
                        "type": "object",
                        "required": ["key", "value"],
                        "properties": {
                          "key": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The label key"
                          },
                          "value": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The label value"
                          }
                        }
                      },
                      "description": "Labels"
                    },
                    "messages": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "<string>"
                      },
                      "description": "Messages"
                    },
                    "metrics": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteAddExploratoryAnalysisResponse.Metric",
                        "type": "object",
                        "required": ["dimensions", "name"],
                        "properties": {
                          "calculation": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format scheduledMetricCalculations/abc/metricCalculations/def"
                          },
                          "calculationError": {
                            "type": "string",
                            "example": "<string>",
                            "description": "Reason calculation creation failed for this metric. Set instead of `calculation`/`scheduledCalculation` when the create/schedule step threw."
                          },
                          "dimensions": {
                            "type": "array",
                            "items": {
                              "name": "confidence.experiments.reanalysis.v1.ExecuteAddExploratoryAnalysisResponse.Metric.DimensionsItem",
                              "type": "object",
                              "required": ["column"],
                              "properties": {
                                "column": {
                                  "type": "string",
                                  "example": "<string>",
                                  "description": "The column name"
                                },
                                "dimensionTable": {
                                  "type": "string",
                                  "example": "<string>",
                                  "description": "A resource name on the format dimensionTables/abc"
                                },
                                "factTable": {
                                  "type": "string",
                                  "example": "<string>",
                                  "description": "A resource name on the format factTables/abc"
                                }
                              }
                            },
                            "description": "The dimensions for the metric"
                          },
                          "name": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format metrics/abc"
                          },
                          "scheduledCalculation": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format scheduledMetricCalculations/abc"
                          }
                        }
                      },
                      "description": "The metrics to analyze"
                    },
                    "name": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The analysis name"
                    },
                    "splitByExposureFilters": {
                      "type": "boolean",
                      "example": true,
                      "description": "Whether to split by exposure filters"
                    },
                    "startTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The start time of the analysis time window"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "STATE_UNSPECIFIED",
                        "EMPTY",
                        "CALCULATING",
                        "DONE",
                        "ERROR",
                        "STALE"
                      ],
                      "example": "EMPTY",
                      "description": "The analysis state"
                    },
                    "updateTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The update time"
                    },
                    "useCustomDateRange": {
                      "type": "boolean",
                      "example": true,
                      "description": "Whether the analysis uses a custom date range"
                    },
                    "useScheduledCalculation": {
                      "type": "boolean",
                      "example": true,
                      "description": "Use scheduled calculations instead of one-time calculations"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/workflows/reanalysis/instances/{instance}:archive": {
      "post": {
        "operationId": "ArchiveAction.execute",
        "description": "Executes the archive action",
        "summary": "Execute ArchiveAction",
        "parameters": [
          {
            "name": "instance",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "transitionTime": {
                    "type": "string",
                    "format": "date-time",
                    "example": "2020-01-01T00:00:00Z",
                    "description": "Time when the transition should occur."
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        }
      }
    },
    "/v1/workflows/reanalysis/instances/{instance}:calculate": {
      "post": {
        "operationId": "Calculate.execute",
        "description": "Executes the calculate function.",
        "summary": "Execute Calculate",
        "parameters": [
          {
            "name": "instance",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "parameters": {
                    "type": "object",
                    "description": "Parameters for the function."
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        }
      }
    },
    "/v1/workflows/reanalysis/instances/{instance}:clone": {
      "post": {
        "operationId": "Clone.clone",
        "description": "Clones an existing reanalysis.",
        "summary": "Clone Clone",
        "parameters": [
          {
            "name": "instance",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "displayName": {
                    "type": "string",
                    "example": "<string>",
                    "description": "Display name for the cloned instance."
                  },
                  "parameters": {
                    "type": "object",
                    "example": {},
                    "description": "Optional parameters to pass to clone handlers."
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workflows/reanalysis/instances/{instance}:deleteexploratoryanalysis": {
      "post": {
        "operationId": "DeleteExploratoryAnalysis.execute",
        "description": "Executes the deleteExploratoryAnalysis function.",
        "summary": "Execute DeleteExploratoryAnalysis",
        "parameters": [
          {
            "name": "instance",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "parameters": {
                    "name": "confidence.experiments.reanalysis.v1.ExecuteDeleteExploratoryAnalysisRequest.Parameters",
                    "type": "object",
                    "required": ["id"],
                    "properties": {
                      "id": {
                        "type": "string",
                        "example": "<string>",
                        "description": "The analysis id"
                      }
                    },
                    "description": "Parameters for the function."
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        }
      }
    },
    "/v1/workflows/reanalysis/instances/{instance}:editexploratoryanalysis": {
      "post": {
        "operationId": "EditExploratoryAnalysis.execute",
        "description": "Executes the editExploratoryAnalysis function.",
        "summary": "Execute EditExploratoryAnalysis",
        "parameters": [
          {
            "name": "instance",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "parameters": {
                    "name": "confidence.experiments.reanalysis.v1.ExecuteEditExploratoryAnalysisRequest.Parameters",
                    "type": "object",
                    "required": ["id"],
                    "properties": {
                      "conclusion": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteEditExploratoryAnalysisRequest.Parameters.Conclusion",
                        "type": "object",
                        "required": ["text"],
                        "properties": {
                          "text": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The conclusion text"
                          }
                        },
                        "description": "The conclusion"
                      },
                      "endTime": {
                        "type": "string",
                        "example": "<string>",
                        "description": "Custom end time for the analysis time window"
                      },
                      "id": {
                        "type": "string",
                        "example": "<string>",
                        "description": "The analysis id"
                      },
                      "metrics": {
                        "type": "array",
                        "items": {
                          "name": "confidence.experiments.reanalysis.v1.ExecuteEditExploratoryAnalysisRequest.Parameters.Metric",
                          "type": "object",
                          "required": ["dimensions", "name"],
                          "properties": {
                            "calculation": {
                              "type": "string",
                              "example": "<string>",
                              "description": "The metric calculation"
                            },
                            "dimensions": {
                              "type": "array",
                              "items": {
                                "name": "confidence.experiments.reanalysis.v1.ExecuteEditExploratoryAnalysisRequest.Parameters.Metric.Dimension",
                                "type": "object",
                                "required": ["column"],
                                "properties": {
                                  "column": {
                                    "type": "string",
                                    "example": "<string>",
                                    "description": "The column name"
                                  },
                                  "dimensionTable": {
                                    "type": "string",
                                    "example": "<string>",
                                    "description": "A resource name on the format dimensionTables/abc"
                                  },
                                  "factTable": {
                                    "type": "string",
                                    "example": "<string>",
                                    "description": "A resource name on the format factTables/abc"
                                  }
                                }
                              },
                              "description": "The dimensions"
                            },
                            "metricCalculation": {
                              "type": "string",
                              "example": "<string>",
                              "description": "The metric calculation"
                            },
                            "name": {
                              "type": "string",
                              "example": "<string>",
                              "description": "The metric name"
                            },
                            "scheduledCalculation": {
                              "type": "string",
                              "example": "<string>",
                              "description": "The metric calculation"
                            }
                          }
                        },
                        "description": "The metrics to analyze"
                      },
                      "name": {
                        "type": "string",
                        "example": "<string>",
                        "description": "The analysis name"
                      },
                      "skipCalculation": {
                        "type": "boolean",
                        "example": true,
                        "description": "When true, persist metrics without triggering calculations. Useful for saving metric selections before the user is ready to calculate."
                      },
                      "startTime": {
                        "type": "string",
                        "example": "<string>",
                        "description": "Custom start time for the analysis time window"
                      }
                    },
                    "description": "Parameters for the function."
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "analysisResults": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteEditExploratoryAnalysisResponse.AnalysisResult",
                        "type": "object",
                        "required": ["analysisResult"],
                        "properties": {
                          "analysisResult": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format analysisResults/abc"
                          },
                          "exposureFilterName": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The exposure filter name"
                          }
                        }
                      },
                      "description": "Analysis results"
                    },
                    "conclusion": {
                      "name": "confidence.experiments.reanalysis.v1.ExecuteEditExploratoryAnalysisResponse.Conclusion",
                      "type": "object",
                      "required": ["text", "updateTime"],
                      "properties": {
                        "text": {
                          "type": "string",
                          "example": "<string>",
                          "description": "The conclusion text"
                        },
                        "updateTime": {
                          "type": "string",
                          "example": "<string>",
                          "description": "The update time"
                        }
                      },
                      "description": "The conclusion"
                    },
                    "createTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The create time"
                    },
                    "createdBy": {
                      "type": "string",
                      "example": "<string>",
                      "description": "A resource name on the format users/abc"
                    },
                    "endTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The end time of the analysis time window"
                    },
                    "id": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The analysis id"
                    },
                    "labels": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteEditExploratoryAnalysisResponse.Label",
                        "type": "object",
                        "required": ["key", "value"],
                        "properties": {
                          "key": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The label key"
                          },
                          "value": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The label value"
                          }
                        }
                      },
                      "description": "Labels"
                    },
                    "messages": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "<string>"
                      },
                      "description": "Messages"
                    },
                    "metrics": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteEditExploratoryAnalysisResponse.Metric",
                        "type": "object",
                        "required": ["dimensions", "name"],
                        "properties": {
                          "calculation": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format scheduledMetricCalculations/abc/metricCalculations/def"
                          },
                          "calculationError": {
                            "type": "string",
                            "example": "<string>",
                            "description": "Reason calculation creation failed for this metric. Set instead of `calculation`/`scheduledCalculation` when the create/schedule step threw."
                          },
                          "dimensions": {
                            "type": "array",
                            "items": {
                              "name": "confidence.experiments.reanalysis.v1.ExecuteEditExploratoryAnalysisResponse.Metric.DimensionsItem",
                              "type": "object",
                              "required": ["column"],
                              "properties": {
                                "column": {
                                  "type": "string",
                                  "example": "<string>",
                                  "description": "The column name"
                                },
                                "dimensionTable": {
                                  "type": "string",
                                  "example": "<string>",
                                  "description": "A resource name on the format dimensionTables/abc"
                                },
                                "factTable": {
                                  "type": "string",
                                  "example": "<string>",
                                  "description": "A resource name on the format factTables/abc"
                                }
                              }
                            },
                            "description": "The dimensions for the metric"
                          },
                          "name": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format metrics/abc"
                          },
                          "scheduledCalculation": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format scheduledMetricCalculations/abc"
                          }
                        }
                      },
                      "description": "The metrics to analyze"
                    },
                    "name": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The analysis name"
                    },
                    "splitByExposureFilters": {
                      "type": "boolean",
                      "example": true,
                      "description": "Whether to split by exposure filters"
                    },
                    "startTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The start time of the analysis time window"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "STATE_UNSPECIFIED",
                        "EMPTY",
                        "CALCULATING",
                        "DONE",
                        "ERROR",
                        "STALE"
                      ],
                      "example": "EMPTY",
                      "description": "The analysis state"
                    },
                    "updateTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The update time"
                    },
                    "useCustomDateRange": {
                      "type": "boolean",
                      "example": true,
                      "description": "Whether the analysis uses a custom date range"
                    },
                    "useScheduledCalculation": {
                      "type": "boolean",
                      "example": true,
                      "description": "Use scheduled calculations instead of one-time calculations"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/workflows/reanalysis/instances/{instance}:getexploratoryanalysis": {
      "post": {
        "operationId": "GetExploratoryAnalysis.execute",
        "description": "Executes the getExploratoryAnalysis function.",
        "summary": "Execute GetExploratoryAnalysis",
        "parameters": [
          {
            "name": "instance",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "parameters": {
                    "name": "confidence.experiments.reanalysis.v1.ExecuteGetExploratoryAnalysisRequest.Parameters",
                    "type": "object",
                    "required": ["id"],
                    "properties": {
                      "id": {
                        "type": "string",
                        "example": "<string>",
                        "description": "The analysis id"
                      }
                    },
                    "description": "Parameters for the function."
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "analysisResults": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteGetExploratoryAnalysisResponse.AnalysisResult",
                        "type": "object",
                        "required": ["analysisResult"],
                        "properties": {
                          "analysisResult": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format analysisResults/abc"
                          },
                          "exposureFilterName": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The exposure filter name"
                          }
                        }
                      },
                      "description": "Analysis results"
                    },
                    "conclusion": {
                      "name": "confidence.experiments.reanalysis.v1.ExecuteGetExploratoryAnalysisResponse.Conclusion",
                      "type": "object",
                      "required": ["text", "updateTime"],
                      "properties": {
                        "text": {
                          "type": "string",
                          "example": "<string>",
                          "description": "The conclusion text"
                        },
                        "updateTime": {
                          "type": "string",
                          "example": "<string>",
                          "description": "The update time"
                        }
                      },
                      "description": "The conclusion"
                    },
                    "createTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The create time"
                    },
                    "createdBy": {
                      "type": "string",
                      "example": "<string>",
                      "description": "A resource name on the format users/abc"
                    },
                    "endTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The end time of the analysis time window"
                    },
                    "id": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The analysis id"
                    },
                    "labels": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteGetExploratoryAnalysisResponse.Label",
                        "type": "object",
                        "required": ["key", "value"],
                        "properties": {
                          "key": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The label key"
                          },
                          "value": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The label value"
                          }
                        }
                      },
                      "description": "Labels"
                    },
                    "messages": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "<string>"
                      },
                      "description": "Messages"
                    },
                    "metrics": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteGetExploratoryAnalysisResponse.Metric",
                        "type": "object",
                        "required": ["dimensions", "name"],
                        "properties": {
                          "calculation": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format scheduledMetricCalculations/abc/metricCalculations/def"
                          },
                          "calculationError": {
                            "type": "string",
                            "example": "<string>",
                            "description": "Reason calculation creation failed for this metric. Set instead of `calculation`/`scheduledCalculation` when the create/schedule step threw."
                          },
                          "dimensions": {
                            "type": "array",
                            "items": {
                              "name": "confidence.experiments.reanalysis.v1.ExecuteGetExploratoryAnalysisResponse.Metric.DimensionsItem",
                              "type": "object",
                              "required": ["column"],
                              "properties": {
                                "column": {
                                  "type": "string",
                                  "example": "<string>",
                                  "description": "The column name"
                                },
                                "dimensionTable": {
                                  "type": "string",
                                  "example": "<string>",
                                  "description": "A resource name on the format dimensionTables/abc"
                                },
                                "factTable": {
                                  "type": "string",
                                  "example": "<string>",
                                  "description": "A resource name on the format factTables/abc"
                                }
                              }
                            },
                            "description": "The dimensions for the metric"
                          },
                          "name": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format metrics/abc"
                          },
                          "scheduledCalculation": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format scheduledMetricCalculations/abc"
                          }
                        }
                      },
                      "description": "The metrics to analyze"
                    },
                    "name": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The analysis name"
                    },
                    "splitByExposureFilters": {
                      "type": "boolean",
                      "example": true,
                      "description": "Whether to split by exposure filters"
                    },
                    "startTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The start time of the analysis time window"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "STATE_UNSPECIFIED",
                        "EMPTY",
                        "CALCULATING",
                        "DONE",
                        "ERROR",
                        "STALE"
                      ],
                      "example": "EMPTY",
                      "description": "The analysis state"
                    },
                    "updateTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The update time"
                    },
                    "useCustomDateRange": {
                      "type": "boolean",
                      "example": true,
                      "description": "Whether the analysis uses a custom date range"
                    },
                    "useScheduledCalculation": {
                      "type": "boolean",
                      "example": true,
                      "description": "Use scheduled calculations instead of one-time calculations"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/workflows/reanalysis/instances/{instance}:getmandatorymetrics": {
      "post": {
        "operationId": "GetMandatoryMetric.execute",
        "description": "Executes the getMandatoryMetrics function.",
        "summary": "Execute GetMandatoryMetric",
        "parameters": [
          {
            "name": "instance",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "parameters": {
                    "type": "object",
                    "description": "Parameters for the function."
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "metadata": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteGetMandatoryMetricsResponse.MetricMetadata",
                        "type": "object",
                        "required": ["metric"],
                        "properties": {
                          "displayName": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The metric display name"
                          },
                          "metric": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The metric name"
                          }
                        }
                      },
                      "description": "Metadata for the mandatory metrics"
                    },
                    "metrics": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteGetMandatoryMetricsResponse.Metric",
                        "type": "object",
                        "required": ["metric"],
                        "properties": {
                          "calculation": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format scheduledMetricCalculations/abc/metricCalculations/def"
                          },
                          "metric": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format metrics/abc"
                          },
                          "metricRole": {
                            "name": "confidence.experiments.reanalysis.v1.ExecuteGetMandatoryMetricsResponse.Metric.MetricRole",
                            "type": "object",
                            "required": ["metricKind"],
                            "properties": {
                              "metricKind": {
                                "type": "string",
                                "enum": [
                                  "METRIC_KIND_UNSPECIFIED",
                                  "UNKNOWN",
                                  "SUCCESS",
                                  "GUARDRAIL"
                                ],
                                "example": "UNKNOWN",
                                "description": "The metric kind (success)"
                              },
                              "minimumDetectableEffect": {
                                "type": "number",
                                "example": 3.14,
                                "description": "The minimum detectable effect for this success metric"
                              },
                              "nonInferiorityMargin": {
                                "type": "number",
                                "example": 3.14,
                                "description": "The non-inferiority margin for this guardrail metric"
                              }
                            },
                            "description": "The metric role (success or guardrail)"
                          },
                          "preferredDirection": {
                            "type": "string",
                            "enum": [
                              "PREFERRED_DIRECTION_UNSPECIFIED",
                              "INCREASE",
                              "DECREASE",
                              "ANY"
                            ],
                            "example": "INCREASE",
                            "description": "The preferred direction for the metric"
                          },
                          "schedule": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format scheduledMetricCalculations/abc"
                          },
                          "surface": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format surfaces/abc"
                          },
                          "surfaceOnly": {
                            "type": "boolean",
                            "example": true,
                            "description": "Whether this metric is only from a surface"
                          }
                        }
                      },
                      "description": "The list of mandatory metrics"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/workflows/reanalysis/instances/{instance}:refreshexploratoryanalysiscalculations": {
      "post": {
        "operationId": "RefreshExploratoryAnalysisCalculation.execute",
        "description": "Executes the refreshExploratoryAnalysisCalculations function.",
        "summary": "Execute RefreshExploratoryAnalysisCalculation",
        "parameters": [
          {
            "name": "instance",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "parameters": {
                    "name": "confidence.experiments.reanalysis.v1.ExecuteRefreshExploratoryAnalysisCalculationsRequest.Parameters",
                    "type": "object",
                    "required": ["id"],
                    "properties": {
                      "id": {
                        "type": "string",
                        "example": "<string>",
                        "description": "The analysis id"
                      }
                    },
                    "description": "Parameters for the function."
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "analysisResults": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteRefreshExploratoryAnalysisCalculationsResponse.AnalysisResult",
                        "type": "object",
                        "required": ["analysisResult"],
                        "properties": {
                          "analysisResult": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format analysisResults/abc"
                          },
                          "exposureFilterName": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The exposure filter name"
                          }
                        }
                      },
                      "description": "Analysis results"
                    },
                    "conclusion": {
                      "name": "confidence.experiments.reanalysis.v1.ExecuteRefreshExploratoryAnalysisCalculationsResponse.Conclusion",
                      "type": "object",
                      "required": ["text", "updateTime"],
                      "properties": {
                        "text": {
                          "type": "string",
                          "example": "<string>",
                          "description": "The conclusion text"
                        },
                        "updateTime": {
                          "type": "string",
                          "example": "<string>",
                          "description": "The update time"
                        }
                      },
                      "description": "The conclusion"
                    },
                    "createTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The create time"
                    },
                    "createdBy": {
                      "type": "string",
                      "example": "<string>",
                      "description": "A resource name on the format users/abc"
                    },
                    "endTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The end time of the analysis time window"
                    },
                    "id": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The analysis id"
                    },
                    "labels": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteRefreshExploratoryAnalysisCalculationsResponse.Label",
                        "type": "object",
                        "required": ["key", "value"],
                        "properties": {
                          "key": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The label key"
                          },
                          "value": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The label value"
                          }
                        }
                      },
                      "description": "Labels"
                    },
                    "messages": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "<string>"
                      },
                      "description": "Messages"
                    },
                    "metrics": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.ExecuteRefreshExploratoryAnalysisCalculationsResponse.Metric",
                        "type": "object",
                        "required": ["dimensions", "name"],
                        "properties": {
                          "calculation": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format scheduledMetricCalculations/abc/metricCalculations/def"
                          },
                          "calculationError": {
                            "type": "string",
                            "example": "<string>",
                            "description": "Reason calculation creation failed for this metric. Set instead of `calculation`/`scheduledCalculation` when the create/schedule step threw."
                          },
                          "dimensions": {
                            "type": "array",
                            "items": {
                              "name": "confidence.experiments.reanalysis.v1.ExecuteRefreshExploratoryAnalysisCalculationsResponse.Metric.DimensionsItem",
                              "type": "object",
                              "required": ["column"],
                              "properties": {
                                "column": {
                                  "type": "string",
                                  "example": "<string>",
                                  "description": "The column name"
                                },
                                "dimensionTable": {
                                  "type": "string",
                                  "example": "<string>",
                                  "description": "A resource name on the format dimensionTables/abc"
                                },
                                "factTable": {
                                  "type": "string",
                                  "example": "<string>",
                                  "description": "A resource name on the format factTables/abc"
                                }
                              }
                            },
                            "description": "The dimensions for the metric"
                          },
                          "name": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format metrics/abc"
                          },
                          "scheduledCalculation": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format scheduledMetricCalculations/abc"
                          }
                        }
                      },
                      "description": "The metrics to analyze"
                    },
                    "name": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The analysis name"
                    },
                    "splitByExposureFilters": {
                      "type": "boolean",
                      "example": true,
                      "description": "Whether to split by exposure filters"
                    },
                    "startTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The start time of the analysis time window"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "STATE_UNSPECIFIED",
                        "EMPTY",
                        "CALCULATING",
                        "DONE",
                        "ERROR",
                        "STALE"
                      ],
                      "example": "EMPTY",
                      "description": "The analysis state"
                    },
                    "updateTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The update time"
                    },
                    "useCustomDateRange": {
                      "type": "boolean",
                      "example": true,
                      "description": "Whether the analysis uses a custom date range"
                    },
                    "useScheduledCalculation": {
                      "type": "boolean",
                      "example": true,
                      "description": "Use scheduled calculations instead of one-time calculations"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/workflows/reanalysis/instances/{instance}:retriggerexposure": {
      "post": {
        "operationId": "RetriggerExposure.execute",
        "description": "Retrigger the exposure calculation for this experiment. This will also retrigger all dependent metric calculations if 'retriggerDependentMetrics' is set to true.",
        "summary": "Execute RetriggerExposure",
        "parameters": [
          {
            "name": "instance",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "parameters": {
                    "name": "confidence.experiments.reanalysis.v1.ExecuteRetriggerExposureRequest.Parameters",
                    "type": "object",
                    "required": ["retriggerDependentMetrics"],
                    "properties": {
                      "retriggerDependentMetrics": {
                        "type": "boolean",
                        "example": true,
                        "description": "Whether to retrigger dependent metric calculations"
                      }
                    },
                    "description": "Parameters for the function."
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        }
      }
    },
    "/v1/workflows/reanalysis/instances/{instance}:retriggermetric": {
      "post": {
        "operationId": "RetriggerMetric.execute",
        "description": "Retrigger a specific metric calculation for this experiment.",
        "summary": "Execute RetriggerMetric",
        "parameters": [
          {
            "name": "instance",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "servers": [
          {
            "url": "https://experiments.confidence.dev"
          },
          {
            "url": "https://experiments.eu.confidence.dev"
          },
          {
            "url": "https://experiments.us.confidence.dev"
          }
        ],
        "security": [
          {
            "admin": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "parameters": {
                    "name": "confidence.experiments.reanalysis.v1.ExecuteRetriggerMetricRequest.Parameters",
                    "type": "object",
                    "required": ["metric"],
                    "properties": {
                      "metric": {
                        "type": "string",
                        "example": "<string>",
                        "description": "The metric to retrigger"
                      }
                    },
                    "description": "Parameters for the function."
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "confidence.experiments.reanalysis.v1.Reanalysis": {
        "type": "object",
        "description": "Represents a Reanalysis.",
        "properties": {
          "name": {
            "type": "string",
            "example": "<string>",
            "description": "Unique id of the instance for example `workflows/abtest/instances/vxpoqirnwawxzasv4tuu`."
          },
          "displayName": {
            "type": "string",
            "example": "<string>",
            "description": "Human-friendly name of this instance."
          },
          "owner": {
            "type": "string",
            "example": "<string>",
            "description": "The owner of the resource. If not set will default to the creator."
          },
          "state": {
            "type": "string",
            "example": "<string>",
            "description": "Current state of the workflow instance."
          },
          "jobQueue": {
            "name": "confidence.workflow.v1.WorkflowInstance.WorkflowJobQueue",
            "type": "object",
            "required": ["isEnabled"],
            "properties": {
              "isEnabled": {
                "type": "boolean",
                "example": true,
                "description": ""
              },
              "items": {
                "type": "array",
                "items": {
                  "name": "confidence.workflow.v1.WorkflowInstance.WorkflowJob",
                  "type": "object",
                  "required": ["key", "func", "runTime", "isActive"],
                  "properties": {
                    "key": {
                      "type": "string",
                      "example": "<string>",
                      "description": ""
                    },
                    "func": {
                      "type": "string",
                      "example": "<string>",
                      "description": ""
                    },
                    "runTime": {
                      "type": "string",
                      "format": "date-time",
                      "example": "2020-01-01T00:00:00Z",
                      "description": ""
                    },
                    "parameters": {
                      "type": "object",
                      "example": {},
                      "description": ""
                    },
                    "isActive": {
                      "type": "boolean",
                      "example": true,
                      "description": ""
                    }
                  }
                },
                "description": ""
              }
            },
            "description": ""
          },
          "pendingTransition": {
            "name": "confidence.workflow.v1.WorkflowInstance.PendingTransition",
            "type": "object",
            "required": ["transitionAction", "targetState"],
            "properties": {
              "transitionAction": {
                "type": "string",
                "example": "<string>",
                "description": "the action that was triggered"
              },
              "targetState": {
                "type": "string",
                "example": "<string>",
                "description": "the state that the workflow instance is attempting to transition to"
              },
              "succeededSteps": {
                "type": "array",
                "items": {
                  "type": "string",
                  "example": "<string>"
                },
                "description": "steps that have been completed as part of the transition"
              },
              "failedSteps": {
                "type": "array",
                "items": {
                  "name": "confidence.workflow.v1.WorkflowInstance.PendingTransition.FailedActionStep",
                  "type": "object",
                  "required": ["actionStep"],
                  "properties": {
                    "actionStep": {
                      "type": "string",
                      "example": "<string>",
                      "description": ""
                    },
                    "failuresMessages": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "<string>"
                      },
                      "description": ""
                    }
                  }
                },
                "description": "steps that have failed as part of the transition"
              },
              "unprocessedSteps": {
                "type": "array",
                "items": {
                  "type": "string",
                  "example": "<string>"
                },
                "description": "steps that have not yet been processed as part of the transition"
              },
              "succeededActions": {
                "type": "array",
                "items": {
                  "type": "string",
                  "example": "<string>"
                },
                "description": ""
              },
              "failedActions": {
                "type": "array",
                "items": {
                  "name": "confidence.workflow.v1.WorkflowInstance.PendingTransition.FailedAction",
                  "type": "object",
                  "required": ["action"],
                  "properties": {
                    "action": {
                      "type": "string",
                      "example": "<string>",
                      "description": ""
                    },
                    "failuresMessages": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "<string>"
                      },
                      "description": ""
                    }
                  }
                },
                "description": ""
              },
              "unprocessedActions": {
                "type": "array",
                "items": {
                  "type": "string",
                  "example": "<string>"
                },
                "description": ""
              }
            },
            "description": "if present, denotes information about an ongoing attempt to transition to another state"
          },
          "checks": {
            "type": "array",
            "items": {
              "name": "confidence.workflow.v1.WorkflowInstance.Check",
              "type": "object",
              "required": [
                "message",
                "state",
                "persist",
                "createTime",
                "updateTime",
                "creator",
                "updater"
              ],
              "properties": {
                "name": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The name of the check, for example, `workflows/abtest/instances/vxpoqirnwawxzasv4tuu/checks/ndcrhu0tzbin85xzpszv."
                },
                "displayName": {
                  "type": "string",
                  "example": "<string>",
                  "description": "display name of the check"
                },
                "message": {
                  "type": "string",
                  "example": "<string>",
                  "description": "Status message of a check."
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "STATE_UNSPECIFIED",
                    "PENDING",
                    "SUCCEEDED",
                    "FAILED"
                  ],
                  "example": "PENDING",
                  "description": "\n The state of the check."
                },
                "persist": {
                  "type": "boolean",
                  "example": true,
                  "description": "Determines whether the check should be kept between state transitions."
                },
                "parent": {
                  "type": "string",
                  "example": "<string>",
                  "description": "\n A possible parent check that this check is nested under."
                },
                "data": {
                  "name": "google.protobuf.Value",
                  "type": "object",
                  "required": [],
                  "properties": {
                    "nullValue": {
                      "type": "string",
                      "enum": ["NULL_VALUE"],
                      "example": "NULL_VALUE",
                      "description": ""
                    },
                    "numberValue": {
                      "type": "number",
                      "example": 3.14,
                      "description": ""
                    },
                    "stringValue": {
                      "type": "string",
                      "example": "<string>",
                      "description": ""
                    },
                    "boolValue": {
                      "type": "boolean",
                      "example": true,
                      "description": ""
                    },
                    "structValue": {
                      "type": "object",
                      "example": {},
                      "description": ""
                    },
                    "listValue": {
                      "name": "google.protobuf.ListValue",
                      "type": "object",
                      "required": [],
                      "properties": {
                        "values": {
                          "type": "array",
                          "items": {
                            "type": "object"
                          },
                          "description": ""
                        }
                      },
                      "description": ""
                    }
                  },
                  "description": "Custom data for the check."
                },
                "labels": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string",
                    "example": "<string>"
                  },
                  "description": "Custom labels for this check."
                },
                "createTime": {
                  "type": "string",
                  "format": "date-time",
                  "example": "2020-01-01T00:00:00Z",
                  "description": "Time when the check was first created."
                },
                "updateTime": {
                  "type": "string",
                  "format": "date-time",
                  "example": "2020-01-01T00:00:00Z",
                  "description": "Time when the entity was last updated."
                },
                "creator": {
                  "type": "string",
                  "example": "<string>",
                  "description": "Reference to the identity that created this check."
                },
                "updater": {
                  "type": "string",
                  "example": "<string>",
                  "description": "Reference to the identity that last updated this check."
                }
              }
            },
            "description": "A check is a named boolean value that can be used to report possible errors when a workflow\n instance is in a certain state."
          },
          "stateHistory": {
            "type": "array",
            "items": {
              "name": "confidence.workflow.v1.WorkflowInstance.StateHistory",
              "type": "object",
              "required": [],
              "properties": {
                "state": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The historical state"
                },
                "enteredTime": {
                  "type": "string",
                  "format": "date-time",
                  "example": "2020-01-01T00:00:00Z",
                  "description": "The timestamp at which the workflow instance entered this state"
                },
                "exitedTime": {
                  "type": "string",
                  "format": "date-time",
                  "example": "2020-01-01T00:00:00Z",
                  "description": "The timestamp at which the workflow instance exited this state"
                },
                "actualEnteredTime": {
                  "type": "string",
                  "format": "date-time",
                  "example": "2020-01-01T00:00:00Z",
                  "description": "The actual timestamp, as defined by an external system, that the workflow instance entered this state"
                },
                "actualExitedTime": {
                  "type": "string",
                  "format": "date-time",
                  "example": "2020-01-01T00:00:00Z",
                  "description": "The actual timestamp, as defined by an external system, that the workflow instance exited this state"
                },
                "checks": {
                  "type": "array",
                  "items": {
                    "name": "confidence.workflow.v1.WorkflowInstance.Check",
                    "type": "object",
                    "required": [
                      "message",
                      "state",
                      "persist",
                      "createTime",
                      "updateTime",
                      "creator",
                      "updater"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "example": "<string>",
                        "description": "The name of the check, for example, `workflows/abtest/instances/vxpoqirnwawxzasv4tuu/checks/ndcrhu0tzbin85xzpszv."
                      },
                      "displayName": {
                        "type": "string",
                        "example": "<string>",
                        "description": "display name of the check"
                      },
                      "message": {
                        "type": "string",
                        "example": "<string>",
                        "description": "Status message of a check."
                      },
                      "state": {
                        "type": "string",
                        "enum": [
                          "STATE_UNSPECIFIED",
                          "PENDING",
                          "SUCCEEDED",
                          "FAILED"
                        ],
                        "example": "PENDING",
                        "description": "\n The state of the check."
                      },
                      "persist": {
                        "type": "boolean",
                        "example": true,
                        "description": "Determines whether the check should be kept between state transitions."
                      },
                      "parent": {
                        "type": "string",
                        "example": "<string>",
                        "description": "\n A possible parent check that this check is nested under."
                      },
                      "data": {
                        "name": "google.protobuf.Value",
                        "type": "object",
                        "required": [],
                        "properties": {
                          "nullValue": {
                            "type": "string",
                            "enum": ["NULL_VALUE"],
                            "example": "NULL_VALUE",
                            "description": ""
                          },
                          "numberValue": {
                            "type": "number",
                            "example": 3.14,
                            "description": ""
                          },
                          "stringValue": {
                            "type": "string",
                            "example": "<string>",
                            "description": ""
                          },
                          "boolValue": {
                            "type": "boolean",
                            "example": true,
                            "description": ""
                          },
                          "structValue": {
                            "type": "object",
                            "example": {},
                            "description": ""
                          },
                          "listValue": {
                            "name": "google.protobuf.ListValue",
                            "type": "object",
                            "required": [],
                            "properties": {
                              "values": {
                                "type": "array",
                                "items": {
                                  "type": "object"
                                },
                                "description": ""
                              }
                            },
                            "description": ""
                          }
                        },
                        "description": "Custom data for the check."
                      },
                      "labels": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string",
                          "example": "<string>"
                        },
                        "description": "Custom labels for this check."
                      },
                      "createTime": {
                        "type": "string",
                        "format": "date-time",
                        "example": "2020-01-01T00:00:00Z",
                        "description": "Time when the check was first created."
                      },
                      "updateTime": {
                        "type": "string",
                        "format": "date-time",
                        "example": "2020-01-01T00:00:00Z",
                        "description": "Time when the entity was last updated."
                      },
                      "creator": {
                        "type": "string",
                        "example": "<string>",
                        "description": "Reference to the identity that created this check."
                      },
                      "updater": {
                        "type": "string",
                        "example": "<string>",
                        "description": "Reference to the identity that last updated this check."
                      }
                    }
                  },
                  "description": "All the checks that were present when the workflow instance transitioned away from this state"
                }
              }
            },
            "description": "A historical record of previous states that the workflow instance was in."
          },
          "possibleTransitions": {
            "type": "array",
            "items": {
              "type": "string",
              "example": "<string>"
            },
            "description": "The transitions that this workflow instance can do from its current state."
          },
          "lockedDataKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "example": "<string>"
            },
            "description": "Module data keys that are currently locked."
          },
          "workflowVersion": {
            "type": "string",
            "example": "<string>",
            "description": "Version of the workflow that this instance is running."
          },
          "surfaces": {
            "type": "array",
            "items": {
              "type": "string",
              "example": "<string>"
            },
            "description": "A set of surfaces that this workflow instance belongs to."
          },
          "transitionStatus": {
            "name": "confidence.workflow.v1.WorkflowInstance.TransitionStatus",
            "type": "object",
            "required": ["action", "initiator"],
            "properties": {
              "action": {
                "type": "string",
                "example": "<string>",
                "description": ""
              },
              "initiator": {
                "type": "string",
                "example": "<string>",
                "description": ""
              },
              "running": {
                "name": "confidence.workflow.v1.WorkflowInstance.TransitionStatus.Running",
                "type": "object",
                "required": ["startTime"],
                "properties": {
                  "startTime": {
                    "type": "string",
                    "format": "date-time",
                    "example": "2020-01-01T00:00:00Z",
                    "description": "The time when the transition was started."
                  }
                },
                "description": ""
              },
              "completed": {
                "name": "confidence.workflow.v1.WorkflowInstance.TransitionStatus.Completed",
                "type": "object",
                "required": ["startTime", "endTime"],
                "properties": {
                  "startTime": {
                    "type": "string",
                    "format": "date-time",
                    "example": "2020-01-01T00:00:00Z",
                    "description": "The time when the transition was started."
                  },
                  "endTime": {
                    "type": "string",
                    "format": "date-time",
                    "example": "2020-01-01T00:00:00Z",
                    "description": "The time when the transition was completed."
                  }
                },
                "description": ""
              },
              "failed": {
                "name": "confidence.workflow.v1.WorkflowInstance.TransitionStatus.Failed",
                "type": "object",
                "required": ["startTime", "endTime", "error"],
                "properties": {
                  "startTime": {
                    "type": "string",
                    "format": "date-time",
                    "example": "2020-01-01T00:00:00Z",
                    "description": "The time when the transition was started."
                  },
                  "endTime": {
                    "type": "string",
                    "format": "date-time",
                    "example": "2020-01-01T00:00:00Z",
                    "description": "The time when the transition failed."
                  },
                  "error": {
                    "type": "string",
                    "example": "<string>",
                    "description": "The error message of the failure."
                  }
                },
                "description": ""
              }
            },
            "description": "The status of the latest transition for the instance."
          },
          "createTime": {
            "type": "string",
            "format": "date-time",
            "example": "2020-01-01T00:00:00Z",
            "description": "Time when the workflow instance was created."
          },
          "updateTime": {
            "type": "string",
            "format": "date-time",
            "example": "2020-01-01T00:00:00Z",
            "description": "Time when the workflow instance was last updated."
          },
          "deleteTime": {
            "type": "string",
            "format": "date-time",
            "example": "2020-01-01T00:00:00Z",
            "description": "Time when the workflow instance was deleted."
          },
          "creator": {
            "type": "string",
            "example": "<string>",
            "description": "Reference to the identity that created this workflow instance."
          },
          "updater": {
            "type": "string",
            "example": "<string>",
            "description": "Reference to the identity that last updated this workflow instance."
          },
          "labels": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "example": "<string>"
            },
            "description": "Generic labels for the workflow instance."
          },
          "decision": {
            "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.DecisionRecordData",
            "description": "Module data for decision"
          },
          "explore": {
            "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.ExploreData",
            "description": "Module data for explore"
          },
          "exposure": {
            "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.ExposureData",
            "description": "Module data for exposure"
          },
          "hypothesis": {
            "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.HypothesisData",
            "description": "Module data for hypothesis"
          },
          "metrics": {
            "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.MetricsData",
            "description": "Module data for metrics"
          },
          "planning": {
            "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.PlanningData",
            "description": "Module data for planning"
          },
          "reanalysis": {
            "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.ReanalysisData",
            "description": "Module data for reanalysis"
          },
          "report": {
            "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.ReportData",
            "description": "Module data for report"
          },
          "stats": {
            "$ref": "#/components/schemas/confidence.experiments.reanalysis.v1.Reanalysis.StatsData",
            "description": "Module data for stats"
          }
        }
      },
      "confidence.experiments.reanalysis.v1.Reanalysis.DecisionRecordData": {
        "type": "object",
        "description": "Module data for decision",
        "properties": {
          "conclusion": {
            "type": "string",
            "example": "<string>",
            "description": "The decision conclusion"
          },
          "outcome": {
            "type": "string",
            "enum": [
              "OUTCOME_UNSPECIFIED",
              "shipped",
              "abandoned",
              "aborted",
              "restarted"
            ],
            "example": "shipped",
            "description": "The decision outcome"
          },
          "treatment": {
            "type": "string",
            "example": "<string>",
            "description": "The selected treatment"
          }
        }
      },
      "confidence.experiments.reanalysis.v1.Reanalysis.ExploreData": {
        "type": "object",
        "description": "Module data for explore",
        "properties": {
          "exploratoryAnalyses": {
            "type": "array",
            "items": {
              "name": "confidence.experiments.reanalysis.v1.Reanalysis.ExploreData.Analysis",
              "type": "object",
              "required": [
                "createTime",
                "id",
                "messages",
                "metrics",
                "name",
                "state",
                "updateTime"
              ],
              "properties": {
                "analysisResults": {
                  "type": "array",
                  "items": {
                    "name": "confidence.experiments.reanalysis.v1.Reanalysis.ExploreData.Analysis.AnalysisResult",
                    "type": "object",
                    "required": ["analysisResult"],
                    "properties": {
                      "analysisResult": {
                        "type": "string",
                        "example": "<string>",
                        "description": "A resource name on the format analysisResults/abc"
                      },
                      "exposureFilterName": {
                        "type": "string",
                        "example": "<string>",
                        "description": "The exposure filter name"
                      }
                    }
                  },
                  "description": "Analysis results"
                },
                "conclusion": {
                  "name": "confidence.experiments.reanalysis.v1.Reanalysis.ExploreData.Analysis.Conclusion",
                  "type": "object",
                  "required": ["text", "updateTime"],
                  "properties": {
                    "text": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The conclusion text"
                    },
                    "updateTime": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The update time"
                    }
                  },
                  "description": "The conclusion"
                },
                "createTime": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The create time"
                },
                "createdBy": {
                  "type": "string",
                  "example": "<string>",
                  "description": "A resource name on the format users/abc"
                },
                "endTime": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The end time of the analysis time window"
                },
                "id": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The analysis id"
                },
                "labels": {
                  "type": "array",
                  "items": {
                    "name": "confidence.experiments.reanalysis.v1.Reanalysis.ExploreData.Analysis.Label",
                    "type": "object",
                    "required": ["key", "value"],
                    "properties": {
                      "key": {
                        "type": "string",
                        "example": "<string>",
                        "description": "The label key"
                      },
                      "value": {
                        "type": "string",
                        "example": "<string>",
                        "description": "The label value"
                      }
                    }
                  },
                  "description": "Labels"
                },
                "messages": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "example": "<string>"
                  },
                  "description": "Messages"
                },
                "metrics": {
                  "type": "array",
                  "items": {
                    "name": "confidence.experiments.reanalysis.v1.Reanalysis.ExploreData.Analysis.Metric",
                    "type": "object",
                    "required": ["dimensions", "name"],
                    "properties": {
                      "calculation": {
                        "type": "string",
                        "example": "<string>",
                        "description": "A resource name on the format scheduledMetricCalculations/abc/metricCalculations/def"
                      },
                      "calculationError": {
                        "type": "string",
                        "example": "<string>",
                        "description": "Reason calculation creation failed for this metric. Set instead of `calculation`/`scheduledCalculation` when the create/schedule step threw."
                      },
                      "dimensions": {
                        "type": "array",
                        "items": {
                          "name": "confidence.experiments.reanalysis.v1.Reanalysis.ExploreData.Analysis.Metric.DimensionsItem",
                          "type": "object",
                          "required": ["column"],
                          "properties": {
                            "column": {
                              "type": "string",
                              "example": "<string>",
                              "description": "The column name"
                            },
                            "dimensionTable": {
                              "type": "string",
                              "example": "<string>",
                              "description": "A resource name on the format dimensionTables/abc"
                            },
                            "factTable": {
                              "type": "string",
                              "example": "<string>",
                              "description": "A resource name on the format factTables/abc"
                            }
                          }
                        },
                        "description": "The dimensions for the metric"
                      },
                      "name": {
                        "type": "string",
                        "example": "<string>",
                        "description": "A resource name on the format metrics/abc"
                      },
                      "scheduledCalculation": {
                        "type": "string",
                        "example": "<string>",
                        "description": "A resource name on the format scheduledMetricCalculations/abc"
                      }
                    }
                  },
                  "description": "The metrics to analyze"
                },
                "name": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The analysis name"
                },
                "splitByExposureFilters": {
                  "type": "boolean",
                  "example": true,
                  "description": "Whether to split by exposure filters"
                },
                "startTime": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The start time of the analysis time window"
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "STATE_UNSPECIFIED",
                    "EMPTY",
                    "CALCULATING",
                    "DONE",
                    "ERROR",
                    "STALE"
                  ],
                  "example": "EMPTY",
                  "description": "The analysis state"
                },
                "updateTime": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The update time"
                },
                "useCustomDateRange": {
                  "type": "boolean",
                  "example": true,
                  "description": "Whether the analysis uses a custom date range"
                },
                "useScheduledCalculation": {
                  "type": "boolean",
                  "example": true,
                  "description": "Use scheduled calculations instead of one-time calculations"
                }
              }
            },
            "description": "The list of exploratory analyses"
          }
        }
      },
      "confidence.experiments.reanalysis.v1.Reanalysis.ExposureData": {
        "type": "object",
        "description": "Module data for exposure",
        "properties": {
          "exposure": {
            "type": "array",
            "items": {
              "name": "confidence.experiments.reanalysis.v1.Reanalysis.ExposureData.ExposureEntry",
              "type": "object",
              "required": ["totalExposureCount", "treatment"],
              "properties": {
                "exposureFilter": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The exposure filter name"
                },
                "totalExposureCount": {
                  "type": "integer",
                  "example": 1,
                  "description": "Total exposure count"
                },
                "treatment": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The treatment identifier"
                }
              }
            },
            "description": "Exposure entries"
          }
        }
      },
      "confidence.experiments.reanalysis.v1.Reanalysis.HypothesisData": {
        "type": "object",
        "description": "Module data for hypothesis",
        "properties": {
          "text": {
            "type": "string",
            "example": "<string>",
            "description": "The hypothesis text"
          }
        }
      },
      "confidence.experiments.reanalysis.v1.Reanalysis.MetricsData": {
        "type": "object",
        "description": "Module data for metrics",
        "properties": {
          "assignmentTable": {
            "type": "string",
            "example": "<string>",
            "description": "A resource name on the format assignmentTables/abc"
          },
          "assignmentTableSource": {
            "type": "string",
            "enum": ["ASSIGNMENT_TABLE_SOURCE_UNSPECIFIED", "AUTO", "MANUAL"],
            "example": "AUTO",
            "description": "Whether assignmentTable is derived from the entity (AUTO) or set by the user (MANUAL). Defaults to AUTO when unset."
          },
          "bucket": {
            "type": "string",
            "enum": [
              "BUCKET_UNSPECIFIED",
              "BUCKETING_TEMPORAL_UNIT_UNSPECIFIED",
              "HOURS",
              "DAYS"
            ],
            "example": "BUCKETING_TEMPORAL_UNIT_UNSPECIFIED",
            "description": "The bucketing temporal unit for metric collection"
          },
          "entity": {
            "type": "string",
            "example": "<string>",
            "description": "A resource name on the format entities/abc"
          },
          "entitySource": {
            "type": "string",
            "enum": ["ENTITY_SOURCE_UNSPECIFIED", "AUTO", "MANUAL"],
            "example": "AUTO",
            "description": "Whether entity is derived from the targeting key (AUTO) or set by the user (MANUAL). Defaults to AUTO when unset."
          },
          "exposureCalculation": {
            "type": "string",
            "example": "<string>",
            "description": "A resource name on the format exposureCalculations/abc"
          },
          "exposureFilter": {
            "name": "confidence.experiments.reanalysis.v1.Reanalysis.MetricsData.ExposureFilter",
            "type": "object",
            "required": [],
            "properties": {
              "displayName": {
                "type": "string",
                "example": "<string>",
                "description": "Display name for the exposure filter"
              },
              "factTable": {
                "type": "string",
                "example": "<string>",
                "description": "A resource name on the format factTables/abc"
              },
              "filter": {
                "name": "confidence.metrics.v1.Filter",
                "type": "object",
                "required": ["criteria", "expression"],
                "properties": {
                  "criteria": {
                    "type": "object",
                    "additionalProperties": {
                      "name": "confidence.metrics.v1.Filter.Criterion",
                      "type": "object",
                      "required": [],
                      "properties": {
                        "attribute": {
                          "name": "confidence.metrics.v1.Filter.Criterion.AttributeCriterion",
                          "type": "object",
                          "required": ["attribute"],
                          "properties": {
                            "attribute": {
                              "type": "string",
                              "example": "<string>",
                              "description": "The name of the attribute"
                            },
                            "eqRule": {
                              "name": "confidence.metrics.v1.Filter.EqRule",
                              "type": "object",
                              "required": ["value"],
                              "properties": {
                                "value": {
                                  "name": "confidence.metrics.v1.Filter.Value",
                                  "type": "object",
                                  "required": [],
                                  "properties": {
                                    "boolValue": {
                                      "type": "boolean",
                                      "example": true,
                                      "description": ""
                                    },
                                    "numberValue": {
                                      "type": "number",
                                      "example": 3.14,
                                      "description": ""
                                    },
                                    "stringValue": {
                                      "type": "string",
                                      "example": "<string>",
                                      "description": ""
                                    },
                                    "timestampValue": {
                                      "type": "string",
                                      "format": "date-time",
                                      "example": "2020-01-01T00:00:00Z",
                                      "description": ""
                                    },
                                    "nullValue": {
                                      "name": "confidence.metrics.v1.Filter.Value.Null",
                                      "type": "object",
                                      "required": [],
                                      "properties": {
                                        "dummyField": {
                                          "type": "string",
                                          "example": "<string>",
                                          "description": "Dummy field to make the type not empty"
                                        }
                                      },
                                      "description": ""
                                    }
                                  },
                                  "description": "equality (==, !=, ∈) defined for all types\n comparison ({\"<\"}, {\"<\"}=, {\">\"}, {\">\"}=) defined for number, timestamp, version\n "
                                }
                              },
                              "description": "The value must be equal to the criterion"
                            },
                            "setRule": {
                              "name": "confidence.metrics.v1.Filter.SetRule",
                              "type": "object",
                              "required": ["values"],
                              "properties": {
                                "values": {
                                  "type": "array",
                                  "items": {
                                    "name": "confidence.metrics.v1.Filter.Value",
                                    "type": "object",
                                    "required": [],
                                    "properties": {
                                      "boolValue": {
                                        "type": "boolean",
                                        "example": true,
                                        "description": ""
                                      },
                                      "numberValue": {
                                        "type": "number",
                                        "example": 3.14,
                                        "description": ""
                                      },
                                      "stringValue": {
                                        "type": "string",
                                        "example": "<string>",
                                        "description": ""
                                      },
                                      "timestampValue": {
                                        "type": "string",
                                        "format": "date-time",
                                        "example": "2020-01-01T00:00:00Z",
                                        "description": ""
                                      },
                                      "nullValue": {
                                        "name": "confidence.metrics.v1.Filter.Value.Null",
                                        "type": "object",
                                        "required": [],
                                        "properties": {
                                          "dummyField": {
                                            "type": "string",
                                            "example": "<string>",
                                            "description": "Dummy field to make the type not empty"
                                          }
                                        },
                                        "description": ""
                                      }
                                    }
                                  },
                                  "description": "equality (==, !=, ∈) defined for all types\n comparison ({\"<\"}, {\"<\"}=, {\">\"}, {\">\"}=) defined for number, timestamp, version\n "
                                }
                              },
                              "description": "The value must be in the set of values"
                            },
                            "rangeRule": {
                              "name": "confidence.metrics.v1.Filter.RangeRule",
                              "type": "object",
                              "required": [],
                              "properties": {
                                "startInclusive": {
                                  "name": "confidence.metrics.v1.Filter.Value",
                                  "type": "object",
                                  "required": [],
                                  "properties": {
                                    "boolValue": {
                                      "type": "boolean",
                                      "example": true,
                                      "description": ""
                                    },
                                    "numberValue": {
                                      "type": "number",
                                      "example": 3.14,
                                      "description": ""
                                    },
                                    "stringValue": {
                                      "type": "string",
                                      "example": "<string>",
                                      "description": ""
                                    },
                                    "timestampValue": {
                                      "type": "string",
                                      "format": "date-time",
                                      "example": "2020-01-01T00:00:00Z",
                                      "description": ""
                                    },
                                    "nullValue": {
                                      "name": "confidence.metrics.v1.Filter.Value.Null",
                                      "type": "object",
                                      "required": [],
                                      "properties": {
                                        "dummyField": {
                                          "type": "string",
                                          "example": "<string>",
                                          "description": "Dummy field to make the type not empty"
                                        }
                                      },
                                      "description": ""
                                    }
                                  },
                                  "description": "equality (==, !=, ∈) defined for all types\n comparison ({\"<\"}, {\"<\"}=, {\">\"}, {\">\"}=) defined for number, timestamp, version\n "
                                },
                                "startExclusive": {
                                  "name": "confidence.metrics.v1.Filter.Value",
                                  "type": "object",
                                  "required": [],
                                  "properties": {
                                    "boolValue": {
                                      "type": "boolean",
                                      "example": true,
                                      "description": ""
                                    },
                                    "numberValue": {
                                      "type": "number",
                                      "example": 3.14,
                                      "description": ""
                                    },
                                    "stringValue": {
                                      "type": "string",
                                      "example": "<string>",
                                      "description": ""
                                    },
                                    "timestampValue": {
                                      "type": "string",
                                      "format": "date-time",
                                      "example": "2020-01-01T00:00:00Z",
                                      "description": ""
                                    },
                                    "nullValue": {
                                      "name": "confidence.metrics.v1.Filter.Value.Null",
                                      "type": "object",
                                      "required": [],
                                      "properties": {
                                        "dummyField": {
                                          "type": "string",
                                          "example": "<string>",
                                          "description": "Dummy field to make the type not empty"
                                        }
                                      },
                                      "description": ""
                                    }
                                  },
                                  "description": "equality (==, !=, ∈) defined for all types\n comparison ({\"<\"}, {\"<\"}=, {\">\"}, {\">\"}=) defined for number, timestamp, version\n "
                                },
                                "endInclusive": {
                                  "name": "confidence.metrics.v1.Filter.Value",
                                  "type": "object",
                                  "required": [],
                                  "properties": {
                                    "boolValue": {
                                      "type": "boolean",
                                      "example": true,
                                      "description": ""
                                    },
                                    "numberValue": {
                                      "type": "number",
                                      "example": 3.14,
                                      "description": ""
                                    },
                                    "stringValue": {
                                      "type": "string",
                                      "example": "<string>",
                                      "description": ""
                                    },
                                    "timestampValue": {
                                      "type": "string",
                                      "format": "date-time",
                                      "example": "2020-01-01T00:00:00Z",
                                      "description": ""
                                    },
                                    "nullValue": {
                                      "name": "confidence.metrics.v1.Filter.Value.Null",
                                      "type": "object",
                                      "required": [],
                                      "properties": {
                                        "dummyField": {
                                          "type": "string",
                                          "example": "<string>",
                                          "description": "Dummy field to make the type not empty"
                                        }
                                      },
                                      "description": ""
                                    }
                                  },
                                  "description": "equality (==, !=, ∈) defined for all types\n comparison ({\"<\"}, {\"<\"}=, {\">\"}, {\">\"}=) defined for number, timestamp, version\n "
                                },
                                "endExclusive": {
                                  "name": "confidence.metrics.v1.Filter.Value",
                                  "type": "object",
                                  "required": [],
                                  "properties": {
                                    "boolValue": {
                                      "type": "boolean",
                                      "example": true,
                                      "description": ""
                                    },
                                    "numberValue": {
                                      "type": "number",
                                      "example": 3.14,
                                      "description": ""
                                    },
                                    "stringValue": {
                                      "type": "string",
                                      "example": "<string>",
                                      "description": ""
                                    },
                                    "timestampValue": {
                                      "type": "string",
                                      "format": "date-time",
                                      "example": "2020-01-01T00:00:00Z",
                                      "description": ""
                                    },
                                    "nullValue": {
                                      "name": "confidence.metrics.v1.Filter.Value.Null",
                                      "type": "object",
                                      "required": [],
                                      "properties": {
                                        "dummyField": {
                                          "type": "string",
                                          "example": "<string>",
                                          "description": "Dummy field to make the type not empty"
                                        }
                                      },
                                      "description": ""
                                    }
                                  },
                                  "description": "equality (==, !=, ∈) defined for all types\n comparison ({\"<\"}, {\"<\"}=, {\">\"}, {\">\"}=) defined for number, timestamp, version\n "
                                }
                              },
                              "description": "The value must be in the range"
                            }
                          },
                          "description": "A criterion for an attribute (typically a table column)"
                        }
                      }
                    },
                    "description": "The filter criteria"
                  },
                  "expression": {
                    "name": "confidence.metrics.v1.Expression",
                    "type": "object",
                    "required": [],
                    "properties": {
                      "ref": {
                        "type": "string",
                        "example": "<string>",
                        "description": ""
                      },
                      "not": {
                        "type": "object",
                        "description": "A boolean expression with leaf nodes that reference criteria elements\n "
                      },
                      "and": {
                        "name": "confidence.metrics.v1.Expression.Operands",
                        "type": "object",
                        "required": ["operands"],
                        "properties": {
                          "operands": {
                            "type": "array",
                            "items": {
                              "type": "object"
                            },
                            "description": "A boolean expression with leaf nodes that reference criteria elements\n "
                          }
                        },
                        "description": ""
                      },
                      "or": {
                        "name": "confidence.metrics.v1.Expression.Operands",
                        "type": "object",
                        "required": ["operands"],
                        "properties": {
                          "operands": {
                            "type": "array",
                            "items": {
                              "type": "object"
                            },
                            "description": "A boolean expression with leaf nodes that reference criteria elements\n "
                          }
                        },
                        "description": ""
                      }
                    },
                    "description": "The filter expressions"
                  }
                },
                "description": "Filter configuration"
              }
            },
            "description": "The exposure filter configuration"
          },
          "exposureMetric": {
            "type": "string",
            "example": "<string>",
            "description": "A resource name on the format metrics/abc"
          },
          "exposureMetricCalculation": {
            "type": "string",
            "example": "<string>",
            "description": "A resource name on the format scheduledMetricCalculations/abc/metricCalculations/def"
          },
          "exposureMetricSchedule": {
            "type": "string",
            "example": "<string>",
            "description": "A resource name on the format scheduledMetricCalculations/abc"
          },
          "exposureTable": {
            "type": "string",
            "example": "<string>",
            "description": "A resource name on the format exposureTables/abc"
          },
          "exposureTableSchedule": {
            "type": "string",
            "example": "<string>",
            "description": "A resource name on the format scheduledExposureCalculations/abc"
          },
          "filters": {
            "type": "array",
            "items": {
              "name": "confidence.experiments.reanalysis.v1.Reanalysis.MetricsData.ExposureFilter",
              "type": "object",
              "required": [],
              "properties": {
                "displayName": {
                  "type": "string",
                  "example": "<string>",
                  "description": "Display name for the exposure filter"
                },
                "factTable": {
                  "type": "string",
                  "example": "<string>",
                  "description": "A resource name on the format factTables/abc"
                },
                "filter": {
                  "name": "confidence.metrics.v1.Filter",
                  "type": "object",
                  "required": ["criteria", "expression"],
                  "properties": {
                    "criteria": {
                      "type": "object",
                      "additionalProperties": {
                        "name": "confidence.metrics.v1.Filter.Criterion",
                        "type": "object",
                        "required": [],
                        "properties": {
                          "attribute": {
                            "name": "confidence.metrics.v1.Filter.Criterion.AttributeCriterion",
                            "type": "object",
                            "required": ["attribute"],
                            "properties": {
                              "attribute": {
                                "type": "string",
                                "example": "<string>",
                                "description": "The name of the attribute"
                              },
                              "eqRule": {
                                "name": "confidence.metrics.v1.Filter.EqRule",
                                "type": "object",
                                "required": ["value"],
                                "properties": {
                                  "value": {
                                    "name": "confidence.metrics.v1.Filter.Value",
                                    "type": "object",
                                    "required": [],
                                    "properties": {
                                      "boolValue": {
                                        "type": "boolean",
                                        "example": true,
                                        "description": ""
                                      },
                                      "numberValue": {
                                        "type": "number",
                                        "example": 3.14,
                                        "description": ""
                                      },
                                      "stringValue": {
                                        "type": "string",
                                        "example": "<string>",
                                        "description": ""
                                      },
                                      "timestampValue": {
                                        "type": "string",
                                        "format": "date-time",
                                        "example": "2020-01-01T00:00:00Z",
                                        "description": ""
                                      },
                                      "nullValue": {
                                        "name": "confidence.metrics.v1.Filter.Value.Null",
                                        "type": "object",
                                        "required": [],
                                        "properties": {
                                          "dummyField": {
                                            "type": "string",
                                            "example": "<string>",
                                            "description": "Dummy field to make the type not empty"
                                          }
                                        },
                                        "description": ""
                                      }
                                    },
                                    "description": "equality (==, !=, ∈) defined for all types\n comparison ({\"<\"}, {\"<\"}=, {\">\"}, {\">\"}=) defined for number, timestamp, version\n "
                                  }
                                },
                                "description": "The value must be equal to the criterion"
                              },
                              "setRule": {
                                "name": "confidence.metrics.v1.Filter.SetRule",
                                "type": "object",
                                "required": ["values"],
                                "properties": {
                                  "values": {
                                    "type": "array",
                                    "items": {
                                      "name": "confidence.metrics.v1.Filter.Value",
                                      "type": "object",
                                      "required": [],
                                      "properties": {
                                        "boolValue": {
                                          "type": "boolean",
                                          "example": true,
                                          "description": ""
                                        },
                                        "numberValue": {
                                          "type": "number",
                                          "example": 3.14,
                                          "description": ""
                                        },
                                        "stringValue": {
                                          "type": "string",
                                          "example": "<string>",
                                          "description": ""
                                        },
                                        "timestampValue": {
                                          "type": "string",
                                          "format": "date-time",
                                          "example": "2020-01-01T00:00:00Z",
                                          "description": ""
                                        },
                                        "nullValue": {
                                          "name": "confidence.metrics.v1.Filter.Value.Null",
                                          "type": "object",
                                          "required": [],
                                          "properties": {
                                            "dummyField": {
                                              "type": "string",
                                              "example": "<string>",
                                              "description": "Dummy field to make the type not empty"
                                            }
                                          },
                                          "description": ""
                                        }
                                      }
                                    },
                                    "description": "equality (==, !=, ∈) defined for all types\n comparison ({\"<\"}, {\"<\"}=, {\">\"}, {\">\"}=) defined for number, timestamp, version\n "
                                  }
                                },
                                "description": "The value must be in the set of values"
                              },
                              "rangeRule": {
                                "name": "confidence.metrics.v1.Filter.RangeRule",
                                "type": "object",
                                "required": [],
                                "properties": {
                                  "startInclusive": {
                                    "name": "confidence.metrics.v1.Filter.Value",
                                    "type": "object",
                                    "required": [],
                                    "properties": {
                                      "boolValue": {
                                        "type": "boolean",
                                        "example": true,
                                        "description": ""
                                      },
                                      "numberValue": {
                                        "type": "number",
                                        "example": 3.14,
                                        "description": ""
                                      },
                                      "stringValue": {
                                        "type": "string",
                                        "example": "<string>",
                                        "description": ""
                                      },
                                      "timestampValue": {
                                        "type": "string",
                                        "format": "date-time",
                                        "example": "2020-01-01T00:00:00Z",
                                        "description": ""
                                      },
                                      "nullValue": {
                                        "name": "confidence.metrics.v1.Filter.Value.Null",
                                        "type": "object",
                                        "required": [],
                                        "properties": {
                                          "dummyField": {
                                            "type": "string",
                                            "example": "<string>",
                                            "description": "Dummy field to make the type not empty"
                                          }
                                        },
                                        "description": ""
                                      }
                                    },
                                    "description": "equality (==, !=, ∈) defined for all types\n comparison ({\"<\"}, {\"<\"}=, {\">\"}, {\">\"}=) defined for number, timestamp, version\n "
                                  },
                                  "startExclusive": {
                                    "name": "confidence.metrics.v1.Filter.Value",
                                    "type": "object",
                                    "required": [],
                                    "properties": {
                                      "boolValue": {
                                        "type": "boolean",
                                        "example": true,
                                        "description": ""
                                      },
                                      "numberValue": {
                                        "type": "number",
                                        "example": 3.14,
                                        "description": ""
                                      },
                                      "stringValue": {
                                        "type": "string",
                                        "example": "<string>",
                                        "description": ""
                                      },
                                      "timestampValue": {
                                        "type": "string",
                                        "format": "date-time",
                                        "example": "2020-01-01T00:00:00Z",
                                        "description": ""
                                      },
                                      "nullValue": {
                                        "name": "confidence.metrics.v1.Filter.Value.Null",
                                        "type": "object",
                                        "required": [],
                                        "properties": {
                                          "dummyField": {
                                            "type": "string",
                                            "example": "<string>",
                                            "description": "Dummy field to make the type not empty"
                                          }
                                        },
                                        "description": ""
                                      }
                                    },
                                    "description": "equality (==, !=, ∈) defined for all types\n comparison ({\"<\"}, {\"<\"}=, {\">\"}, {\">\"}=) defined for number, timestamp, version\n "
                                  },
                                  "endInclusive": {
                                    "name": "confidence.metrics.v1.Filter.Value",
                                    "type": "object",
                                    "required": [],
                                    "properties": {
                                      "boolValue": {
                                        "type": "boolean",
                                        "example": true,
                                        "description": ""
                                      },
                                      "numberValue": {
                                        "type": "number",
                                        "example": 3.14,
                                        "description": ""
                                      },
                                      "stringValue": {
                                        "type": "string",
                                        "example": "<string>",
                                        "description": ""
                                      },
                                      "timestampValue": {
                                        "type": "string",
                                        "format": "date-time",
                                        "example": "2020-01-01T00:00:00Z",
                                        "description": ""
                                      },
                                      "nullValue": {
                                        "name": "confidence.metrics.v1.Filter.Value.Null",
                                        "type": "object",
                                        "required": [],
                                        "properties": {
                                          "dummyField": {
                                            "type": "string",
                                            "example": "<string>",
                                            "description": "Dummy field to make the type not empty"
                                          }
                                        },
                                        "description": ""
                                      }
                                    },
                                    "description": "equality (==, !=, ∈) defined for all types\n comparison ({\"<\"}, {\"<\"}=, {\">\"}, {\">\"}=) defined for number, timestamp, version\n "
                                  },
                                  "endExclusive": {
                                    "name": "confidence.metrics.v1.Filter.Value",
                                    "type": "object",
                                    "required": [],
                                    "properties": {
                                      "boolValue": {
                                        "type": "boolean",
                                        "example": true,
                                        "description": ""
                                      },
                                      "numberValue": {
                                        "type": "number",
                                        "example": 3.14,
                                        "description": ""
                                      },
                                      "stringValue": {
                                        "type": "string",
                                        "example": "<string>",
                                        "description": ""
                                      },
                                      "timestampValue": {
                                        "type": "string",
                                        "format": "date-time",
                                        "example": "2020-01-01T00:00:00Z",
                                        "description": ""
                                      },
                                      "nullValue": {
                                        "name": "confidence.metrics.v1.Filter.Value.Null",
                                        "type": "object",
                                        "required": [],
                                        "properties": {
                                          "dummyField": {
                                            "type": "string",
                                            "example": "<string>",
                                            "description": "Dummy field to make the type not empty"
                                          }
                                        },
                                        "description": ""
                                      }
                                    },
                                    "description": "equality (==, !=, ∈) defined for all types\n comparison ({\"<\"}, {\"<\"}=, {\">\"}, {\">\"}=) defined for number, timestamp, version\n "
                                  }
                                },
                                "description": "The value must be in the range"
                              }
                            },
                            "description": "A criterion for an attribute (typically a table column)"
                          }
                        }
                      },
                      "description": "The filter criteria"
                    },
                    "expression": {
                      "name": "confidence.metrics.v1.Expression",
                      "type": "object",
                      "required": [],
                      "properties": {
                        "ref": {
                          "type": "string",
                          "example": "<string>",
                          "description": ""
                        },
                        "not": {
                          "type": "object",
                          "description": "A boolean expression with leaf nodes that reference criteria elements\n "
                        },
                        "and": {
                          "name": "confidence.metrics.v1.Expression.Operands",
                          "type": "object",
                          "required": ["operands"],
                          "properties": {
                            "operands": {
                              "type": "array",
                              "items": {
                                "type": "object"
                              },
                              "description": "A boolean expression with leaf nodes that reference criteria elements\n "
                            }
                          },
                          "description": ""
                        },
                        "or": {
                          "name": "confidence.metrics.v1.Expression.Operands",
                          "type": "object",
                          "required": ["operands"],
                          "properties": {
                            "operands": {
                              "type": "array",
                              "items": {
                                "type": "object"
                              },
                              "description": "A boolean expression with leaf nodes that reference criteria elements\n "
                            }
                          },
                          "description": ""
                        }
                      },
                      "description": "The filter expressions"
                    }
                  },
                  "description": "Filter configuration"
                }
              }
            },
            "description": "Additional exposure filters"
          },
          "metrics": {
            "type": "array",
            "items": {
              "name": "confidence.experiments.reanalysis.v1.Reanalysis.MetricsData.Metric",
              "type": "object",
              "required": ["metric"],
              "properties": {
                "calculation": {
                  "type": "string",
                  "example": "<string>",
                  "description": "Display name for the exposure filter"
                },
                "metric": {
                  "type": "string",
                  "example": "<string>",
                  "description": "A resource name on the format factTables/abc"
                },
                "metricRole": {
                  "name": "confidence.experiments.reanalysis.v1.Reanalysis.MetricsData.Metric.MetricRole",
                  "type": "object",
                  "required": ["metricKind"],
                  "properties": {
                    "metricKind": {
                      "type": "string",
                      "enum": [
                        "METRIC_KIND_UNSPECIFIED",
                        "UNKNOWN",
                        "SUCCESS",
                        "GUARDRAIL"
                      ],
                      "example": "UNKNOWN",
                      "description": ""
                    },
                    "minimumDetectableEffect": {
                      "type": "number",
                      "example": 3.14,
                      "description": ""
                    },
                    "nonInferiorityMargin": {
                      "type": "number",
                      "example": 3.14,
                      "description": ""
                    }
                  },
                  "description": "Filter configuration"
                },
                "preferredDirection": {
                  "type": "string",
                  "enum": [
                    "PREFERRED_DIRECTION_UNSPECIFIED",
                    "INCREASE",
                    "DECREASE",
                    "ANY"
                  ],
                  "example": "INCREASE",
                  "description": ""
                },
                "schedule": {
                  "type": "string",
                  "example": "<string>",
                  "description": ""
                },
                "surface": {
                  "type": "string",
                  "example": "<string>",
                  "description": ""
                },
                "surfaceOnly": {
                  "type": "boolean",
                  "example": true,
                  "description": ""
                }
              }
            },
            "description": "The list of metrics"
          }
        }
      },
      "confidence.experiments.reanalysis.v1.Reanalysis.PlanningData": {
        "type": "object",
        "description": "Module data for planning",
        "properties": {
          "actual": {
            "name": "confidence.experiments.reanalysis.v1.Reanalysis.PlanningData.Period",
            "type": "object",
            "required": [],
            "properties": {
              "endTime": {
                "type": "string",
                "example": "<string>",
                "description": "The end time"
              },
              "runtime": {
                "type": "string",
                "example": "<string>",
                "description": "The runtime duration"
              },
              "startTime": {
                "type": "string",
                "example": "<string>",
                "description": "The start time"
              }
            },
            "description": "The actual time period"
          },
          "planned": {
            "name": "confidence.experiments.reanalysis.v1.Reanalysis.PlanningData.Period",
            "type": "object",
            "required": [],
            "properties": {
              "endTime": {
                "type": "string",
                "example": "<string>",
                "description": "The end time"
              },
              "runtime": {
                "type": "string",
                "example": "<string>",
                "description": "The runtime duration"
              },
              "startTime": {
                "type": "string",
                "example": "<string>",
                "description": "The start time"
              }
            },
            "description": "The planned time period"
          }
        }
      },
      "confidence.experiments.reanalysis.v1.Reanalysis.ReanalysisData": {
        "type": "object",
        "description": "Module data for reanalysis",
        "properties": {
          "configChanged": {
            "type": "boolean",
            "example": true,
            "description": ""
          },
          "endTime": {
            "type": "string",
            "example": "<string>",
            "description": ""
          },
          "error": {
            "type": "string",
            "example": "<string>",
            "description": ""
          },
          "exposureKey": {
            "type": "string",
            "example": "<string>",
            "description": ""
          },
          "exposureMetricState": {
            "type": "string",
            "enum": [
              "EXPOSURE_METRIC_STATE_UNSPECIFIED",
              "STATE_UNSPECIFIED",
              "STATE_FAILED",
              "STATE_RUNNING",
              "STATE_COMPLETED",
              "STATE_CANCELLED"
            ],
            "example": "STATE_UNSPECIFIED",
            "description": ""
          },
          "exposureState": {
            "type": "string",
            "enum": [
              "EXPOSURE_STATE_UNSPECIFIED",
              "STATE_UNSPECIFIED",
              "STATE_FAILED",
              "STATE_RUNNING",
              "STATE_COMPLETED",
              "STATE_CANCELLED"
            ],
            "example": "STATE_UNSPECIFIED",
            "description": ""
          },
          "metrics": {
            "type": "array",
            "items": {
              "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReanalysisData.MetricData",
              "type": "object",
              "required": [],
              "properties": {
                "calculation": {
                  "type": "string",
                  "example": "<string>",
                  "description": ""
                },
                "duration": {
                  "type": "string",
                  "example": "<string>",
                  "description": ""
                },
                "name": {
                  "type": "string",
                  "example": "<string>",
                  "description": ""
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "STATE_UNSPECIFIED",
                    "STATE_FAILED",
                    "STATE_RUNNING",
                    "STATE_COMPLETED",
                    "STATE_CANCELLED"
                  ],
                  "example": "STATE_FAILED",
                  "description": ""
                }
              }
            },
            "description": ""
          },
          "startTime": {
            "type": "string",
            "example": "<string>",
            "description": ""
          },
          "treatments": {
            "type": "array",
            "items": {
              "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReanalysisData.Treatment",
              "type": "object",
              "required": ["variantKey", "weight"],
              "properties": {
                "description": {
                  "type": "string",
                  "example": "<string>",
                  "description": ""
                },
                "displayName": {
                  "type": "string",
                  "example": "<string>",
                  "description": ""
                },
                "imageUri": {
                  "type": "string",
                  "example": "<string>",
                  "description": ""
                },
                "name": {
                  "type": "string",
                  "example": "<string>",
                  "description": ""
                },
                "variantKey": {
                  "type": "string",
                  "example": "<string>",
                  "description": ""
                },
                "weight": {
                  "type": "integer",
                  "example": 1,
                  "description": ""
                }
              }
            },
            "description": ""
          }
        }
      },
      "confidence.experiments.reanalysis.v1.Reanalysis.ReportData": {
        "type": "object",
        "description": "Module data for report",
        "properties": {
          "name": {
            "type": "string",
            "example": "<string>",
            "description": "The report name"
          },
          "sections": {
            "type": "array",
            "items": {
              "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReportData.SectionsItem",
              "type": "object",
              "required": ["id"],
              "properties": {
                "hypothesisData": {
                  "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReportData.SectionsItem.HypothesisData",
                  "type": "object",
                  "required": [],
                  "properties": {
                    "hypothesis": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The hypothesis text"
                    }
                  },
                  "description": "The hypothesis data"
                },
                "id": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The section id"
                },
                "imagesData": {
                  "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReportData.SectionsItem.ImagesData",
                  "type": "object",
                  "required": [],
                  "properties": {
                    "images": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReportData.SectionsItem.ImagesData.ImageData",
                        "type": "object",
                        "required": ["id"],
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The image id"
                          },
                          "imageUri": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The image URI"
                          },
                          "label": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The image label"
                          },
                          "text": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The image text"
                          }
                        }
                      },
                      "description": "The images"
                    }
                  },
                  "description": "The images data"
                },
                "metricsData": {
                  "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReportData.SectionsItem.MetricsData",
                  "type": "object",
                  "required": [],
                  "properties": {
                    "metrics": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReportData.SectionsItem.MetricsData.Metric",
                        "type": "object",
                        "required": [],
                        "properties": {
                          "hidden": {
                            "type": "boolean",
                            "example": true,
                            "description": "Whether the metric is hidden"
                          },
                          "metric": {
                            "type": "string",
                            "example": "<string>",
                            "description": "A resource name on the format metrics/abc"
                          },
                          "metricName": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The metric name"
                          },
                          "treatments": {
                            "type": "array",
                            "items": {
                              "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReportData.SectionsItem.MetricsData.Metric.MetricTreatmentConfig",
                              "type": "object",
                              "required": ["treatment"],
                              "properties": {
                                "hidden": {
                                  "type": "boolean",
                                  "example": true,
                                  "description": "Whether the treatment is hidden"
                                },
                                "treatment": {
                                  "type": "string",
                                  "example": "<string>",
                                  "description": "The treatment id"
                                }
                              }
                            },
                            "description": "The treatment configurations"
                          }
                        }
                      },
                      "description": "The metrics"
                    }
                  },
                  "description": "The metrics data"
                },
                "nextData": {
                  "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReportData.SectionsItem.NextData",
                  "type": "object",
                  "required": [],
                  "properties": {
                    "text": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The next steps text"
                    },
                    "title": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The next steps title"
                    }
                  },
                  "description": "The next steps data"
                },
                "outcomeData": {
                  "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReportData.SectionsItem.OutcomeData",
                  "type": "object",
                  "required": [],
                  "properties": {
                    "conclusion": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The conclusion"
                    },
                    "outcome": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The outcome"
                    }
                  },
                  "description": "The outcome data"
                },
                "recommendationsData": {
                  "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReportData.SectionsItem.RecommendationsData",
                  "type": "object",
                  "required": [],
                  "properties": {
                    "content": {
                      "type": "array",
                      "items": {
                        "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReportData.SectionsItem.RecommendationsData.RecommendationsContent",
                        "type": "object",
                        "required": ["id"],
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The content id"
                          },
                          "shippingRecommendation": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The shipping recommendation"
                          },
                          "text": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The recommendation text"
                          },
                          "variant": {
                            "type": "string",
                            "example": "<string>",
                            "description": "The variant"
                          }
                        }
                      },
                      "description": "The recommendation content"
                    }
                  },
                  "description": "The recommendations data"
                },
                "resultsData": {
                  "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReportData.SectionsItem.ResultsData",
                  "type": "object",
                  "required": [],
                  "properties": {
                    "text": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The results text"
                    },
                    "title": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The results title"
                    }
                  },
                  "description": "The results data"
                },
                "summaryData": {
                  "name": "confidence.experiments.reanalysis.v1.Reanalysis.ReportData.SectionsItem.SummaryData",
                  "type": "object",
                  "required": [],
                  "properties": {
                    "imageUri": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The summary image URI"
                    },
                    "text": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The summary text"
                    },
                    "title": {
                      "type": "string",
                      "example": "<string>",
                      "description": "The summary title"
                    }
                  },
                  "description": "The summary data"
                }
              }
            },
            "description": "The report sections"
          }
        }
      },
      "confidence.experiments.reanalysis.v1.Reanalysis.StatsData": {
        "type": "object",
        "description": "Module data for stats",
        "properties": {
          "alpha": {
            "type": "number",
            "example": 3.14,
            "description": "Significance level (defaults to 0.05)"
          },
          "analysisResult": {
            "type": "string",
            "example": "<string>",
            "description": "A resource name on the format analysisResults/abc"
          },
          "analysisResults": {
            "type": "array",
            "items": {
              "name": "confidence.experiments.reanalysis.v1.Reanalysis.StatsData.AnalysisResult",
              "type": "object",
              "required": ["analysisResult"],
              "properties": {
                "analysisResult": {
                  "type": "string",
                  "example": "<string>",
                  "description": "A resource name on the format analysisResults/abc"
                },
                "exposureFilterName": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The exposure filter name"
                }
              }
            },
            "description": "Analysis result resource names (multiple exposure filters)"
          },
          "fallbackSampleSize": {
            "type": "string",
            "example": "<string>",
            "description": "Fallback sample size when metric-specific size is not set"
          },
          "metricInformation": {
            "type": "array",
            "items": {
              "name": "confidence.experiments.reanalysis.v1.Reanalysis.StatsData.MetricInformation",
              "type": "object",
              "required": ["metricName"],
              "properties": {
                "expectedSampleSize": {
                  "type": "string",
                  "example": "<string>",
                  "description": "Expected sample size for this metric"
                },
                "metricName": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The metric name"
                }
              }
            },
            "description": "Expected sample sizes for metrics"
          },
          "metricMethods": {
            "type": "array",
            "items": {
              "name": "confidence.experiments.reanalysis.v1.Reanalysis.StatsData.Method",
              "type": "object",
              "required": ["method", "metricName"],
              "properties": {
                "method": {
                  "type": "string",
                  "enum": [
                    "METHOD_UNSPECIFIED",
                    "Z_TEST",
                    "GST_Z_TEST",
                    "ASYMP_CS",
                    "RATIO",
                    "GST_RATIO",
                    "ASYMP_CS_RATIO",
                    "CHI2",
                    "UNKNOWN"
                  ],
                  "example": "Z_TEST",
                  "description": "The statistical method"
                },
                "metricName": {
                  "type": "string",
                  "example": "<string>",
                  "description": "The metric name"
                }
              }
            },
            "description": "Statistical methods used for each metric"
          },
          "power": {
            "type": "number",
            "example": 3.14,
            "description": "Statistical power (defaults to 0.8)"
          },
          "testHorizonStrategy": {
            "type": "string",
            "enum": [
              "TEST_HORIZON_STRATEGY_UNSPECIFIED",
              "FIXED_HORIZON",
              "SEQUENTIAL"
            ],
            "example": "FIXED_HORIZON",
            "description": "Testing strategy (fixed horizon or sequential)"
          }
        }
      }
    },
    "securitySchemes": {
      "admin": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  }
}
