Mementos

Mementos allow users to define collections of documents that can be accessed by applications. This document outlines the available Memento APIs.

List Mementos

Example Requests

curl -X GET \
  https://api.rememberizer.ai/api/v1/mementos/ \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

To test this API call, replace YOUR_JWT_TOKEN with your actual JWT token.

Create Memento

Example Requests

curl -X POST \
  https://api.rememberizer.ai/api/v1/mementos/ \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "Work Documents"}'

To test this API call, replace YOUR_JWT_TOKEN with your actual JWT token.

Get Memento Details

Example Requests

curl -X GET \
  https://api.rememberizer.ai/api/v1/mementos/123/ \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

To test this API call, replace YOUR_JWT_TOKEN with your actual JWT token and 123 with an actual memento ID.

Manage Memento Documents

Example Requests

curl -X POST \
  https://api.rememberizer.ai/api/v1/mementos/memento_document/123/ \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "memento": "123",
    "add": ["document_id_1", "document_id_2"],
    "folder_add": ["folder_id_1"],
    "remove": ["document_id_3"]
  }'

To test this API call, replace YOUR_JWT_TOKEN with your actual JWT token and use actual document and folder IDs.

Delete Memento

Example Requests

curl -X DELETE \
  https://api.rememberizer.ai/api/v1/mementos/123/ \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

To test this API call, replace YOUR_JWT_TOKEN with your actual JWT token and 123 with an actual memento ID.

Last updated