Mark plan as completed, optionally graduating to a decision record.
Send Authorization: Bearer <token>. The token is either a Clerk session JWT or a SmartMemory API key (prefix sm_live_, sm_test_, or legacy sk_).
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/memory/plans/string/complete" \ -H "Content-Type: application/json" \ -d '{}'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Compare Versions
Compare two versions of an item. Returns detailed diff showing what changed between versions.
Compliance Report
Generate compliance report (HIPAA, GDPR, SOC2). Returns comprehensive audit report suitable for compliance requirements. Includes all access, modifications, and deletions in time range. Each audit event names its editor in `changed_by`, and `metadata.user_id` is the record's owner.