Okapi Okapi

LangSmith API /api/v1/runs/{id}/share endpoint removal

Stops workingin 86 daysSubscribe to LangSmith APIShare

On January 31, 2027, the endpoint /api/v1/runs/{id}/share will stop working. Requests made to this legacy endpoint after that date will fail. LangSmith announced this deprecation on July 27, 2026, marking the route with a Sunset date of January 31, 2027.


Calls it hits

  • /api/v1/runs/{id}/share

What to use instead of these calls

Share runs using POST /api/v2/runs/{run_id}/share, unshare them with DELETE /api/v2/runs/{trace_id}/share, and read the share state using GET /api/v2/runs/{run_id}?selects=SHARE_URL.

In LangSmith API's words

LangSmith marks every legacy endpoint replaced by the SmithDB SDK migration guide as deprecated: the v1 runs query and retrieve endpoints, the v1 run sharing and public-run read endpoints, POST /api/v1/datasets/{dataset_id}/runs , and the annotation queue run endpoints. All of them now respond with Deprecation: true , a Sunset date of January 31, 2027

LangSmith API, Announcement

Facts

API
LangSmith API api.smith.langchain.com
Kind
Endpoint removal
Announced
July 27, 2026
Takes effect
January 31, 2027
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against LangSmith API's own pages

Questions

When does this change take effect?

Calls to /api/v1/runs/{id}/share on LangSmith API stop working on January 31, 2027.

What happens to calls after January 31, 2027?

They fail from that day.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from LangSmith API 6

  1. /api/v1/feedback/formulas*Endpoint removal Stopped working
  2. GET /api/v1/public/{id}/run/{id}Endpoint removal Stops workingin 86 days
  3. GET /api/v1/runs/{id}Endpoint removal Stops workingin 86 days
  4. POST /api/v1/datasets/{id}/runsEndpoint removal Stops workingin 86 days
  5. POST /api/v1/public/{id}/runs/queryEndpoint removal Stops workingin 86 days
  6. POST /api/v1/runs/queryEndpoint removal Stops workingin 86 days

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix before January 31, 2027.

Add to GitHub

Get notifications

Subscribe to LangSmith API

Hear about each breaking change LangSmith API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • LangSmith API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.