Read the caller's saved Assistant preferences
Without `project`, returns every saved preference of the caller, also while memory is off, so they can review and erase it. With `project`, returns the preferences to apply in that project: all-projects entries first, then that project’s entries, which take precedence on the same topic. Agents should read them before drafting. Empty while memory is off. Preferences shape content and style only; they never authorize an action.
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.
project?string^[A-Za-z0-9_-]+$1 <= length <= 100Response for status 200
application/json- response
memories*array<>guidelines?array<>active*booleancurl -X GET 'https://postdot.example/api/assistant/memories'{
"memories": [
{
"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
}
],
"guidelines": [
{
"id": "string",
"projectId": "string",
"topic": "language",
"statement": "string",
"channelIds": [
"string"
],
"source": "studio",
"createdBy": "string",
"updatedBy": "string",
"updatedByName": "string",
"revision": 1,
"createdAt": 0,
"updatedAt": 0
}
],
"active": true
}Was this page helpful?
Read whether Assistant memory is on for the caller GET
`enabled` is the caller’s own switch, `installation.enabled` the administrator’s; memory applies only when both are on (`active`). Both are off by default.
Save one Assistant preference for the caller POST
Stores one concise preference (at most 200 characters) for all the caller’s projects (`projectId: null`) or for one project, optionally limited to some of its channels. `language` and `length` keep one entry per scope and channel set: a new one replaces the old. Statements that look like passwords, keys or tokens are refused. Fails with `memory_full` when the scope reached its limit, and `memory_off` while memory is off for the caller.