> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hiddenlayer.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Scanning Model Files

AI Supply Chain Security SaaS leverages the HiddenLayer AI Security Platform Supply Chain to analyze Machine Learning Models.

Scanning a model file using Supply Chain SaaS can be done in the following ways.

## Supply Chain SaaS

### HiddenLayer Console

Log in to the HiddenLayer Console and use the UI to scan a model files stored locally on your system or scan a model directly from a public repository on Hugging Face.

* [Scan a Local Model](https://docs.hiddenlayer.ai/docs/products/supply-chain/console/supply_chain_add_local_model.md)
* [Scan a Community Model](https://docs.hiddenlayer.ai/docs/products/supply-chain/console/supply_chain_add_community_model.md)

### HiddenLayer Python SDK

Use a Python SDK to scan a model file stored locally on your system or scan a model directly from a public repository on Hugging Face.

* [HiddenLayer Python SDK](https://github.com/hiddenlayerai/hiddenlayer-sdk-python): GitHub repository.

### HiddenLayer REST API

Use a REST API to scan a model file and perform other AI Security Platform actions without logging in to the Console. Model files can be stored locally on your system or scan a model directly from a public repository on Hugging Face.

* [Supply Chain in HiddenLayer Developer Portal](https://dev.hiddenlayer.ai/docs/scanning-and-analysis/model-scanner): **Note**: Requires a Console login.

> [!NOTE]
>
> **Python SDK is recommended**
>
> For ease of use when scanning a model file, the Python SDK is recommended over the REST API.

## View Scan Results

You can view your scan results in the Console.

* [Asset Scans](https://docs.hiddenlayer.ai/docs/products/supply-chain/console/supply_chain_asset_scans.md)
