> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openbunny.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Search

> Service API endpoints for hybrid search and duplicate detection.

Base URL: `http://localhost:3100`

## Search tasks

```bash theme={null}
GET /tasks/search
```

<ParamField query="q" type="string" required>
  Search query string
</ParamField>

Uses hybrid search (BM25 + semantic embeddings + LLM reranking) to find relevant tasks.

```bash Example theme={null}
curl "http://localhost:3100/tasks/search?q=login+timeout+bug"
```

## Find duplicates

```bash theme={null}
POST /tasks/find-duplicates
```

<ParamField body="text" type="string" required>
  Text to check for similar existing tasks
</ParamField>

Uses vector similarity to find tasks that may be duplicates of the provided text.

```bash Example theme={null}
curl -X POST http://localhost:3100/tasks/find-duplicates \
  -H "Content-Type: application/json" \
  -d '{"text": "Fix the login page timeout issue"}'
```

Returns an array of similar tasks with similarity scores.
