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
cursorparameter to get the first page - Subsequent requests: use
nextCursorfrom previous response ascursorparameter - If
nextCursoris null in response, there are no more searches available - Deleting items from history does not affect cursor position, ensuring consistent pagination
Request
Responses
- 200
- 401
- 500
Search history
Unauthorized
Internal server error