Roark · Schema

AnalyticsResult

One series per measure (or per breakdown value / comparison group). `value` is the aggregate over the whole window; `buckets` hold the per-interval values.

CompanyVoice AITestingEvaluationBenchmarking

Properties

Name Type Description
from string
to string
interval string
timezone string
series array
omittedSeries integer
View JSON Schema on GitHub

JSON Schema

roark-analytics-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/roark/json-schema/roark-analytics-result-schema.json",
  "title": "AnalyticsResult",
  "description": "One series per measure (or per breakdown value / comparison group). `value` is the aggregate over the whole window; `buckets` hold the per-interval values.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roark-analytics-api-openapi.yml#/components/schemas/AnalyticsResult",
  "type": "object",
  "properties": {
    "from": {
      "type": "string"
    },
    "to": {
      "type": "string"
    },
    "interval": {
      "type": "string",
      "enum": [
        "HOUR",
        "DAY",
        "WEEK",
        "MONTH"
      ]
    },
    "timezone": {
      "type": "string"
    },
    "series": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "measureIndex": {
            "type": "integer"
          },
          "type": {
            "type": "string",
            "enum": [
              "METRIC",
              "CONVERSATION",
              "UPTIME"
            ]
          },
          "metric": {
            "type": [
              "string",
              "null"
            ]
          },
          "aggregation": {
            "type": "string",
            "enum": [
              "COUNT",
              "AVG",
              "MIN",
              "MAX",
              "SUM",
              "MEDIAN",
              "PERCENTILE",
              "PASS_RATE"
            ]
          },
          "breakdownValue": {
            "type": [
              "string",
              "null"
            ]
          },
          "comparisonGroup": {
            "type": [
              "string",
              "null"
            ]
          },
          "value": {
            "type": "number"
          },
          "sampleSize": {
            "type": [
              "number",
              "null"
            ]
          },
          "comparisonValue": {
            "type": [
              "number",
              "null"
            ]
          },
          "percentageOfBaseline": {
            "type": [
              "number",
              "null"
            ]
          },
          "buckets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string"
                },
                "value": {
                  "type": "number"
                },
                "passed": {
                  "type": "number"
                },
                "sampleSize": {
                  "type": "number"
                },
                "comparisonDate": {
                  "type": "string"
                },
                "comparisonValue": {
                  "type": "number"
                },
                "percentageOfBaseline": {
                  "type": "number"
                }
              },
              "required": [
                "date",
                "value"
              ]
            }
          }
        },
        "required": [
          "measureIndex",
          "type",
          "metric",
          "aggregation",
          "breakdownValue",
          "comparisonGroup",
          "value",
          "sampleSize",
          "comparisonValue",
          "percentageOfBaseline",
          "buckets"
        ]
      }
    },
    "omittedSeries": {
      "type": "integer"
    }
  },
  "required": [
    "from",
    "to",
    "interval",
    "timezone",
    "series",
    "omittedSeries"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/roark-analytics-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.