List Memory Proposals

Changed on

List the user's proposals (default status=pending). Each carries current_body/current_hash of the live target slug so the SPA can render a before/after diff.

?status= filters by status ('all' = any status). ?session_id= scopes to one conversation's session-origin proposals (the "为当前对话生成记忆" review pane) — both filters compose, so the SPA asks for ?session_id=<id>&status=pending to drive the red-dot count.

Conditional (ETag / If-None-Match → 304). The SPA's dreaming rail re-fetched this list every 30 s while anything was pending: on 2026-10-17 that was 57,680 requests and 3.1 GB of the CN box's egress, almost all of it a body the browser already held. The validator hashes the exact body, so a new, decided or edited proposal — or a change to the live note a proposal diffs against — is a new ETag.

get/api/memory/proposals

Request

  • Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.omicos.cn/api/memory/proposals
  • Auth: none declared

Headers

If-None-Matchstring nullable
authorizationstring nullable
x-omicos-devicestring nullable
x-omicos-device-kindstring nullable
x-omicos-device-namestring nullable

Response

Successful Response

unknown required

Changes

    • info

      added the new optional header request parameter x-omicos-device

    • info

      added the new optional header request parameter x-omicos-device-kind

    • info

      added the new optional header request parameter x-omicos-device-name

    • breaking

      the response's body type changed from object to no type for status

    • info

      added the new optional header request parameter If-None-Match