---
title: "Set default model for a feature"
method: PUT
path: "/api/v1/platform/features/{feature}/default-model"
tags: ["features"]
---

# Set default model for a feature

`PUT /api/v1/platform/features/{feature}/default-model`

## Request

- Base URL: `https://api.smith.langchain.com`
- URL: `https://api.smith.langchain.com/api/v1/platform/features/{feature}/default-model`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in header `X-Tenant-Id`
  - HTTP bearer

Sets or replaces the default model for a feature in the workspace.

## Path parameters

- `feature` string, required

## Request body

- FeaturesUpsertDefaultModelRequest
  - `model` string

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal Server Error

## Changes

- **2026-10-16** `1a8ee9358d81`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/api/v1/platform/features/:feature/default-model/put.md)

---

[API](https://skmtc.dev/langchain-ai/apis/langsmith.md) - [All operations](https://skmtc.dev/langchain-ai/apis/langsmith/llms.txt) - [OpenAPI document](https://skmtc.dev/langchain-ai/apis/langsmith/revisions/7a01c01f75e8?raw)
