v10

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

Clear all search history

Permanently delete every persisted search row owned by, or shared with, the authenticated user, along with the citation rows those searches reference. The action cannot be undone.

Scoped to the caller's org and limited to rows where isDeleted: false and isArchived: false. If nothing matches (including the case where every row is already archived), the endpoint returns 404 rather than a successful no-op.

delete/search

Query parameters

searchstring

Restrict the deletion to rows whose title or messages.content matches this case-insensitive substring. Special regex characters are escaped before the lookup; values over 1000 chars are rejected with 400.

shared'true' | 'false'

Restrict the deletion to rows with this isShared value ('true' / 'false').

startDatestring date-time

ISO 8601 lower bound for createdAt. Combined with endDate to scope which rows are deleted.

endDatestring date-time

ISO 8601 upper bound for createdAt.

Response

Search history deleted successfully.

messagestring required