---
title: "Search task clusters"
method: GET
path: "/api/v1/data/task-clusters/search"
---

# Search task clusters

`GET /api/v1/data/task-clusters/search`

## Request

- Base URL: `https://moda.dev`
- URL: `https://moda.dev/api/v1/data/task-clusters/search`
- Auth: API key in header `x-api-key`

Searches the latest task hierarchy with fuzzy, semantic, or hybrid retrieval and returns ancestor paths for matches.

## Query parameters

- `q` string
- `node_id` string
- `mode` 'fuzzy' | 'semantic' | 'hybrid'
- `tenant_id` string
- `limit` integer

## Response `200`

Successful response.

- object: Task-cluster search metadata and ranked matches with ancestor paths.

## Other responses

- `401`: The x-api-key header is missing, invalid, or revoked.
- `404`: The requested resource was not found.

---

[API](https://skmtc.dev/moda-dev/apis/moda-data-api.md) - [All operations](https://skmtc.dev/moda-dev/apis/moda-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/moda-dev/apis/moda-data-api/revisions/19a11ad88cf6?raw)
