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

# PUT /v1/model-configs/{config_id}

> Update Model Config

Replace the config. Runs already started keep the copy they were made with.## Path parameters

\<table><thead><tr><th>Name</th>
            \<th>Type</th>
            \<th>Required</th>
            \<th>Description</th></tr></thead>
        \<tbody /></table>

## Headers

\<table><thead><tr><th>Name</th>
            \<th>Type</th>
            \<th>Required</th>
            \<th>Description</th></tr></thead>
        \<tbody /></table>

## Request body

\<table><thead><tr><th>Name</th>
            \<th>Type</th>
            \<th>Required</th>
            \<th>Description</th></tr></thead>
        \<tbody /></table>

## Response

\<table><thead><tr><th>Name</th>
            \<th>Type</th>
            \<th>Required</th>
            \<th>Description</th></tr></thead>
        \<tbody /></table>

## Status codes| Status | Meaning |
| - | - |
| `200` | Successful Response |
| `422` | Validation Error |## Example request```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
curl --request PUT \
  --url https://api.getbluejay.ai/v1/model-configs/{config_id} \
  --header 'X-API-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "<string>",
    "provider": "<string>",
    "model": "<string>",
    "mode": "batch",
    "settings": {
      "boost_vocabulary": true,
      "auth_header": "<string>",
      "username": "<string>"
    },
    "endpoint_url": "<string>",
    "endpoint_secret": "<string>",
    "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }'
```## Example response```json 200 theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "kind": "<string>",
  "name": "<string>",
  "provider": "<string>",
  "model": "<string>",
  "mode": "batch",
  "settings": {},
  "endpoint_url": "<string>",
  "endpoint_secret_set": true,
  "created_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-01T00:00:00Z"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.