---
title: "Hunt message groups"
method: POST
path: "/v0/message-groups/hunt"
tags: ["Message Groups"]
deprecated: true
---

# Hunt message groups

`POST /v0/message-groups/hunt`

> **Deprecated.**

DEPRECATED: Hunt using MQL to find message groups. Please use the POST /v0/hunt-jobs endpoint instead.

## Request body

- HuntMessageGroupsInput
  - `created_at[gte]` string, date-time, nullable — Inclusive start datetime filter for search, in UTC using the ISO 8601 format (e.g., '2021-03-14T15:09:26Z'). Only message groups with a message processed at or after this time will be returned.
  - `created_at[lt]` string, date-time, nullable — Exclusive end datetime filter for search, in UTC using the ISO 8601 format (e.g., '2021-05-04T15:09:26Z'). Only message groups with a message processed before this time will be returned.
  - `private` boolean — Restrict hunt visibility to admin-only
  - `source` string, required — Source of MQL to hunt with

## Response `200`

OK

- HandlerTypesTaskAccepted
  - `task_id` string, uuid, required — Task ID. Use the /v0/tasks/:id endpoint to check the task status.

---

[API](https://skmtc.net/sublime/apis/sublime-platform-api.md) · [All operations](https://skmtc.net/sublime/apis/sublime-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sublime/sublime-platform-api/revisions/d5df82850357/schema)
