v10

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-0582185581.9 KB
Semantic Search

Delete search by ID

Permanently delete a single persisted search row, plus every citation row referenced by its citationIds. The caller must either own the row or have it shared with them.

Scoped to the caller's org and limited to rows where isDeleted: false and isArchived: false; archived or already-deleted rows surface as 404.

delete/search/{searchId}

Path parameters

searchIdstring objectId required

ObjectId of the persisted search row to delete.

Query parameters

searchstring

Additional substring filter against title / messages.content. The row is only deleted if the searchId row also matches this filter; otherwise 404. Special regex characters are escaped; values over 1000 chars or tripping the XSS guard yield 400.

shared'true' | 'false'

Additional isShared filter ('true' / 'false'). The row is only deleted if it also matches this value.

startDatestring date-time

ISO 8601 lower bound for createdAt. The row is only deleted if its createdAt is on or after this value.

endDatestring date-time

ISO 8601 upper bound for createdAt. The row is only deleted if its createdAt is on or before this value.

Response

Search deleted successfully.

messagestring required