LangSmith API
POST /api/v1/public/{id}/runs/query endpoint removal
Stops workingSubscribe to LangSmith APIShare
On January 31, 2027, POST /api/v1/public/{id}/runs/query will stop working and calls to it will fail. LangSmith marked the endpoint as deprecated on July 27, 2026, alongside other legacy endpoints replaced by the SmithDB SDK migration guide. Requests made after the January 31, 2027 sunset date will not succeed.
Calls it hits
POST /api/v1/public/{id}/runs/query
What to use instead of these calls
Call POST /api/v2/public/{share_token}/runs/query instead.
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
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 POST /api/v1/public/{id}/runs/query 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
-
/api/v1/feedback/formulas*Endpoint removal Stopped working -
/api/v1/runs/{id}/shareEndpoint removal Stops workingin 86 days -
GET /api/v1/public/{id}/run/{id}Endpoint removal Stops workingin 86 days -
GET /api/v1/runs/{id}Endpoint removal Stops workingin 86 days -
POST /api/v1/datasets/{id}/runsEndpoint removal Stops workingin 86 days -
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.