v43

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-0953227392.1 KB
Model Scanner SaaS
Model Scanner Self-Hosted (Deprecated)

Scan a remote model

post/scan/v3/jobs

Response

Scan job request was accepted

scan_idstring uuid

unique identifier for the scan

status'pending' | 'running' | 'done' | 'failed' | 'canceled'

Status of the scan

Example response

{
  "inventory": {
    "model_name": "keras-tf-2025-05-27",
    "model_version": "1.0.0",
    "requested_scan_location": "/files-to-scan",
    "scan_target": {
      "deep_scan": {
        "file_location": "https://huggingface.co/meta-llama/Llama-3.1-8B",
        "files": [
          {
            "file_location": "https://huggingface.co/meta-llama/Llama-3.1-8B/resolve/main/config.json",
            "file_name_alias": "model-config.json"
          }
        ]
      },
      "provider_details": {
        "provider": "AWS_BEDROCK",
        "provider_model_id": "anthropic.claude-3-5-sonnet-20241022-v2:0"
      },
      "asset_region": "us-east-1",
      "asset_id": "a1b2c3d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d"
    },
    "origin": "Hugging Face"
  },
  "scan_id": "00000000-0000-0000-0000-000000000000",
  "status": "pending"
}