Skip to main content
PUT
Save a new version of a bot's persona or memory

Authorizations

Authorization
string
header
required

The session token of an admin of your company. Company API, partner and droplet installation tokens are refused.

Path Parameters

bot_id
string<uuid>
required

The bot's id.

kind
enum<string>
required

Which document, persona (who the bot is, its tone, preferences and how it works) or memory (its notes, what it did and what it learned).

Available options:
persona,
memory

Body

application/json
document
object
required

The new version.

Response

The new version.

document
object
required
status
integer
required

The HTTP status.

meta
object
required

Response metadata on every body. List endpoints add pagination.