Takes a file digest and answers which released package version it is
paket.halowerk.com/v1/artifact-hash
Takes a file digest and answers which released package version it is. Useful for an artefact found in a container layer, a build directory or an attachment with no metadata attached. Hex and base64 input are both accepted and normalised, the digest length is checked against the declared algorithm before anything is fetched, and the response names every matching package version, since one artefact
POST
https://paket.halowerk.com/v1/artifact-hashUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://paket.halowerk.com/v1/artifact-hash", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"algorithm":"SHA1","hash":"3fabe08296e930c796c19e3c516979386ba9fd59"}),
});
console.log(await res.json());Example input
{
"algorithm": "SHA1",
"hash": "3fabe08296e930c796c19e3c516979386ba9fd59"
}