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

# Search

`GET /search`

Search across all data, invoices, documents, customers, transactions, and more.

## Query parameters

- `searchTerm` string — The term to search for across all data sources.
- `language` string — Language code to use for search relevance and results.
- `limit` number — Maximum number of results to return.
- `itemsPerTableLimit` number — Maximum number of results to return per table/entity.
- `relevanceThreshold` number, nullable — Minimum relevance score threshold for including a result.

## Response `200`

Search results.

- object[] — Search results.
  - `id` string, required — Unique identifier for the search result item.
  - `type` string, required — Type of the entity returned (e.g., invoice, customer, transaction).
  - `relevance` number, required — Relevance score for the search result.
  - `created_at` string, required — ISO 8601 timestamp when the entity was created.
  - `data` unknown

## Other responses

- `default` — An error occurred

---

[API](https://skmtc.net/midday-ai/apis/midday-api.md) · [All operations](https://skmtc.net/midday-ai/apis/midday-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/midday-ai/midday-api/versions/c0df9243c1b0/schema)
