Log a failure as episodic memory with origin=failure:agent.
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
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/failures/log" \ -H "Content-Type: application/json" \ -d '{ "error_type": "string", "content": "string", "context": "string" }'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Lite Update Check
Answer "is a newer Lite published?" and record the install that asked. The answer is computed BEFORE the ping is written and is never conditional on it. If Mongo is unavailable the row is lost, a WARNING says so by name, and the caller still gets its version answer -- telemetry must never be able to stop a user's runtime from learning about a release.
Logout All Devices
Logout from all devices by revoking all refresh tokens. Requires valid access token.