Rivier/ Reference/ agents

Agents assistant thread record

post/agents/assistant/threads/{id}/record

Keep the turns of an advisor conversation (what the person said and what the advisor answered), so history lists and reopens it. Not for the assistant's own conversations, which it writes itself.

Before you call

Credential
Authorization: Bearer $KEY
Scope
agents:write
Sdk
agents.assistant.threadRecord
Cli
agents assistant thread record

Parameters

  • idstringrequired
    In the path

Request bodyapplication/json, required

  • messageslist of objectrequired
    • rolestringrequired
      One of: user, assistant.
    • textstringrequired
      At most 8000 characters.

Responses

  • 201application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown