---
title: "Global Search API"
method: GET
path: "/v1beta1/search"
tags: ["schema"]
---

# Global Search API

`GET /v1beta1/search`

## Query parameters

- `namespaceId` string
- `schemaId` string
- `query` string, required
- `history` boolean
- `versionId` integer

## Response `200`

A successful response.

- V1beta1SearchResponse
  - `hits` V1beta1SearchHits[]
    - `namespaceId` string
    - `schemaId` string
    - `versionId` integer
    - `fields` string[]
    - `types` string[]
    - `path` string
  - `meta` V1beta1SearchMeta
    - `total` integer

## Other responses

- `default` — An unexpected error response.

## Changes

- **2022-04-22** `3d2313d120b7` — 1 info
  - endpoint added
- **2022-01-28** `df08eaea7077` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/raystack/apis/raystack-stencil-v1beta1-stencil-proto/changes/v1beta1/search/get.md)

---

[API](https://skmtc.dev/raystack/apis/raystack-stencil-v1beta1-stencil-proto.md) · [All operations](https://skmtc.dev/raystack/apis/raystack-stencil-v1beta1-stencil-proto/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/raystack/raystack-stencil-v1beta1-stencil-proto/revisions/d1b228ba05f0/schema)
