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

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

`POST /search/{index}/{operation}`

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

## Request body

- object

## Response `200`

search results found

## Other responses

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

---

[API](https://skmtc.net/aucklandmuseum/apis/auckland-museum-api.md) · [All operations](https://skmtc.net/aucklandmuseum/apis/auckland-museum-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aucklandmuseum/auckland-museum-api/revisions/892a068b75e7/schema)
