---
title: "Search accounts"
method: POST
path: "/search"
tags: ["Search"]
---

# Search accounts

`POST /search`

## Request

- Base URL: `https://api.compelling.ai/v1`
- URL: `https://api.compelling.ai/v1/search`
- Auth: HTTP bearer

Searches for accounts matching a natural-language query and optional filters. Results can be added directly to a list.

## Request body

- object
  - `query` string, required
  - `filters` Filter[]
    - `field` string, required
    - `operator` 'eq' | 'neq' | 'contains' | 'gt' | 'lt' | 'in' | 'not_in', required
    - `value` string, required
  - `page` integer
  - `size` integer

## Response `200`

Search results

- SearchResults
  - `data` Account[]
    - `id` string
    - `list_id` string
    - `name` string
    - `domain` string
    - `employee_count` integer
    - `country` string
    - `industry` string
    - `funding_stage` string
    - `insights` object: Dynamic key/value map of AI-generated insight column answers.
  - `pagination` Pagination
    - `page` integer
    - `size` integer
    - `total` integer
    - `total_pages` integer

---

[API](https://skmtc.dev/compelling/apis/compelling-api.md) · [All operations](https://skmtc.dev/compelling/apis/compelling-api/llms.txt) · [OpenAPI document](https://skmtc.dev/compelling/apis/compelling-api/revisions/55049ff28c67?raw)
