Skip to main content

Get search history

GET 

/search/history

Returns paginated list of user's search history using cursor-based pagination.

Important behavior based on hasResults field:

  • If hasResults: true: User can directly access results (GET /search/{searchId}/results)
  • If hasResults: false: User needs to select matches first (POST /search/{searchId}/select) before accessing results

Note: Photos in history (thumbnail field) are never blurred as they are user's own uploads.

Cursor-based pagination:

  • First request: omit cursor parameter to get the first page
  • Subsequent requests: use nextCursor from previous response as cursor parameter
  • If nextCursor is null in response, there are no more searches available
  • Deleting items from history does not affect cursor position, ensuring consistent pagination

Request​

Responses​

Search history