threads
Share a thread
Changed onMints a public share token for a thread. Idempotent: sharing an already-shared thread returns the existing token.
post/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
Request body
Example request
{
"project_id": "018e4c7e-a9fb-7ef0-a5b6-6ea3a82e9327"
}Response
OK
Example response
{
"share_token": "018e4c7e-a9fb-7ef0-a5b6-6ea3a82e9327"
}Changes
- info
endpoint added
- info