---
title: "Create Model Config"
method: POST
path: "/model-config/"
tags: ["model-config"]
---

# Create Model Config

`POST /model-config/`

Create a new model configuration.

## Headers

- `authorization` string

## Request body

- ModelConfigCreate — Request model for creating a model configuration.
  - `provider` string, required
  - `config_data` object, required

## Response `200`

Successful Response

- ModelConfigResponse — Response model for model configuration.
  - `id` string, required
  - `provider` string, required
  - `config_data` object, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/morphik-org/apis/fastapi.md) · [All operations](https://skmtc.dev/morphik-org/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/morphik-org/fastapi/revisions/9ade02dd7b1d/schema)
