[PR #3811] docs(langsmith): document model configurations api #3829

Open
opened 2026-06-05 18:53:17 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3811
Author: @niilooy
Created: 4/30/2026
Status: 🔄 Open

Base: mainHead: docs/add-model-config-api


📝 Commits (1)

  • 3088e87 docs(langsmith): document model configurations api

📊 Changes

1 file changed (+89 additions, -0 deletions)

View changed files

📝 src/langsmith/managing-model-configurations.mdx (+89 -0)

📄 Description

Overview

Adds a "Manage programmatically" section to the existing model configurations page (src/langsmith/managing-model-configurations.mdx), covering the REST API surface for creating, updating, and deleting model configurations, toggling per-feature availability, and setting per-feature default models.

This closes a documentation gap surfaced by a customer.

Type of change

Type: Update existing documentation

Related issues/PRs

  • GitHub issue: n/a
  • Feature PR: n/a
  • Linear issue: n/a
  • Slack thread: n/a

Checklist

  • I have read the contributing guidelines, including the language policy
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly (verified against prod via repro_21602_model_config.py)
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed (no nav change — section added to existing page)

Additional notes

  • Endpoints documented: POST/GET/PATCH/DELETE /api/v1/playground-settings, GET /v1/platform/features, PUT/DELETE /v1/platform/features/{feature}/default-model.
  • Examples use the global host https://api.smith.langchain.com with a note to swap for EU or self-hosted endpoints, matching the convention in run-evals-api-only.mdx and trace-with-api.mdx.
  • Cross-link added to custom-openai-compliant-model for users who want to point a configuration at a proxied OpenAI-compatible endpoint via baseUrl.
  • make lint_prose clean (0 errors / 0 warnings).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3811 **Author:** [@niilooy](https://github.com/niilooy) **Created:** 4/30/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `docs/add-model-config-api` --- ### 📝 Commits (1) - [`3088e87`](https://github.com/langchain-ai/docs/commit/3088e872857e69c43ad885ada30c6eda3f249bc3) docs(langsmith): document model configurations api ### 📊 Changes **1 file changed** (+89 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/langsmith/managing-model-configurations.mdx` (+89 -0) </details> ### 📄 Description ## Overview Adds a "Manage programmatically" section to the existing model configurations page (`src/langsmith/managing-model-configurations.mdx`), covering the REST API surface for creating, updating, and deleting model configurations, toggling per-feature availability, and setting per-feature default models. This closes a documentation gap surfaced by a customer. ## Type of change **Type:** Update existing documentation ## Related issues/PRs - GitHub issue: n/a - Feature PR: n/a - Linear issue: n/a - Slack thread: n/a ## Checklist - [x] I have read the [contributing guidelines](README.md), including the [language policy](https://docs.langchain.com/oss/python/contributing/overview#language-policy) - [x] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly (verified against prod via `repro_21602_model_config.py`) - [x] I have used **root relative** paths for internal links - [x] I have updated navigation in `src/docs.json` if needed (no nav change — section added to existing page) ## Additional notes - Endpoints documented: `POST/GET/PATCH/DELETE /api/v1/playground-settings`, `GET /v1/platform/features`, `PUT/DELETE /v1/platform/features/{feature}/default-model`. - Examples use the global host `https://api.smith.langchain.com` with a note to swap for EU or self-hosted endpoints, matching the convention in `run-evals-api-only.mdx` and `trace-with-api.mdx`. - Cross-link added to `custom-openai-compliant-model` for users who want to point a configuration at a proxied OpenAI-compatible endpoint via `baseUrl`. - `make lint_prose` clean (0 errors / 0 warnings). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:53:17 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3829