Prompt Buddy logoPrompt Buddy

langchain · LangGraph and LangChain Agents Docs

Langsmith Create Run, Wait for Output

Explains how to programmatically create a new run within an existing LangSmith thread and synchronously wait for the final execution output.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Langsmith Create Run, Wait for Output

Explains how to programmatically create a new run within an existing LangSmith thread and synchronously wait for the final execution output.

When To Use

Use when you need to trigger an agentic execution via API and require the final result to be returned in a single blocking request rather than polling for status updates.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/langsmith-agent-server-api-thread-runs-create-run-wait-for-workflow-guide.mdOpenAPI documentation for the Langsmith Agent Server API endpoint to create a run and wait for its output.Questions about openAPI documentation for the Langsmith Agent Server API endpoint to create a run and wait for its output.
examples/langsmith-agent-server-api-thread-runs-create-run-wait-for-langsmith-age.textAn OpenAPI 3.1.0 specification defining the LangSmith Agent Server API endpoint for creating a run and waiting for its output.Exact payloads, commands, or snippets shown in An OpenAPI 3.1.0 specification defining the LangSmith Agent Server API endpoint for creating a run and waiting for it...

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-run-wait-for-output.md