oneAI icon

oneAI

Interact with the oneAI API

Chat → Update

AI-generated

Summary

Update an existing chat by specifying its ID and modifying its attributes such as name, assigned agent, current branch, or persona before the assistant has responded.

Inputs

  • Chat ID (required) — The identifier of the chat to update.
  • Update Fields — Fields to update on the chat, including: New name (string), Agent ID (string) to assign (replacing any existing persona and only changeable before first assistant response), Current Branch ID (string), and Persona ID (string) to assign (also only changeable before first assistant response).

Output shape

a single updated chat record object

Returns the updated chat object reflecting the changes provided in Update Fields.

Links

Discussion