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

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

On January 31, 2027, the endpoint /api/v1/runs/{id}/share will stop working. Requests made to this legacy endpoint after that date will fail. LangSmith announced this deprecation on July 27, 2026, marking the route with a Sunset date of January 31, 2027.

## What to use instead

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

- API: LangSmith API (api.smith.langchain.com)
- Kind: Endpoint removal
- Announced: July 27, 2026
- Takes effect: January 31, 2027
- Calls after that day: fail
- Calls it hits: `/api/v1/runs/{id}/share`
- Source: [Announcement](https://docs.langchain.com/langsmith/changelog)
- Verified: November 6, 2026, against LangSmith API's own pages
- Page: https://www.okapi.bot/providers/langsmith-api/breaking-changes/api-v1-runs-share-stops-working/

## 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

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
