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
PythonlangsmithclientClientupdate_project
Methodā—Since v0.0

update_project

Copy
update_project(
  self,
  project_id: ID_TYPE,
  *,
  name: Optional[str] = 
View source on GitHub
None
,
description
:
Optional
[
str
]
=
None
,
metadata
:
Optional
[
dict
]
=
None
,
project_extra
:
Optional
[
dict
]
=
None
,
end_time
:
Optional
[
datetime
.
datetime
]
=
None
)
->
ls_schemas
.
TracerSession

Parameters

NameTypeDescription
project_id*Union[UUID, str]

The ID of the project to update.

nameOptional[str]
Default:None

The new name to give the project. This is only valid if the project has been assigned an end_time, meaning it has been completed/closed.

descriptionOptional[str]
Default:None
metadataOptional[dict]
Default:None
project_extraOptional[dict]
Default:None
end_timeOptional[datetime.datetime]
Default:None

Update a LangSmith project.

The new description to give the project.

Additional metadata to associate with the project.

Additional project information.

The time the project was completed.