CircleCI · Schema

InsightsTestMetrics

CI/CDContinuous IntegrationContinuous DeploymentDevOpsPipelinesWorkflows

Properties

Name Type Description
average_test_count integer Average number of tests per run
most_failed_tests array Most frequently failing tests
slowest_tests array Slowest tests by duration
test_runs array Recent test run summaries
View JSON Schema on GitHub

JSON Schema

circleci-insightstestmetrics-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InsightsTestMetrics",
  "title": "InsightsTestMetrics",
  "type": "object",
  "properties": {
    "average_test_count": {
      "type": "integer",
      "description": "Average number of tests per run"
    },
    "most_failed_tests": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "test_name": {
            "type": "string",
            "description": "Name of the test"
          },
          "classname": {
            "type": "string",
            "description": "Class name of the test"
          },
          "failed_runs": {
            "type": "integer",
            "description": "Number of failed runs"
          },
          "total_runs": {
            "type": "integer",
            "description": "Total runs of this test"
          }
        }
      },
      "description": "Most frequently failing tests"
    },
    "slowest_tests": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "test_name": {
            "type": "string",
            "description": "Name of the test"
          },
          "classname": {
            "type": "string",
            "description": "Class name of the test"
          },
          "p95_duration": {
            "type": "number",
            "format": "float",
            "description": "95th percentile duration"
          }
        }
      },
      "description": "Slowest tests by duration"
    },
    "test_runs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pipeline_number": {
            "type": "integer",
            "description": "The pipeline number"
          },
          "workflow_id": {
            "type": "string",
            "format": "uuid",
            "description": "The workflow ID"
          },
          "success_rate": {
            "type": "number",
            "format": "float",
            "description": "Success rate of tests in this run"
          },
          "test_counts": {
            "type": "object",
            "properties": {
              "error": {
                "type": "integer",
                "description": "Number of errored tests"
              },
              "failure": {
                "type": "integer",
                "description": "Number of failed tests"
              },
              "success": {
                "type": "integer",
                "description": "Number of successful tests"
              },
              "skipped": {
                "type": "integer",
                "description": "Number of skipped tests"
              }
            },
            "description": "Test counts by result"
          }
        }
      },
      "description": "Recent test run summaries"
    }
  }
}

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/circleci-insightstestmetrics"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.