runs
Share a run
Changed onCreates or returns a share token for a run. Child runs share their trace root.
Self-hosted deployments require LangSmith v0.16 or later.
post/api/v2/runs/{run_id}/share
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v2/runs/{run_id}/share
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Path parameters
run_idstring uuid required
Run UUID
Request body
Example request
{
"session_id": "018e4c7e-a9fb-7ef0-a5b6-6ea3a82e9327",
"trace_id": "018e4c7e-a9fb-7ef0-a5b6-6ea3a82e9327"
}Response
OK
Example response
{
"share_token": "018e4c7e-a9fb-7ef0-a5b6-6ea3a82e9327"
}Changes
- breaking
the request property
became required - breaking
the request property
became required
- breaking
- info
endpoint added
- info