---
title: "Perform simple search queries over Auckland Museum Collections and Cenotaph data"
method: GET
path: "/search/{index}/{operation}"
tags: ["search"]
---

# Perform simple search queries over Auckland Museum Collections and Cenotaph data

`GET /search/{index}/{operation}`

## Request

- Base URL: `https://api.aucklandmuseum.com`
- URL: `https://api.aucklandmuseum.com/search/{index}/{operation}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/aucklandmuseum/apis/auckland-museum-api/docs/search/:index/:operation/get.ts> (a function with typed inputs; its response is checked against the schema)

Use this endpoint to perform simple search queries for finding information and subjects you may be interested in

Searches performed via this endpoint run against an [Elastic](www.elastic.co) server. This endpoint mirrors the Elastic search API documented [here](https://www.elastic.co/guide/en/elasticsearch/reference/1.5/search-search.html)

Use the
  - `collectionsonline` index to perform searches over other all
Collections data
  - `cenotaph` index to perform searches over Cenotaph data

## Path parameters

- `index` string, required
- `operation` string, required

## Query parameters

- `q` string

## Response `200`

search results found

## Other responses

- `400`: bad request
- `404`: not found

---

[API](https://skmtc.dev/aucklandmuseum/apis/auckland-museum-api.md) - [All operations](https://skmtc.dev/aucklandmuseum/apis/auckland-museum-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aucklandmuseum/apis/auckland-museum-api/revisions/892a068b75e7?raw)
