LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmith_openapi_clientresourcesrunsRuns
Class●Since v0.9

Runs

Copy
class Runs

Bases

APIResource

Constructors

Properties

Methods

View source on GitHub
constructor
constructor
property
_client: Langsmith
property
query: (params: RunQueryV2Params, options?: RequestOptions) => PagePromise<QueryRunResponsesItemsCursorPostPagination, QueryRunResponse>
property
retrieve: (runID: string, params: RunRetrieveV2Params, options?: RequestOptions) => APIPromise<QueryRunResponse>
property
rules: Rules
method
queryV2→ PagePromise<QueryRunResponsesItemsCursorPostPagination, QueryRunResponse>
method
retrieveV2→ APIPromise<QueryRunResponse>

Alpha: The request and response contract may change; Returns a paginated list of runs for the given projects within min/max start_time. Supports filters, cursor pagination, and selects to select fields to return.

Alpha: The request and response contract may change; Returns one run by ID for the given session and start_time. Use the selects query parameter (repeatable) to select fields to return.