---
title: "Search for tickets"
method: GET
path: "/tickets/search"
tags: ["Ticket"]
---

# Search for tickets

`GET /tickets/search`

Full-text search over the project's tickets and their comments. Returns `{ hits: [...] }` with at most
30 hits, ordered by relevance.

Query parameters: `searchTerm` (required, max 100 characters), `type` (optional ticket type filter, e.g.
`BUG`), `status` (optional status filter, e.g. `OPEN`), `archived` (optional `true`/`false`; omit to search
both), `addSession` (set to `true` to include contact data on each hit).

## Headers

- `project` string, required

## Response `200`

Ok

- unknown

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/versions/2bfe054193b5/schema)
