Okapi Okapi

LangSmith API · Endpoint removal

POST /api/v1/runs/query stops working

Stops working (in 100 days)

Calls to POST /api/v1/runs/query on LangSmith API stop working on January 31, 2027.

What to use instead of these calls

Call POST /api/v2/runs/query with project_ids and an explicit min_start_time (it defaults to the last 24 hours), and selects for the fields you need; root runs: POST /api/v2/traces/query; threads: POST /api/v2/threads/query.

Calls it hits

  • POST /api/v1/runs/query

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