Skip to main content
POST
Correct a context vault memory

Authorizations

X-API-Key
string
header
required

API key created from the MemContext dashboard. Keys are prefixed with mc_, bound to one workspace, and API-key requests cannot override that workspace.

Path Parameters

memoryId
string<uuid>
required

Body

application/json
workspaceId
string<uuid>
required
correctedContent
string
required

Corrected extracted memory text.

Maximum string length: 10000
vaultId
string<uuid>

Optional vault inside the workspace. Defaults to the workspace's default vault.

type
enum<string>
default:wrong
Available options:
wrong,
outdated,
incomplete
reason
string

Reviewer note explaining why the correction is needed.

Maximum string length: 1000
correctedChunkContent
string

Optional corrected source chunk text. Send this to keep document-chunk retrieval aligned with the corrected memory.

Maximum string length: 20000
evidenceChunkId
string<uuid>

Optional evidence chunk to update. Omit to update all cited chunks when correctedChunkContent is supplied.

Response

200 - application/json

Memory corrected.

success
boolean
required
memory
object
required
updatedChunkCount
integer
required

Number of source chunks updated by the correction.