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
- idstringrequiredIn the path
Request bodyapplication/json, required
- messageslist of objectrequired
- rolestringrequiredOne of: user, assistant.
- textstringrequiredAt most 8000 characters.
- rolestringrequired
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring