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

# GET /v1/files/search

`GET /v1/files/search`

## Request

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

## Query parameters

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

## Response `200`

Default Response

- object
  - `mode` 'hybrid' | 'lexical'
  - `results` object[]
    - `channel` string, nullable
    - `contact_id` string, nullable
    - `end_ms` integer, nullable
    - `file_id` string
    - `file_name` string, nullable
    - `kind` string, nullable
    - `location` string, nullable
    - `message_id` string, nullable
    - `mime_type` string, nullable
    - `page` integer, nullable
    - `score` number
    - `sent_at` string, nullable
    - `snippet` string
    - `source_type` string, nullable
    - `start_ms` integer, 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)
