MemoryEntries
SDK methods for the MemoryEntries module, accessed via soat.memoryEntries. See the MemoryEntries module docs for permissions and data model, and each method's REST page for the full request/response schema.
soat.memoryEntries.listMemoryEntries()
List memory entries
- Method:
GET - Path:
/api/v1/memory-entries
await soat.memoryEntries.listMemoryEntries({
query: { memory_id, /* + optional */ },
});
soat.memoryEntries.createMemoryEntry()
Create a memory entry
- Method:
POST - Path:
/api/v1/memory-entries
await soat.memoryEntries.createMemoryEntry({
body: { memory_id, content, /* + optional */ },
});
soat.memoryEntries.getMemoryEntry()
Get a memory entry
- Method:
GET - Path:
/api/v1/memory-entries/{entry_id}
await soat.memoryEntries.getMemoryEntry({
path: { entry_id },
});
soat.memoryEntries.updateMemoryEntry()
Update a memory entry
- Method:
PUT - Path:
/api/v1/memory-entries/{entry_id}
await soat.memoryEntries.updateMemoryEntry({
path: { entry_id },
body: { /* + optional */ },
});
soat.memoryEntries.deleteMemoryEntry()
Delete a memory entry
- Method:
DELETE - Path:
/api/v1/memory-entries/{entry_id}
await soat.memoryEntries.deleteMemoryEntry({
path: { entry_id },
});