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_clientresourcesQueryRunResponseEvent
Interface●Since v0.9

Event

Copy
interface Event

Properties

View source on GitHub
property
kwargs: unknown
property
name: string
property
time: string

kwargs is the event payload — an opaque JSON object whose shape depends on name and on the emitting SDK. For example LangChain emits {"token": {...}} for new_token events, tool-call start/end details for tool events, and arbitrary user-defined payloads for custom events. Clients should treat kwargs as untyped JSON: do not assume specific keys exist for a given name, and tolerate additional unknown keys appearing over time.

time is when the event occurred (RFC3339 date-time with millisecond precision).