Skip to Content
Assistant memory

Export the caller's Assistant preferences

Every saved preference with its scope, project and channel names, source and provenance excerpt, for a copy the caller keeps.

GET
/api/assistant/memories/export

Authorization

headerAuthorizationBearer <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.

Response Body

Response for status 200

application/json
  1. response
exportedAt*integer
memories*array<>
Example Request
curl -X GET 'https://postdot.example/api/assistant/memories/export'
Example Response
{
  "exportedAt": 0,
  "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
    }
  ]
}

Was this page helpful?