---
title: "Keyword/regex search across a matter's documents"
method: POST
path: "/api/v1/matters/{matter_id}/search"
tags: ["Search"]
---

# Keyword/regex search across a matter's documents

`POST /api/v1/matters/{matter_id}/search`

## Request

- Base URL: `https://app.ezel.ai`
- URL: `https://app.ezel.ai/api/v1/matters/{matter_id}/search`
- Auth: HTTP bearer

## Path parameters

- `matter_id` string, uuid, required

## Request body

- object
  - `count_only` boolean
  - `match_all` boolean
  - `max_results` integer
  - `regex` string
  - `terms` union
    - string
    - string[]

## Response `200`

OK

## Other responses

- `401`: Missing or invalid API key
- `403`: Forbidden, missing scope, or feature disabled
- `429`: Rate limit or usage limit exceeded

---

[API](https://skmtc.dev/ezel/apis/ezel-api.md) · [All operations](https://skmtc.dev/ezel/apis/ezel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ezel/apis/ezel-api/revisions/2d363aa60b21?raw)
