Prompt Buddy logoPrompt Buddy

langchain · LangGraph and LangChain Agents Docs

Langsmith Prune Threads

Explains how to prune LangSmith threads using the Agent Server API by selecting between a delete strategy to remove threads entirely or a keep-latest strategy to remove old checkpoints while preserving the current state.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Langsmith Prune Threads

Explains how to prune LangSmith threads using the Agent Server API by selecting between a delete strategy to remove threads entirely or a keep-latest strategy to remove old checkpoints while preserving the current state.

When To Use

Use when you need to manage storage or state history by programmatically removing old thread checkpoints or deleting entire conversation threads via the Agent Server API.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/langsmith-agent-server-api-threads-prune-workflow-guide.mdOpenAPI specification details for pruning LangSmith agent server API threads by ID using different deletion strategies.Questions about openAPI specification details for pruning LangSmith agent server API threads by ID using different deletion strategies.
examples/langsmith-agent-server-api-threads-prune-openapi-specification.textAn OpenAPI 3.1.0 specification defining the endpoints and schemas for pruning threads within the LangSmith Agent Server API.Exact payloads, commands, or snippets shown in An OpenAPI 3.1.0 specification defining the endpoints and schemas for pruning threads within the LangSmith Agent Serv...

What This Skill Covers

  • Documentation Index Fetch the complete documentation index at: https://docs.langchain.com/llms.txt Use this file to discover all available pages before ex...

  • Main sections: OpenAPI.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://docs.langchain.com/langsmith/agent-server-api/threads/prune-threads.md