Git.Top · Schema

SyncStatusResponse

Knowledge GraphOpen SourceRecommendationsAgent Tools

Properties

Name Type Description
detail string
health string
freshness string
cursor object
latest_success object
recent_failures array
priority object
derived object
View JSON Schema on GitHub

JSON Schema

git-top-sync-status-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/git-top/json-schema/git-top-sync-status-response-schema.json",
  "title": "SyncStatusResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/git-top-openapi.json#/components/schemas/SyncStatusResponse",
  "type": "object",
  "required": [
    "detail",
    "health",
    "freshness",
    "priority"
  ],
  "properties": {
    "detail": {
      "type": "string",
      "enum": [
        "summary",
        "full"
      ]
    },
    "health": {
      "type": "string"
    },
    "freshness": {
      "type": "string"
    },
    "cursor": {
      "type": "object",
      "additionalProperties": true
    },
    "latest_success": {
      "type": "object",
      "additionalProperties": true
    },
    "recent_failures": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "priority": {
      "type": "object",
      "required": [
        "policy",
        "counts",
        "refresh_due_counts",
        "stale_counts",
        "stale_rates",
        "freshness_slo",
        "capacity"
      ],
      "properties": {
        "policy": {
          "type": "object",
          "properties": {
            "hot_target_days": {
              "type": "integer"
            },
            "warm_target_days": {
              "type": "integer"
            },
            "cold_target_days": {
              "type": "integer"
            }
          }
        },
        "counts": {
          "type": "object",
          "additionalProperties": {
            "type": "integer"
          }
        },
        "refresh_due_counts": {
          "type": "object",
          "additionalProperties": {
            "type": "integer"
          }
        },
        "stale_counts": {
          "type": "object",
          "additionalProperties": {
            "type": "integer"
          }
        },
        "stale_rates": {
          "type": "object",
          "additionalProperties": {
            "type": "number"
          }
        },
        "freshness_slo": {
          "$ref": "#/$defs/SyncFreshnessSlo"
        },
        "capacity": {
          "type": "object",
          "required": [
            "scheduled_daily_capacity",
            "required_daily_syncs",
            "utilization",
            "headroom",
            "target_feasible"
          ],
          "properties": {
            "scheduled_runs_per_day": {
              "type": "integer"
            },
            "refresh_limit_per_run": {
              "type": "integer"
            },
            "scheduled_daily_capacity": {
              "type": "integer"
            },
            "required_daily_syncs": {
              "type": "integer"
            },
            "utilization": {
              "type": "number"
            },
            "headroom": {
              "type": "integer"
            },
            "target_feasible": {
              "type": "boolean"
            }
          }
        },
        "priority_preview": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "refresh_due_preview": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        }
      }
    },
    "derived": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": true,
  "$defs": {
    "SyncFreshnessSlo": {
      "type": "object",
      "required": [
        "hot_projects",
        "whole_corpus"
      ],
      "properties": {
        "hot_projects": {
          "allOf": [
            {
              "$ref": "#/$defs/SyncFreshnessSloSegment"
            },
            {
              "type": "object",
              "required": [
                "target_hours"
              ],
              "properties": {
                "target_hours": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            }
          ]
        },
        "whole_corpus": {
          "allOf": [
            {
              "$ref": "#/$defs/SyncFreshnessSloSegment"
            },
            {
              "type": "object",
              "required": [
                "target_basis"
              ],
              "properties": {
                "target_basis": {
                  "type": "string",
                  "enum": [
                    "tier_policy"
                  ]
                }
              }
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "SyncFreshnessSloSegment": {
      "type": "object",
      "required": [
        "total",
        "within_target",
        "freshness_rate",
        "target_rate",
        "meets_target"
      ],
      "properties": {
        "total": {
          "type": "integer",
          "minimum": 0
        },
        "within_target": {
          "type": "integer",
          "minimum": 0
        },
        "freshness_rate": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "target_rate": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "meets_target": {
          "type": "boolean"
        }
      }
    }
  }
}

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/git-top-sync-status-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.