memory

Fetch one memory by id (the original text you stored)

Returns a single stored memory by the id that /store or /list returned: the original text plus its metadata, and nothing internal. Tablet 2, the default model, answers with the memory itself; older models wrap it as {user_id, memory: {...}}. The SDKs return the memory either way. An unknown id, or one from another store, is a 404.

post/api/v1/memory/get

Request

  • Base URL: https://api.wontopos.com
  • URL: https://api.wontopos.com/api/v1/memory/get
  • Auth: API key in header X-API-Key

Headers

X-WOS-Modelstring

Which engine reads the memory (see GET /api/v1/models). All live models share one memory per workspace, so you can store with one and recall with another. A retired model answers 410 with error.type gone_error and error.code 0, except on DELETE /api/v1/memory/collection, which deletes the store under any model. Until then, a model scheduled to retire names the day in a Sunset header (RFC 8594) on every answer it serves, the same date GET /api/v1/models lists as retires_at.

Request body

user_idstring required

The store to operate on. Stores are explicit: create one first or use the built-in "default". Use the id the store was created with: 1-64 ASCII letters, digits, ., _ or -, starting with a letter or digit. Ids that differ only by case name one store.

memory_idstring uuid required

The memory id from /store or /list.

Response

Success.

idstring uuid
contentstring
categorystring
created_atstring nullable
event_datestring nullable
is_supersededboolean
superseded_bystring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.