Codecov · Schema

FileReport

CompanyCode CoverageCI/CDDevOpsTestingAnalytics

Properties

Name Type Description
name string
totals object
line_coverage array
commit_sha string
commit_file_url string
View JSON Schema on GitHub

JSON Schema

codecov-file-report-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/codecov/main/json-schema/codecov-file-report-schema.json",
  "title": "FileReport",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codecov-coverage-api-openapi.yml#/components/schemas/FileReport",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "title": "file path"
    },
    "totals": {
      "allOf": [
        {
          "$ref": "#/$defs/ReportTotals"
        }
      ],
      "title": "coverage totals"
    },
    "line_coverage": {
      "type": "array",
      "items": {},
      "readOnly": true,
      "title": "line-by-line coverage values"
    },
    "commit_sha": {
      "type": "string",
      "readOnly": true,
      "title": "commit SHA of the commit for which coverage info was found"
    },
    "commit_file_url": {
      "type": "string",
      "readOnly": true,
      "title": "Codecov URL to see file coverage on commit."
    }
  },
  "required": [
    "commit_file_url",
    "commit_sha",
    "line_coverage",
    "name",
    "totals"
  ],
  "$defs": {
    "ReportTotals": {
      "type": "object",
      "properties": {
        "files": {
          "type": "integer"
        },
        "lines": {
          "type": "integer"
        },
        "hits": {
          "type": "integer"
        },
        "misses": {
          "type": "integer"
        },
        "partials": {
          "type": "integer"
        },
        "coverage": {
          "type": "number",
          "format": "double",
          "readOnly": true
        },
        "branches": {
          "type": "integer"
        },
        "methods": {
          "type": "integer"
        },
        "messages": {
          "type": "integer"
        },
        "sessions": {
          "type": "integer"
        },
        "complexity": {
          "type": "number",
          "format": "double"
        },
        "complexity_total": {
          "type": "number",
          "format": "double"
        },
        "complexity_ratio": {
          "type": "number",
          "format": "double",
          "readOnly": true
        },
        "diff": {}
      },
      "required": [
        "branches",
        "complexity",
        "complexity_ratio",
        "complexity_total",
        "coverage",
        "diff",
        "files",
        "hits",
        "lines",
        "messages",
        "methods",
        "misses",
        "partials",
        "sessions"
      ]
    }
  }
}

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/codecov-file-report"
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.