SmartMemory
POST
/memory/temporal/{item_id}/compare

Compare two versions of an item.

Returns detailed diff showing what changed between versions.

Path Parameters

item_id*Item Id

Query Parameters

v1*V1

First version number

v2*V2

Second version number

Response Body

application/json

application/json

curl -X POST "https://example.com/memory/temporal/string/compare?v1=0&v2=0"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}