runs

Deletes the share token for the trace identified by trace_id and session_id. Idempotent: returns 204 whether or not a share token existed.

Self-hosted deployments require LangSmith v0.16 or later.

delete/api/v2/runs/{trace_id}/share

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v2/runs/{trace_id}/share
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Path parameters

trace_idstring uuid required

Trace root UUID

Request body

session_idstring uuid required

session_id is the tracing project UUID containing the trace.

Example request

{
  "session_id": "018e4c7e-a9fb-7ef0-a5b6-6ea3a82e9327"
}

Response

No Content

Changes