Currents · Schema

MetricsSummary

Duration percentiles and outcome rates for a selection of tests or spec files, plus the duration histogram.

CompanyTestingPlaywrightTest AutomationCI/CDTest OrchestrationDeveloper ToolsMCP

Properties

Name Type Description
current object
previous object The range of the same length before the one asked for.
minMs numbernull Shortest execution in the current range.
maxMs numbernull Longest execution in the current range.
distribution array Executions per duration bucket, in the current range. Buckets widen with duration; empty buckets between the first and last are included.
View JSON Schema on GitHub

JSON Schema

currents-dev-metrics-summary-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/currents-dev/json-schema/currents-dev-metrics-summary-schema.json",
  "title": "MetricsSummary",
  "description": "Duration percentiles and outcome rates for a selection of tests or spec files, plus the duration histogram.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/currents-dev-spec-files-api-openapi.yml#/components/schemas/MetricsSummary",
  "type": "object",
  "required": [
    "current",
    "previous",
    "minMs",
    "maxMs",
    "distribution"
  ],
  "properties": {
    "current": {
      "$ref": "#/$defs/PeriodMetrics"
    },
    "previous": {
      "allOf": [
        {
          "$ref": "#/$defs/PeriodMetrics"
        }
      ],
      "description": "The range of the same length before the one asked for."
    },
    "minMs": {
      "type": [
        "number",
        "null"
      ],
      "description": "Shortest execution in the current range."
    },
    "maxMs": {
      "type": [
        "number",
        "null"
      ],
      "description": "Longest execution in the current range."
    },
    "distribution": {
      "type": "array",
      "description": "Executions per duration bucket, in the current range. Buckets widen with duration; empty buckets between the first and last are included.",
      "items": {
        "type": "object",
        "required": [
          "minMs",
          "maxMs",
          "executions"
        ],
        "properties": {
          "minMs": {
            "type": "number"
          },
          "maxMs": {
            "type": "number"
          },
          "executions": {
            "type": "number"
          }
        }
      }
    }
  },
  "$defs": {
    "PeriodMetrics": {
      "type": "object",
      "required": [
        "executions",
        "overallExecutions",
        "avgMs",
        "p50Ms",
        "p90Ms",
        "p95Ms",
        "passRate",
        "failureRate",
        "flakinessRate",
        "suiteSize",
        "testsPerExecution"
      ],
      "properties": {
        "executions": {
          "type": "number",
          "description": "Executions the duration metrics are calculated over. Narrower than `overallExecutions` when the average-duration metric setting excludes a status."
        },
        "overallExecutions": {
          "type": "number",
          "description": "Executions the rates are calculated over."
        },
        "avgMs": {
          "type": [
            "number",
            "null"
          ]
        },
        "p50Ms": {
          "type": [
            "number",
            "null"
          ]
        },
        "p90Ms": {
          "type": [
            "number",
            "null"
          ]
        },
        "p95Ms": {
          "type": [
            "number",
            "null"
          ]
        },
        "passRate": {
          "type": [
            "number",
            "null"
          ],
          "description": "Rate as a 0-1 float. Tests only."
        },
        "failureRate": {
          "type": [
            "number",
            "null"
          ],
          "description": "Rate as a 0-1 float. Failures are failed and interrupted executions together."
        },
        "flakinessRate": {
          "type": [
            "number",
            "null"
          ]
        },
        "suiteSize": {
          "type": [
            "number",
            "null"
          ],
          "description": "Tests in the most recent execution of a spec file. Null unless the metrics describe a single spec file."
        },
        "testsPerExecution": {
          "type": [
            "number",
            "null"
          ],
          "description": "Average tests per spec execution. Spec files only."
        }
      }
    }
  }
}

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/currents-dev-metrics-summary"
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.