Rollback item to previous version.
Restores item to specified version or timestamp. Creates new version (doesn't delete history).
Path Parameters
item_id*Item Id
Query Parameters
to_version?|
Version number to rollback to
to_time?|
Timestamp to rollback to
Response Body
application/json
application/json
curl -X POST "https://example.com/memory/temporal/string/rollback"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}