Create Memory Comments

Add comment(s) to a memory, or update existing comment(s). Comments to be updated are distinguished from comments to be added to the memory by the presence of an id on the comment.

Path Params
string
required

The ID of the memory. To find memory IDs, see Read User Memories.

Body Params
discussions
array of objects
required
length between 1 and 1

Array containing exactly one discussion with comments to create or update

discussions*
comments
array of objects
required
length ≥ 1

Array of comments to create or update. At least one comment must be provided.

comments*
string

The comment ID. Omit this field to create a new comment. Include this field to update an existing comment. To find comment IDs, see Read Memory Comments.

string
required

The text of the comment

Headers
string
enum
required

Specifies the media type of the entity-body sent to the server in the request.

Allowed:
Responses
204

The operation was successful.

404

If the discussion for the comments is not found.

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here!