---
title: "Marketplace Upload Model"
method: POST
path: "/api/v1/marketplace/models/upload"
tags: ["marketplace"]
---

# Marketplace Upload Model

`POST /api/v1/marketplace/models/upload`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/marketplace/models/upload`
- Auth: none declared

Upload a .joblib model file via multipart form data.

Validates the model (must have a predict() method, reasonable file size).
Stores in models/marketplace/{creator_id}/{model_slug}/.
Returns the stored model_path for use in the submit endpoint.

Max file size: 100 MB.

## Query parameters

- `file` unknown

## Headers

- `x-api-key` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
