Safety-scan lookup for ANY file hash or repo reference — not just Hugging Bay-hosted rows.
Pass sha256=<hex> (matches hosted files with a recorded SHA-256) or repo=<owner/name-or-id>. Unknown hashes return verdict unknown with hash_not_in_catalog so agents can treat unverified provenance as a risk signal.
Inputs. Path, query and header fields are listed below. No request body is required.
Outputs. See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.
Errors. API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.
Rate limits. Public read budgets apply by client IP and route group. This operation can have a smaller route-specific budget. Read Retry-After on 429 or retryable 503 responses.
Request
- Base URL: https://huggingbay.xyz
- URL: https://huggingbay.xyz/api/safety
- Auth: none declared
Query parameters
Deprecated legacy response block opt-in for one release only.
Response
Safety verdict (known or unknown-hash)
Safety verdict (known or unknown-hash). Fields can vary; no stronger field guarantee is specified for this operation.
Changes
No recorded changes to this operation across all 2 revisions of this API.