Skip to content
masterclass Buddy

LangSmith · Type Alias

Run

RunType is a string type for identifying the operation represented by a LangSmith span. Its values cover model calls, chains, tools, retrieval, embeddings, prompts, and parsers.

Last updated

Since
v0.1

Syntax

type RunType = "llm" | "chain" | "tool" | "retriever" | "embedding" | "prompt" | "parser"

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Run
  • dotted_order
  • trace_id
  • traceable
  • RunTree

Source: RunType | langsmith | LangChain Reference. Checked 2026-11-03.