Skip to content
HALOWERK

Package and Supply Chain Security

dart lock sdk admission

Dart lockfile SDK compatibility checks a supplied stable SDK version against the recorded SDK constraint. Use it when an agent needs testing a build agent version before running pub.

POST https://paket.halowerk.com/v1/dart-lock-sdk-admission

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
lockfilestringYesDart pubspec.lock YAML or a pinned pub@ revision shown in the usage guide.
sdkstringYes
versionstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "lockfile": {
      "type": "string",
      "maxLength": 64000,
      "minLength": 1,
      "description": "Dart pubspec.lock YAML or a pinned pub@ revision shown in the usage guide."
    },
    "sdk": {
      "type": "string",
      "maxLength": 36,
      "minLength": 1
    },
    "version": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    }
  },
  "required": [
    "lockfile",
    "sdk",
    "version"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "lockfile": "pub@b5263b3f",
  "sdk": "dart",
  "version": "3.10.0"
}

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 โ†’