---
title: "Get security status"
method: GET
path: "/api/models/{namespace}/{repo}/scan"
tags: ["models"]
---

# Get security status

`GET /api/models/{namespace}/{repo}/scan`

Get the security status of a repo

## Path parameters

- `namespace` string, required
- `repo` string, required

## Response `200`

The security status of the repo

- object
  - `scansDone` boolean, required
  - `filesWithIssues` object[], required
    - `path` string, required
    - `level` 'unscanned' | 'safe' | 'queued' | 'error' | 'caution' | 'suspicious' | 'unsafe', required

---

[API](https://skmtc.net/huggingface/apis/hub-api-endpoints.md) · [All operations](https://skmtc.net/huggingface/apis/hub-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/huggingface/hub-api-endpoints/versions/6ab9f7d9cfb5/schema)
