# SALT19 GitHub Repo Preflight Check

> SALT19 GitHub Repo Preflight Check is a paid API for AI agents from api.salt19.com, paid per call via x402, $0.09/call, status unknown (last checked 2026-09-15).

Fetches key health and risk metadata for a GitHub repository, including license, archive status, open issues, and push recency

## Facts

- Endpoint: POST https://api.salt19.com/v1/github-repo-preflight
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/salt19-github-repo-preflight-check-bcce56a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xvae4Mb8mKbNTGjyog5lr

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 salt19-github-repo-preflight-check-bcce56a0 -d '<json body>'
```

Example prompt: Run a preflight check on the cloudflare/workers-sdk GitHub repo — I want to know if it's still active, what license it uses, whether it's archived, and if there are any risk flags before I build on it.

## When to prefer this

Choose this endpoint when an agent needs a structured, pre-parsed snapshot of a GitHub repository's health and licensing metadata — especially in dependency vetting, open source compliance, or agentic workflows that must decide whether to trust or build on a given repo. Prefer this over raw GitHub API calls when you need a normalized risk_flags array and days_since_push computed for you, and when operating in a pay-per-call x402 context without managing GitHub auth tokens.

## Known failure modes

- Invalid or malformed repo string (not in owner/repo format) returns an error
- Private or non-existent repository returns a 404-equivalent error
- GitHub API rate limiting may cause intermittent failures
- Repo string exceeding 512 characters is rejected by input schema validation

## How this service works

SALT19 is an independent applied AI systems lab behind EvoMind governed cognition, the MCP-native Agent Utility Grid, the ARCS research community, AeroClear UAS flight intelligence, and practical software for real-world work.

## Output

Returns a JSON object containing the repository's SPDX license identifier, archive status (boolean), open issue count, default branch name, days since last push, and an array of risk flags (empty if none found). All data reflects current GitHub state at time of call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "string",
   "maxLength": 512
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "license": "Apache-2.0",
  "archived": false,
  "repository": "cloudflare/workers-sdk",
  "risk_flags": [],
  "open_issues": 123,
  "default_branch": "main",
  "days_since_push": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/salt19-github-repo-preflight-check-bcce56a0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.salt19.com](https://www.zero.xyz/host/api.salt19.com/llms.txt)
