---
title: "Upload a model file"
method: POST
path: "/scan/v3/upload/{scan_id}/file"
tags: ["Model Scanner SaaS", "Model Scanner Self-Hosted (Deprecated)"]
---

# Upload a model file

`POST /scan/v3/upload/{scan_id}/file`

## Response `200`

Successful Response

- object
  - `upload_id` string, uuid, required — UploadId for the current file
  - `parts` object[], required
    - `part_number` integer
    - `start_offset` integer
    - `end_offset` integer
    - `upload_url` string, uri

## Other responses

- `400` — The request failed due to a client error, with one or more of the following possible causes: 1. The request required a tenant_id field, which was missing. 2. The request was malformed syntactically or semantically.
- `422` — Validation Error

---

[API](https://skmtc.net/hiddenlayerai/apis/hiddenlayer-audit-api.md) · [All operations](https://skmtc.net/hiddenlayerai/apis/hiddenlayer-audit-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiddenlayerai/hiddenlayer-audit-api/versions/efca861e915b/schema)
