LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmith_openapi_clientresourcesrunsSharedelete
Method●Since v0.10

delete

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

Copy
delete(
  traceID: string,
  body: ShareDeleteParams,
  options: RequestOptions
): APIPromise<void>

Parameters

NameTypeDescription
traceID*string
body*ShareDeleteParams
optionsRequestOptions

Example

Copy
await client.runs.share.delete(
  '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
);
View source on GitHub