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
PythonlangsmithschemasTracerSession
Classā—Since v0.0

TracerSession

TracerSession schema for the API.

Sessions are also referred to as "Projects" in the UI.

Copy
TracerSession(
  self,
  _host_url: Optional[str] = None,
  **kwargs: Any = {}
)

Bases

BaseModel

Constructors

Attributes

View source on GitHub
constructor
__init__
NameType
_host_urlOptional[str]
attribute
id: UUID
attribute
start_time: datetime
attribute
end_time: Optional[datetime]
attribute
description: Optional[str]
attribute
name: Optional[str]
attribute
extra: Optional[dict[str, Any]]
attribute
tenant_id: UUID
attribute
reference_dataset_id: Optional[UUID]
attribute
url: Optional[str]
attribute
metadata: dict[str, Any]
attribute
tags: list[str]

The ID of the project.

The time the project was created.

The time the project was ended.

The description of the project.

The name of the session.

Extra metadata for the project.

The tenant ID this project belongs to.

The reference dataset IDs this project's runs were generated on.

URL of this run within the app.

Retrieve the metadata (if any).

Retrieve the tags (if any).