---
title: "Changes to Upsert Current Workspace Secrets"
method: POST
path: "/api/v1/workspaces/current/secrets"
---

# Changes to Upsert Current Workspace Secrets

`POST /api/v1/workspaces/current/secrets`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 77 revisions.

- **2026-10-16** `1a8ee9358d81`: 4 breaking

## Changes

- **2026-10-16** `1a8ee9358d81`: 4 breaking
  - the `detail/items/` response's property type changed from `object` to `string` for status `422`
  - removed the required property `detail/items/loc` from the response with the `422` status
  - removed the required property `detail/items/msg` from the response with the `422` status
  - removed the required property `detail/items/type` from the response with the `422` status

---

[Operation](https://skmtc.dev/langchain-ai/apis/langsmith/docs/api/v1/workspaces/current/secrets/post.md) - [API](https://skmtc.dev/langchain-ai/apis/langsmith.md) - [Page](https://skmtc.dev/langchain-ai/apis/langsmith/changes/api/v1/workspaces/current/secrets/post)
