Okapi Okapi

LangSmith API · Endpoint removal

/api/v1/runs/{}/share stops working

Stops working (in 100 days)

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

What to use instead of these calls

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

Calls it hits

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

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

More from LangSmith API

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub