Skip to main content
POST
Create saved search

Authorizations

X-API-Key
string
header
required

Body

application/json
query_id
integer
required

Id of the query to save, as returned by AI search.

Required range: x >= 0
Example:

4242

name
string
required

Display name for the saved search.

Minimum string length: 1
Example:

"German fintech"

description
string | null

Optional description for the saved search.

Response

The saved search that was created.

A newly created saved search.

The product is not supplied by the caller: it is read off the saved query, so the saved search and its filters can never disagree about which product they describe.

id
integer
required

Id of the saved search, for the read endpoints.

Example:

41966

name
string
required
Example:

"German fintech"

query_id
integer
required
Example:

4242

product_type
string
required

Product the saved query searches.

Example:

"company"

owner_id
string
required

Id of the organization admin the search was assigned to.

Example:

"user_2abcDEF456"