Prompt Buddy logoPrompt Buddy

langchain · LangGraph and LangChain Agents Docs

Langsmith Create Background Run

How to initiate an asynchronous run within an existing LangSmith thread that returns a run ID immediately without waiting for the final output.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Langsmith Create Background Run

How to initiate an asynchronous run within an existing LangSmith thread that returns a run ID immediately without waiting for the final output.

When To Use

Use when you need to trigger a LangSmith run that executes in the background to avoid blocking the client while waiting for a final response.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/langsmith-agent-server-api-thread-runs-create-background-run-workflow-guide.mdDocumentation for the LangSmith Agent Server API endpoint to create a background run within an existing thread.Questions about documentation for the LangSmith Agent Server API endpoint to create a background run within an existing thread.
examples/langsmith-agent-server-api-thread-runs-create-background-run-langsmith-a.textAn OpenAPI 3.1.0 specification defining the endpoint for creating background runs within the LangSmith Agent Server API.Exact payloads, commands, or snippets shown in An OpenAPI 3.1.0 specification defining the endpoint for creating background 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/create-background-run.md