v10

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

Get search history

Retrieve the authenticated user's persisted search history.

Returns searches the user owns along with searches shared with them, scoped to the caller's organization. Archived and deleted entries are excluded. Citation references on this endpoint are returned as raw identifier strings; use GET /search/{searchId} to fetch a single search with its citations fully expanded.

Pagination defaults to page=1, limit=20 (maximum limit is 100). Results are sorted by most recent activity by default.

get/search

Query parameters

pageinteger

Page number to return. Must be within [1, 1000].

limitinteger

Number of items per page. Values are clamped to the range [1, 100].

sortBy'createdAt' | 'lastActivityAt' | 'title'

Field used to sort results. Any value other than createdAt, lastActivityAt, or title is treated as lastActivityAt.

sortOrder'asc' | 'desc'

Sort direction applied to sortBy.

searchstring

Case-insensitive substring to match against a search's title and message content. Regex metacharacters are escaped automatically. Values longer than 1000 characters are rejected with 400.

shared'true' | 'false' | '1' | '0'

Filter results by their shared status. Accepted values are 'true' / '1' (return only shared searches) and 'false' / '0' (exclude shared searches). Matching is case-insensitive and surrounding whitespace is trimmed.

startDatestring date-time

ISO 8601 timestamp used as the lower bound for a search's creation date.

endDatestring date-time

ISO 8601 timestamp used as the upper bound for a search's creation date.

Response

Persisted search history plus pagination, applied/available filter metadata, and a request-scoped meta block.