Keep a card
Hides the item from the stack for 30 days, then 90, 180 and a year each further time it is kept. Repeating it changes nothing. A card that was already archived or deleted answers 409.
bearerAuthorizationBearer <token>A personal API key (ga_…), sent as Authorization: Bearer ga_…. A key gets 403 on a resource it has no access to, and on anything that changes data without write access.
id*stringThe card's item and its new state
application/json- response
item_id*stringstate*string"kept""archived""deleted"curl -X POST 'https://example.com/v1/serendipity/string/keep'{ "item_id": "string", "state": "kept"}Today's stack of old saves GET
Up to 10 items the user has not seen for a while: some saved around today's date in earlier years (`on_this_day`), some close in meaning to recent saves (`related`), the rest forgotten (`forgotten`). Built the first time it is asked for each UTC day and then stable. Show the cards whose `state` is `pending`.
Archive a card's item POST
Archives the item and records the decision. Repeating the same decision is safe; a different decision for the same card answers 409.