Log a failure as episodic memory with origin=failure:agent.
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": {}
}
]
}