2 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

ExperimentStatsOperation — openapi

Async operation for fetching experiment stats. When Done is true exactly one of Error or ExperimentStats is set; when false, neither is.

Properties

NameTypeRequiredDescription
experimentIdintegerfalseExperiment ID the stats are for.
lastModifiedTimestringfalseUTC time the operation was last modified.
donebooleanfalseTrue once the stats fetch terminates (success or failure).
errorfalseError outcome, when Done is true and the fetch failed.
experimentStatsfalseSuccessful outcome, when Done is true and stats are available.

Complete Schema

{
  "type": "object",
  "properties": {
    "experimentId": {
      "type": "integer",
      "description": "Experiment ID the stats are for.",
      "format": "int64"
    },
    "lastModifiedTime": {
      "type": "string",
      "description": "UTC time the operation was last modified.",
      "nullable": true
    },
    "done": {
      "type": "boolean",
      "description": "True once the stats fetch terminates (success or failure)."
    },
    "error": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ExperimentApiError"
        }
      ],
      "description": "Error outcome, when Done is true and the fetch failed.",
      "nullable": true
    },
    "experimentStats": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ExperimentStats"
        }
      ],
      "description": "Successful outcome, when Done is true and stats are available.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "description": "Async operation for fetching experiment stats. When Done is true exactly\r\none of Error or ExperimentStats is set; when false, neither is."
}