Skip to main content
POST
Confirm a memory
Use this endpoint when the user confirms something your assistant said, for example by clicking a check mark next to it. It’s the last step of the confirm flow. It works on the two kinds of unconfirmed memory: Once confirmed, the memory becomes a USER_CONFIRMED fact, and SIPs use it from then on.

What EDN does

  1. Creates a new USER_CONFIRMED memory with the same content.
  2. Replaces the original, which no longer appears in memory lists or SIPs.
  3. Keeps the original in the memory’s history.

Required headers

Request

Response

200 OK

Important behavior

  • Use the new record_id from now on. Get a memory on the original returns it with status: replaced.
  • Only unconfirmed AI memories can be confirmed. Other memories return 409.
  • Confirming doesn’t count toward your daily limit.

Errors

See Error handling.

Authorizations

Authorization
string
header
required

Your EDN API key, sent as Bearer YOUR_API_KEY. Create keys in the Console.

Body

application/json
record_id
string
required

The ID of the unconfirmed memory to confirm (the record_id you got back from /infer or /generated).

Minimum string length: 1
Example:

"c2e9a7d4-3f1b-4e8a-b6d0-91a5f3c7e284"

Response

Successful Response

record_id
string
required

The ID of the new USER_CONFIRMED memory. This is a new ID, not the record_id you sent.

replaces
string
required

The ID of the memory you confirmed (the record_id you sent). It no longer appears in memory lists or SIPs.