# Aayat AI GitHub Repository Health Check

> Aayat AI GitHub Repository Health Check is a paid API for AI agents from aayatai.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Returns a comprehensive health report for any public GitHub repository, including a verdict (healthy/ok/stale/abandoned), score, stars, forks, issues, release cadence, commit activity, bus factor, licence, and OpenSSF Scorecard.

## Facts

- Endpoint: GET https://aayatai.com/repo/health?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-github-repository-health-check-fd2b133d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iAhblj8MWIquyevEjJSH-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aayat-ai-github-repository-health-check-fd2b133d
```

Example prompt: Can you check the health of the honojs/hono GitHub repo — I want to know if it's actively maintained, its health score, how many commits it's had in the last 90 days, and whether it has a recent release?

## When to prefer this

Use this endpoint when you need a structured, multi-dimensional health assessment of a GitHub repository in a single call, rather than manually querying GitHub's API for individual metrics. It is especially useful for dependency vetting, open source due diligence, security audits, or automated CI checks that need a single verdict and score. Prefer it over raw GitHub API queries when you also need OpenSSF Scorecard data and community health metrics combined.

## Known failure modes

- Invalid or non-existent repository returns an error — ensure owner/name format is correct
- Private repositories cannot be assessed — only public repos are supported
- Rate limiting on GitHub's API may cause partial results (partial: true in response)
- Archived or very new repos may have limited Scorecard data
- Truncated commit counts at 100 — commitsLast90Days caps at 100

## How this service works

Health report for any public GitHub repository: stars, forks, open issues, last push, latest release and release cadence, commits and active committers in 90 days (bus factor), licence, archived/fork status, community profile and OpenSSF Scorecard, with a verdict (healthy/ok/stale/abandoned), score and reasons. repo is owner/name (honojs/hono) or a github.com URL.

## Output

A JSON object containing: repo identifier, canonical GitHub URL, health verdict (healthy/ok/stale/abandoned), numeric score (0-100), stars, forks, open issues, last push timestamp, latest release tag and date, releases in the last year, commits on the default branch in the last 90 days, active committers in the last 90 days, licence (SPDX), archived/fork flags, community health percent, OpenSSF Scorecard (overall score and per-check breakdown), and an array of flags explaining the verdict. A `partial` boolean indicates if some data could not be fetched.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "repo"
     ],
     "properties": {
      "repo": {
       "type": "string",
       "maxLength": 200,
       "minLength": 3,
       "description": "GitHub repository: owner/name or https://github.com/owner/name."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "repo",
      "url",
      "verdict",
      "score",
      "flags",
      "stars",
      "archived",
      "lastPushAt",
      "partial"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "repo": {
       "type": "string"
      },
      "flags": {
       "type": "array",
       "items": {
        "type": "object"
       },
       "description": "Reasons behind the verdict (level, code, message)."
      },
      "forks": {
       "type": [
        "integer",
        "null"
       ]
      },
      "score": {
       "type": "integer",
       "description": "0-100."
      },
      "stars": {
       "type": [
        "integer",
        "null"
       ]
      },
      "isFork": {
       "type": "boolean"
      },
      "licence": {
       "type": [
        "string",
        "null"
       ],
       "description": "SPDX id."
      },
      "partial": {
       "type": "boolean",
       "description": "True if some details could not be fetched."
      },
      "sources": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "verdict": {
       "enum": [
        "healthy",
        "ok",
        "stale",
        "abandoned"
       ],
       "type": "string"
      },
      "archived": {
       "type": "boolean"
      },
      "checkedAt": {
       "type": "string"
      },
      "createdAt": {
       "type": [
        "string",
        "null"
       ]
      },
      "scorecard": {
       "type": [
        "object",
        "null"
       ],
       "description": "OpenSSF Scorecard (0-10) with per-check 
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://github.com/honojs/hono",
  "repo": "honojs/hono",
  "flags": [],
  "forks": 1346,
  "score": 100,
  "stars": 32361,
  "isFork": false,
  "licence": "MIT",
  "partial": false,
  "sources": [
   "GitHub REST API",
   "deps.dev (OpenSSF Scorecard)"
  ],
  "verdict": "healthy",
  "archived": false,
  "checkedAt": "2026-09-28T12:00:00.000Z",
  "createdAt": "2021-12-14T20:05:30Z",
  "scorecard": {
   "date": "2026-09-22",
   "score": 7.4,
   "checks": [
    {
     "name": "Maintained",
     "score": 10
    }
   ]
  },
  "lastPushAt": "2026-09-27T03:11:53Z",
  "openIssues": 391,
  "description": "Web framework built on Web Standards",
  "defaultBranch": "main",
  "latestRelease": {
   "tag": "v4.13.9",
   "publishedAt": "2026-09-24T01:32:14Z"
  },
  "releasesLastYear": 30,
  "commitsLast90Days": 100,
  "communityHealthPercent": 87,
  "activeCommittersLast90Days": 24
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-github-repository-health-check-fd2b133d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
