---
title: "add a model"
method: POST
path: "/data-providers/{dataProviderId}/projects/{projectId}/models"
tags: ["Model"]
---

# add a model

`POST /data-providers/{dataProviderId}/projects/{projectId}/models`

## Path parameters

- `dataProviderId` string, required
- `projectId` string, required

## Request body

- object
  - `name` string, required
  - `metadata` object — Model metadata - key value list

## Response `200`

Model added

## Other responses

- `402` — Model name contain invalid characters
- `404` — Project not found
- `409` — Warning - Model already exist

---

[API](https://skmtc.net/debiai/apis/debiai-backend-api.md) · [All operations](https://skmtc.net/debiai/apis/debiai-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/debiai/debiai-backend-api/revisions/c53e3bf3be9b/schema)
