Skip to main content
The Restore API allows administrators to recover entities that were soft-deleted. When an entity is deleted in KaireonAI, it is not immediately removed from the database — instead, a deletedAt timestamp is set. This endpoint clears that timestamp, making the entity active again. Admin only.

Base path


Restore a soft-deleted entity

Restores a single soft-deleted entity by clearing its deletedAt timestamp.

Query parameters

Valid entity types

Example request

Response 200

Error codes

Example error


Role requirements

Only entities that have been soft-deleted (i.e., have a non-null deletedAt timestamp) can be restored. Attempting to restore an entity that was never deleted or was hard-deleted will return a 400 error.