Okapi Okapi

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

Stops workingin 86 daysSubscribe to LangSmith APIShare

On January 31, 2027, the endpoint GET /api/v1/runs/{id} will stop working. Requests made to this route after that date will fail. LangSmith announced this retirement on July 27, 2026, marking legacy run retrieval routes as deprecated with sunset response headers.


Calls it hits

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

What to use instead of these calls

Call GET /api/v2/runs/{run_id} instead. Updating will require adding the new mandatory project_id query parameter and specifying selects for the fields you need.

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 GET /api/v1/runs/{id} 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. /api/v1/runs/{id}/shareEndpoint removal Stops workingin 86 days
  3. GET /api/v1/public/{id}/run/{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.