threads
Read a thread's share state
Changed onReturns 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.
get/api/v2/threads/{thread_id}/share
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v2/threads/{thread_id}/share
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Path parameters
thread_idstring required
Thread ID
Query parameters
project_idstring uuid required
Project UUID
Response
share_token is omitted when the thread is not shared
Example response
{
"share_token": "018e4c7e-a9fb-7ef0-a5b6-6ea3a82e9327"
}Changes
- info
endpoint added
- info