---
title: "Create a search from a Clay search query (beta)"
method: POST
path: "/search/query-mode"
tags: ["search"]
---

# Create a search from a Clay search query (beta)

`POST /search/query-mode`

Starts a new Clay search from a Clay advanced search query. The source type is detected from the query and returned in the response. Count-mode and jobs queries are not supported.

## Request body

- object
  - `query` string, required

## Response `200`

200

- object
  - `search_id` string, required
  - `source_type` 'people' | 'companies', required

## Other responses

- `400` — 400
- `401` — 401
- `402` — 402
- `403` — 403
- `404` — 404
- `429` — 429

---

[API](https://skmtc.net/clay/apis/clay-public-api.md) · [All operations](https://skmtc.net/clay/apis/clay-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clay/clay-public-api/versions/c1f3cd4d89da/schema)
