Scan Package Endpoint
Grade a PUBLISHED npm or PyPI package directly by coordinate — no GitHub repo required. The signed A+..F grade is computed over the real artifact bytes (scan_depth = artifact) with the package's own build provenance verified. E.g. /public/scan/package/npm/chalk or /public/scan/package/pypi/requests?version=2.32.5. Cached 1h.
Request
- Base URL: https://agentavow.com (the document declares no server; this is the origin it was published from)
- URL: https://agentavow.com/api/v1/public/scan/package/{surface}/{name}
- Auth: none declared
Path parameters
Query parameters
Bypass cache and force a fresh scan
Force a fresh behavioral sandbox run (npm/PyPI)
Exact version; default = latest
Return the last STORED grade (up to 7 days old) at once and never run a fresh scan inline; a grade older than 1h is refreshed in the background. 202 {status: queued} when nothing is stored yet (a scan is queued). For hooks and bulk callers that must not block or burn the fresh-scan budget.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.