---
title: "GET /v1/chats/search"
method: GET
path: "/v1/chats/search"
---

# GET /v1/chats/search

`GET /v1/chats/search`

## Request

- Base URL: `https://api.pantheon.run`
- URL: `https://api.pantheon.run/v1/chats/search`
- Auth: HTTP bearer

## Query parameters

- `q` string, required
- `contact_id` string
- `channel` string
- `since` string
- `until` string
- `limit` integer

## Response `200`

Default Response

- object
  - `matched_in` 'channel' | 'person' | 'all' | 'null', nullable
  - `messages` object[]
    - `at` string
    - `channel` string, nullable
    - `from_me` boolean
    - `id` string
    - `text` string, nullable
    - `type` string, nullable
  - `mode` 'fts' | 'substring' | 'null', nullable
  - `window` object
    - `since` string, nullable
    - `until` string, nullable

---

[API](https://skmtc.dev/pantheon-run/apis/pantheon-developer-api.md) · [All operations](https://skmtc.dev/pantheon-run/apis/pantheon-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pantheon-run/apis/pantheon-developer-api/revisions/e51924bd212a?raw)
