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
PythonlangsmithclientClientupdate_project
Method●Since v0.0

update_project

Update a LangSmith project.

Copy
update_project(
  self,
  project_id: ID_TYPE,
  *,
  name: Optional[str] = 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

The new description to give the project.

metadataOptional[dict]
Default:None

Additional metadata to associate with the project.

project_extraOptional[dict]
Default:None

Additional project information.

end_timeOptional[datetime.datetime]
Default:None

The time the project was completed.

View source on GitHub