---
title: "Read a thread's share state"
method: GET
path: "/api/v2/threads/{thread_id}/share"
tags: ["threads"]
---

# Read a thread's share state

`GET /api/v2/threads/{thread_id}/share`

## Request

- Base URL: `https://api.smith.langchain.com`
- URL: `https://api.smith.langchain.com/api/v2/threads/{thread_id}/share`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in header `X-Tenant-Id`
  - HTTP bearer

Returns the share token for a thread. The token is omitted when
the thread is not shared. Gated on runs:share so the control's
state matches the control's permission.

## Path parameters

- `thread_id` string, required

## Query parameters

- `project_id` string, uuid, required

## Response `200`

share_token is omitted when the thread is not shared

- ThreadshareShareTokenResponseBody
  - `share_token` string, uuid

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal Server Error

## Changes

- **2026-10-16** `1a8ee9358d81`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/api/v2/threads/:thread_id/share/get.md)

---

[API](https://skmtc.dev/langchain-ai/apis/langsmith.md) - [All operations](https://skmtc.dev/langchain-ai/apis/langsmith/llms.txt) - [OpenAPI document](https://skmtc.dev/langchain-ai/apis/langsmith/revisions/7a01c01f75e8?raw)
