PkgSeek · Schema

PackageFiles

File list payload for `GET /v1/packages/{distro}/{name}/files`: the same build resolution as the detail endpoint, but only the file paths, so clients can lazy-load them instead of paying for them in every detail response.

PackageSearchOpen SourceLinuxDevOps

Properties

Name Type Description
arch stringnull
distro string
files array Indexed file paths for the resolved build (capped at 2000).
name string
release string
repo string
resolution object
source string
total integer Total indexed file paths for the resolved build (un-truncated).
truncated boolean True when `total` exceeds the returned `files` cap.
version stringnull
View JSON Schema on GitHub

JSON Schema

pkgseek-com-package-files-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pkgseek-com/json-schema/pkgseek-com-package-files-schema.json",
  "title": "PackageFiles",
  "description": "File list payload for `GET /v1/packages/{distro}/{name}/files`: the same\nbuild resolution as the detail endpoint, but only the file paths, so clients\ncan lazy-load them instead of paying for them in every detail response.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pkgseek-com-openapi.yml#/components/schemas/PackageFiles",
  "type": "object",
  "required": [
    "name",
    "distro",
    "release",
    "source",
    "repo",
    "files",
    "total",
    "truncated"
  ],
  "properties": {
    "arch": {
      "type": [
        "string",
        "null"
      ]
    },
    "distro": {
      "type": "string"
    },
    "files": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Indexed file paths for the resolved build (capped at 2000)."
    },
    "name": {
      "type": "string"
    },
    "release": {
      "type": "string"
    },
    "repo": {
      "type": "string"
    },
    "resolution": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/PackageResolution"
        }
      ]
    },
    "source": {
      "type": "string"
    },
    "total": {
      "type": "integer",
      "format": "int64",
      "description": "Total indexed file paths for the resolved build (un-truncated)."
    },
    "truncated": {
      "type": "boolean",
      "description": "True when `total` exceeds the returned `files` cap."
    },
    "version": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$defs": {
    "PackageResolution": {
      "type": "object",
      "required": [
        "requested",
        "resolved",
        "match_type",
        "selection",
        "catalog_revision",
        "policy",
        "coverage",
        "warnings"
      ],
      "properties": {
        "catalog_revision": {
          "type": "string"
        },
        "coverage": {
          "$ref": "#/$defs/ScopeCoverage"
        },
        "match_type": {
          "type": "string"
        },
        "policy": {
          "type": "string"
        },
        "requested": {
          "$ref": "#/$defs/PackageScope"
        },
        "resolved": {
          "$ref": "#/$defs/PackageScope"
        },
        "selection": {
          "type": "string"
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "PackageScope": {
      "type": "object",
      "description": "An explicit ordinary-repository request uses one exact release snapshot.",
      "required": [
        "distro",
        "release",
        "source",
        "arch"
      ],
      "properties": {
        "arch": {
          "type": "string"
        },
        "distro": {
          "type": "string"
        },
        "release": {
          "type": "string"
        },
        "repo": {
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "ScopeCoverage": {
      "type": "object",
      "required": [
        "state",
        "reason"
      ],
      "properties": {
        "generation": {
          "type": [
            "string",
            "null"
          ]
        },
        "observed_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "reason": {
          "type": "string"
        },
        "state": {
          "type": "string",
          "description": "Legacy index timestamps cannot prove a complete import generation."
        }
      }
    }
  }
}

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/pkgseek-com-package-files"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.