---
title: "Search for documents"
method: GET
path: "/search-api/v1/{tenant}"
tags: ["search"]
---

# Search for documents

`GET /search-api/v1/{tenant}`

Runs a search request for a certain tenant. The tenant should exist at the service and linked to a certain index in the backend. Different tenants may use the same index.

## Path parameters

- `tenant` string, required

## Query parameters

- `searchQuery` string, required

## Other responses

- `200` — unresolved $ref
- `403` — tenant can't be accessed or does not exist
- `404` — unresolved $ref

## Changes

- **2020-01-24** `96c30bc260ed` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/commerceexperts/apis/open-commerce-search-stack-api/changes/search-api/v1/:tenant/get.md)

---

[API](https://skmtc.dev/commerceexperts/apis/open-commerce-search-stack-api.md) · [All operations](https://skmtc.dev/commerceexperts/apis/open-commerce-search-stack-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/commerceexperts/open-commerce-search-stack-api/revisions/96c30bc260ed/schema)
