client.agentVault().sessions.update() adds, changes, or removes a session’s label or metadata, for example to record what the agent is working on. You can change them after the session expires or is revoked, unless someone deleted the session’s owner or the user that the session was created on behalf of.
Update session label and metadata
Change an Agent Vault session’s label and metadata with the Node.js SDK.