ZeroLeaks
API Reference

Skill Scans

Scan skill repositories, URLs, local archives, and manifests.

Skill Scans

MethodDescription
skillScans.create(input)Start a remote-source or synchronous scan
skillScans.uploadArchive(file, options?)Upload a ZIP archive
skillScans.get(scanId, signal?)Get scan state and report
skillScans.list(limit?)List recent scans
skillScans.wait(scanId, options?)Poll until terminal
skillScans.run(input, options?)Create an asynchronous scan and wait for completion

CreateSkillScanRequest supports source, skill, delivery mode, webhook delivery, static and behavior models, file limits, tool profile, scan mode, behavior trial limits, asset inclusion, and request timeout.

const result = await zeroleaks.skillScans.run({
  source: "https://github.com/acme/agent-skill",
  mode: "full",
  toolProfile: "networked",
});

On this page