Prompt Buddy logoPrompt Buddy

langchain · LangGraph and LangChain Agents Docs

Langsmith Cancel Runs

Provides instructions and API specifications for terminating active or pending runs within LangSmith using thread IDs, specific run IDs, or status filters.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Langsmith Cancel Runs

Provides instructions and API specifications for terminating active or pending runs within LangSmith using thread IDs, specific run IDs, or status filters.

When To Use

Use when you need to programmatically stop specific execution traces or bulk-cancel runs based on their current status or thread association.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/langsmith-agent-server-api-thread-runs-cancel-workflow-guide.mdDocumentation detailing the API endpoint and procedures for canceling one or more runs within a Langsmith thread.Questions about documentation detailing the API endpoint and procedures for canceling one or more runs within a Langsmith thread.
examples/langsmith-agent-server-api-thread-runs-cancel-langsmith-agent-server-api.textAn OpenAPI 3.1.0 specification defining the endpoints for canceling runs within the LangSmith Agent Server API.Exact payloads, commands, or snippets shown in An OpenAPI 3.1.0 specification defining the endpoints for canceling runs within the LangSmith Agent Server API.

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/thread-runs/cancel-runs.md