Skip to content
HALOWERK

Package and Supply Chain Security

repo linguist byte attribution

Repository byte attribution totals uniquely classified file sizes by language and isolates unresolved bytes. Use it when an agent needs estimating language mix from a file inventory.

POST https://paket.halowerk.com/v1/repo-linguist-byte-attribution

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
pathsarrayYes
bytesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "paths": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 180,
        "minLength": 1
      },
      "maxItems": 80,
      "minItems": 1
    },
    "bytes": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1000000000
      },
      "maxItems": 80,
      "minItems": 1
    }
  },
  "required": [
    "paths",
    "bytes"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "paths": [
    "Makefile",
    "lib/linguist.rb",
    "README.md"
  ],
  "bytes": [
    512,
    2048,
    128
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’