Create a memory

post

Create a new memory record.

Authorizations
AuthorizationstringRequired

Bearer {apikey}

Path parameters
agentIdstringRequired

The ID of the agent.

customerIdstringRequired

The ID of the customer.

Body
typestring · enumRequired

Specifies the type of memory object.

Possible values:
contentstringRequired

The main content or description of the memory.

importanceinteger · min: 1 · max: 10Optional

A numerical value indicating the level of importance of the memory. Importance can range from 1 to 10, with a default of 1.

Default: 1
segmentstringOptional

The segment of the memory.

Example: memories.customer.customer123
Responses
200

Successful Response

application/json
post
/v1/agents/{agentId}/customers/{customerId}/memories

Last updated