LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
PythonlangsmithschemasRunKey
Class●Since v0.10

RunKey

Copy
RunKey()

Bases

TypedDict

Constructors

Attributes

View source on GitHub
constructor
__init__
NameType
run_idUnion[UUID, str]
session_idUnion[UUID, str]
start_timeUnion[datetime, str]
source_proposed_example_idNotRequired[Union[UUID, str]]
attribute
run_id: Union[UUID, str]

The ID of the run to add to the queue.

attribute
session_id: Union[UUID, str]

The ID of the project/session the run belongs to (partition key).

attribute
start_time: Union[datetime, str]

The start time of the run (partition key). A datetime or an ISO 8601 string.

attribute
source_proposed_example_id: NotRequired[Union[UUID, str]]

Optional back-pointer to the issues-agent proposed example that seeded this queue item. The curation UI uses it to pre-fill suggested assertions.

A run identified by its full lookup key, for adding to an annotation queue.

Unlike a bare run ID, this carries the partition key (session_id and start_time) so the run can be located directly, without a scan.