Skip to main content
PATCH
Change who sees a saved search

Authorizations

X-API-Key
string
header
required

Path Parameters

saved_search_id
string<uuid>
required

Body

application/json

Who sees a saved search.

private
boolean
required

True to keep it to the person who saved it, false to share it with the workspace. Only the person who saved it may change this.

Response

Successful Response

A saved search, in the request's own shape for lossless rehydration.

created_at
string<date-time>
required
created_by_user_id
string
required
description
string | null
required
id
string<uuid>
required
last_used_at
string<date-time>
required
name
string
required
query
Query · object
required
record_type
enum<string>
required

Which dataset a search runs against, and so which provider serves it.

Values are persisted in String(16) columns, so every member must stay within 16 characters.

Available options:
people,
companies,
signal_companies,
signal_people,
lookalikes,
local_businesses,
hiring_companies,
backlinks,
search_results,
post_authors,
startup_launches
row_limit
integer | null
required
ai_made
boolean
default:false

Whether the AI Assistant saved this search through a granted action. Saved by is still the person who approved it.

last_run_at
string<date-time> | null

When last_run_count was counted.

last_run_count
integer | null

How many leads it matched when last opened; null before it was first counted. The count route says how many it matches now.

private
boolean
default:false

Whether only the person who saved it sees it.