Assistant memory
Change one of the caller’s Assistant preferences
Edits the wording, topic, scope, channels or end date of one preference. Pass the `revision` you read to refuse a change made meanwhile.
PATCH
header
AuthorizationBearer <Postdot API key>A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.
memoryId*stringMatch
^[A-Za-z0-9_-]+$Length
1 <= length <= 100- body
projectId?|nulltopic?stringValue in
"language""tone""length""format""audience""channels""scheduling""workflow""other"statement?stringLength
1 <= length <= 1000channelIds?array<>|nullexpiresAt?|nullrevision?integerRange
1 <= valueResponse for status 200
application/json- response
memory*curl -X PATCH 'https://postdot.example/api/assistant/memories/string' \
-H 'Content-Type: application/json' \
-d '{}'Example Response
{
"memory": {
"id": "string",
"projectId": "string",
"projectName": "string",
"topic": "language",
"statement": "string",
"channelIds": [
"string"
],
"channels": [
{
"id": "string",
"name": "string"
}
],
"expiresAt": 0,
"basisMessageId": "string",
"basis": "string",
"source": "assistant",
"sourceRef": "string",
"revision": 1,
"createdAt": 0,
"updatedAt": 0
}
}