PUT
Replace persisted assistant thread messages

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

thread_id
string<uuid>
required

Body

application/json

Assistant UI exported thread repository. The messages array stores assistant-ui message repository items and may include forward-compatible library-owned fields.

messages
object[]
required
headId
string | null

Response

Stored Assistant UI thread history.

Assistant UI exported thread repository. The messages array stores assistant-ui message repository items and may include forward-compatible library-owned fields.

messages
object[]
required
headId
string | null