---
title: "Keyword-based search with optional grouping"
method: GET
path: "/search/keyword"
tags: ["Context Retrieval"]
---

# Keyword-based search with optional grouping

`GET /search/keyword`

## Query parameters

- `query` string, required
- `limit` integer
- `offset` integer
- `start_time` string, date-time, nullable
- `end_time` string, date-time, nullable
- `fuzzy_match` boolean
- `order` 'timestamp_asc' | 'timestamp_desc' | 'relevance'
- `app_names` string, nullable
- `group` boolean

## Response `200`

Search matches (flat array or grouped clusters depending on group param)

- SearchMatch[]
  - `id` integer, required
  - `timestamp` string, date-time, required
  - `snippet` string, required
  - `app_name` string, nullable, required
  - `score` number, required

## Changes

- **2026-02-16** `e143bf8d73bc` — 4 breaking, 2 info
  - the `query` request parameter `query` became required
  - for the `query` request parameter `fuzzy_match`, default value `false` was added
  - for the `query` request parameter `limit`, default value `20` was added
  - for the `query` request parameter `offset`, default value `0` was added
  - …2 more
- **2026-02-11** `2825740bcf63` — 9 breaking, 8 info
  - removed the enum value `ascending` from the `query` request parameter `order`
  - removed the enum value `descending` from the `query` request parameter `order`
  - the response property `items/app_name` became nullable for the status `200`
  - removed the required property `items/confidence` from the response with the `200` status
  - …13 more
- **2026-02-11** `61c0a2f34556` — 1 info
  - endpoint added
- **2026-02-11** `4303af4aaeda` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/screenpipe/apis/screenpipe-api/changes/search/keyword/get.md)

---

[API](https://skmtc.dev/screenpipe/apis/screenpipe-api.md) · [All operations](https://skmtc.dev/screenpipe/apis/screenpipe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/screenpipe/screenpipe-api/revisions/e143bf8d73bc/schema)
