repowise-dev · Schema

CommitDetailResponse

A single commit with its full, attributable risk-driver breakdown.

Code IntelligenceAIOpen SourceDeveloper ToolsMCP

Properties

Name Type Description
sha string
short_sha string
author_name string
author_email string
committed_at object
subject string
lines_added integer
lines_deleted integer
files_changed integer
dirs_changed integer
subsystems_changed integer
entropy number
is_fix boolean
change_risk_score object
change_risk_level object
risk_percentile number
review_priority string
top_driver object
author_experience object
author_commit_count object
agent_name object
agent_autonomy_tier object
agent_confidence object
attribution object
health_delta object
touches_hotspot integer
drivers array
agent_channel object
files array
health object
View JSON Schema on GitHub

JSON Schema

repowise-dev-commit-detail-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/repowise-dev/json-schema/repowise-dev-commit-detail-response-schema.json",
  "title": "CommitDetailResponse",
  "description": "A single commit with its full, attributable risk-driver breakdown.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/repowise-dev-openapi.json#/components/schemas/CommitDetailResponse",
  "properties": {
    "sha": {
      "type": "string",
      "title": "Sha"
    },
    "short_sha": {
      "type": "string",
      "title": "Short Sha"
    },
    "author_name": {
      "type": "string",
      "title": "Author Name"
    },
    "author_email": {
      "type": "string",
      "title": "Author Email"
    },
    "committed_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Committed At"
    },
    "subject": {
      "type": "string",
      "title": "Subject"
    },
    "lines_added": {
      "type": "integer",
      "title": "Lines Added"
    },
    "lines_deleted": {
      "type": "integer",
      "title": "Lines Deleted"
    },
    "files_changed": {
      "type": "integer",
      "title": "Files Changed"
    },
    "dirs_changed": {
      "type": "integer",
      "title": "Dirs Changed"
    },
    "subsystems_changed": {
      "type": "integer",
      "title": "Subsystems Changed"
    },
    "entropy": {
      "type": "number",
      "title": "Entropy"
    },
    "is_fix": {
      "type": "boolean",
      "title": "Is Fix"
    },
    "change_risk_score": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Change Risk Score"
    },
    "change_risk_level": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Change Risk Level"
    },
    "risk_percentile": {
      "type": "number",
      "title": "Risk Percentile"
    },
    "review_priority": {
      "type": "string",
      "title": "Review Priority"
    },
    "top_driver": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Top Driver"
    },
    "author_experience": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Author Experience"
    },
    "author_commit_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Author Commit Count"
    },
    "agent_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Name"
    },
    "agent_autonomy_tier": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Autonomy Tier"
    },
    "agent_confidence": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Confidence"
    },
    "attribution": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Attribution"
    },
    "health_delta": {
      "anyOf": [
        {
          "$ref": "#/$defs/HealthDeltaSummaryResponse"
        },
        {
          "type": "null"
        }
      ]
    },
    "touches_hotspot": {
      "type": "integer",
      "title": "Touches Hotspot",
      "default": 0
    },
    "drivers": {
      "items": {
        "$ref": "#/$defs/RiskDriverResponse"
      },
      "type": "array",
      "title": "Drivers",
      "default": []
    },
    "agent_channel": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Channel"
    },
    "files": {
      "items": {
        "$ref": "#/$defs/CommitFileResponse"
      },
      "type": "array",
      "title": "Files",
      "default": []
    },
    "health": {
      "anyOf": [
        {
          "$ref": "#/$defs/CommitHealthResponse"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "required": [
    "sha",
    "short_sha",
    "author_name",
    "author_email",
    "committed_at",
    "subject",
    "lines_added",
    "lines_deleted",
    "files_changed",
    "dirs_changed",
    "subsystems_changed",
    "entropy",
    "is_fix",
    "change_risk_score",
    "change_risk_level",
    "risk_percentile",
    "review_priority"
  ],
  "$defs": {
    "CommitFileResponse": {
      "properties": {
        "path": {
          "type": "string",
          "title": "Path"
        },
        "lines_added": {
          "type": "integer",
          "title": "Lines Added"
        },
        "lines_deleted": {
          "type": "integer",
          "title": "Lines Deleted"
        },
        "prior_fixes": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Prior Fixes"
        }
      },
      "type": "object",
      "required": [
        "path",
        "lines_added",
        "lines_deleted"
      ],
      "title": "CommitFileResponse",
      "description": "One file a commit touched, with what it cost and what it carries."
    },
    "CommitHealthFindingResponse": {
      "properties": {
        "change_kind": {
          "type": "string",
          "title": "Change Kind"
        },
        "dimension": {
          "type": "string",
          "title": "Dimension"
        },
        "biomarker_type": {
          "type": "string",
          "title": "Biomarker Type"
        },
        "severity": {
          "type": "string",
          "title": "Severity"
        },
        "severity_before": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Severity Before"
        },
        "path": {
          "type": "string",
          "title": "Path"
        },
        "symbol": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Symbol"
        },
        "line_start": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Line Start"
        },
        "line_end": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Line End"
        },
        "attribution_basis": {
          "type": "string",
          "title": "Attribution Basis"
        },
        "reason": {
          "type": "string",
          "title": "Reason"
        },
        "moved_from": {
          "anyOf": [
            {
              "$ref": "#/$defs/MovedFromResponse"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "type": "object",
      "required": [
        "change_kind",
        "dimension",
        "biomarker_type",
        "severity",
        "path",
        "attribution_basis",
        "reason"
      ],
      "title": "CommitHealthFindingResponse",
      "description": "One thing a commit introduced or worsened."
    },
    "CommitHealthResponse": {
      "properties": {
        "status": {
          "type": "string",
          "title": "Status"
        },
        "stale": {
          "type": "boolean",
          "title": "Stale",
          "default": false
        },
        "introduced_count": {
          "type": "integer",
          "title": "Introduced Count"
        },
        "worsened_count": {
          "type": "integer",
          "title": "Worsened Count"
        },
        "resolved_count": {
          "type": "integer",
          "title": "Resolved Count"
        },
        "improved_count": {
          "type": "integer",
          "title": "Improved Count",
          "default": 0
        },
        "moved_count": {
          "type": "integer",
          "title": "Moved Count",
          "default": 0
        },
        "files_analyzed": {
          "type": "integer",
          "title": "Files Analyzed"
        },
        "files_skipped": {
          "type": "integer",
          "title": "Files Skipped"
        },
        "findings": {
          "items": {
            "$ref": "#/$defs/CommitHealthFindingResponse"
          },
          "type": "array",
          "title": "Findings",
          "default": []
        }
      },
      "type": "object",
      "required": [
        "status",
        "introduced_count",
        "worsened_count",
        "resolved_count",
        "files_analyzed",
        "files_skipped"
      ],
      "title": "CommitHealthResponse",
      "description": "What a commit did to code health, as computed at index time.\n\nAbsent on the commit, rather than empty, when the commit was never\nscanned — the scan is bounded, so older commits routinely have no row and\nthat is not the same claim as \"changed nothing\"."
    },
    "FileScoreShiftResponse": {
      "properties": {
        "path": {
          "type": "string",
          "title": "Path"
        },
        "before": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Before"
        },
        "after": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "After"
        },
        "change": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Change"
        }
      },
      "type": "object",
      "required": [
        "path"
      ],
      "title": "FileScoreShiftResponse",
      "description": "A file's health score before and after; ``None`` on a side it was unscored."
    },
    "HealthDeltaSummaryResponse": {
      "properties": {
        "status": {
          "type": "string",
          "title": "Status"
        },
        "kind": {
          "type": "string",
          "enum": [
            "improved",
            "worsened",
            "mixed",
            "neutral"
          ],
          "title": "Kind"
        },
        "introduced": {
          "type": "integer",
          "title": "Introduced"
        },
        "worsened": {
          "type": "integer",
          "title": "Worsened"
        },
        "resolved": {
          "type": "integer",
          "title": "Resolved"
        },
        "improved": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Improved"
        },
        "moved": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Moved"
        },
        "stale": {
          "type": "boolean",
          "title": "Stale",
          "default": false
        },
        "files": {
          "items": {
            "$ref": "#/$defs/FileScoreShiftResponse"
          },
          "type": "array",
          "title": "Files",
          "default": []
        }
      },
      "type": "object",
      "required": [
        "status",
        "kind",
        "introduced",
        "worsened",
        "resolved"
      ],
      "title": "HealthDeltaSummaryResponse",
      "description": "What one commit did to health, as list rows carry it.\n\n``kind`` reads the counts: ``improved`` when it only made things better,\n``worsened`` when it only made them worse, ``mixed`` for both, ``neutral``\nfor neither. ``improved`` (findings that measure better) and ``moved`` are\nnull on a stale row, where the stored 0 means unknown; ``files`` stays empty for stored deltas (per-file scores are\nlive-only). ``stale`` means an older analyzer wrote it: the direction holds,\nthe counts do not compare with current rows, and no aggregate counts it."
    },
    "MovedFromResponse": {
      "properties": {
        "path": {
          "type": "string",
          "title": "Path"
        },
        "symbol": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Symbol"
        }
      },
      "type": "object",
      "required": [
        "path"
      ],
      "title": "MovedFromResponse",
      "description": "Where a finding's code was before the commit moved it."
    },
    "RiskDriverResponse": {
      "properties": {
        "feature": {
          "type": "string",
          "title": "Feature"
        },
        "value": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Value"
        },
        "contribution": {
          "type": "number",
          "title": "Contribution"
        },
        "label": {
          "type": "string",
          "title": "Label"
        }
      },
      "type": "object",
      "required": [
        "feature",
        "value",
        "contribution",
        "label"
      ],
      "title": "RiskDriverResponse",
      "description": "One feature's signed contribution to a commit's change-risk logit."
    }
  }
}

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/repowise-dev-commit-detail-response"
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.