LangSmith API
POST /api/v1/runs/query endpoint removal
Stops workingSubscribe to LangSmith APIShare
On January 31, 2027, the endpoint POST /api/v1/runs/query will stop working. Requests made to this endpoint after that day will fail. The removal was announced on July 27, 2026, when LangSmith marked legacy endpoints as deprecated.
Calls it hits
POST /api/v1/runs/query
What to use instead of these calls
Call POST /api/v2/runs/query with project_ids, an explicit min_start_time, and selects for the fields you need. Use POST /api/v2/traces/query for root runs and POST /api/v2/threads/query for threads.
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/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/public/{id}/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.