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
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
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

constructor
__init__
NameType
_host_urlOptional[str]

Attributes

attribute
id: UUID

The ID of the project.

attribute
start_time: datetime

The time the project was created.

attribute
end_time: Optional[datetime]

The time the project was ended.

attribute
description: Optional[str]

The description of the project.

attribute
name: Optional[str]

The name of the session.

attribute
extra: Optional[dict[str, Any]]

Extra metadata for the project.

attribute
tenant_id: UUID

The tenant ID this project belongs to.

attribute
reference_dataset_id: Optional[UUID]

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

attribute
url: Optional[str]

URL of this run within the app.

attribute
metadata: dict[str, Any]

Retrieve the metadata (if any).

attribute
tags: list[str]

Retrieve the tags (if any).

View source on GitHub