Skip to content

Permanent Delete Entry

DELETE
/api/creative/lore/entries/{entry_id}/permanent

Permanently delete a lore entry (removes from SQLite and ChromaDB).

Raises 409 if the ChromaDB vector removal fails so the caller can retry without leaving an orphan vector on the semantic index.

entry_id
required
Entry Id
string

Successful Response

LoreDeleteResponse

Standardized delete response for lore routes.

All delete endpoints return this shape so the frontend can rely on a consistent { status, id } contract instead of branching per entity type. Replaces the ad-hoc dict[str, str] returns that previously varied between {"status": "deleted", "id": X} and {"status": "deleted"}.

object
status
Status

Operation outcome

string
default: deleted
Allowed values: deleted permanently_deleted restored
id
required
Id

Entity id that was affected

string

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object