POST

Static security scan of GGUF model files: detects malformed/crash-inducing tensors (div-by-zero), unbounded allocation, truncated offsets

/v1/gguf-scan/scan

Request → Response

Request shape from schemas.json.

Requestapplication/json
POST /v1/gguf-scan/scan
Content-Type: application/json

{}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Static security scan of GGUF model files: detects malformed/crash-inducing tensors (div-by-zero), unbounded allocation, truncated offsets.

Request schema

No request fields documented for this endpoint.
IMPLEMENTATION
import requests

# Step 1: POST → 402 quote, pay USDC, retry with X-Payment
r = requests.post(
    "https://api.tools402.dev/v1/gguf-scan/scan",
    json={}
)
print(r.status_code, r.text[:500])

402 payment flow omitted — see Integrations for settlement.