TracerSession#

class langsmith.schemas.TracerSession[source]#

Bases: BaseModel

TracerSession schema for the API.

Sessions are also referred to as “Projects” in the UI.

Initialize a Run object.

param description: str | None = None#

The description of the project.

param end_time: datetime | None = None#

The time the project was ended.

param extra: Dict[str, Any] | None = None#

Extra metadata for the project.

param id: UUID [Required]#

The ID of the project.

param name: str | None = None#

The name of the session.

param reference_dataset_id: UUID | None = None#

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

param start_time: datetime [Optional]#

The time the project was created.

param tenant_id: UUID [Required]#

The tenant ID this project belongs to.

property metadata: dict[str, Any]#

Retrieve the metadata (if any).

property tags: List[str]#

Retrieve the tags (if any).

property url: str | None#

URL of this run within the app.