Skip to main content
POST
Create Monitor

Authorizations

x-api-key
string
header
required

Body

application/json

POST /monitors: a company monitor (companies) or a dataset monitor (kind: dataset, from_run_id).

kind
enum<string>
default:companies

companies: their new stories. dataset: re-run a finished research run and deliver its new rows.

Available options:
companies,
dataset
name
string | null

A name (default: its companies, or its topic).

Maximum string length: 120
companies
MonitorCompanyIn · object[]

Company monitors: at least one (or list_id).

list_id
string | null

Company monitors: a company list's id (a UUID) instead of companies. The monitor follows the list: companies added to or removed from it are monitored from the next run on.

from_run_id
string<uuid> | null

"Monitor this": one of your succeeded runs. An events run is re-run (same mode and columns); a companies run gives a company monitor of its companies.

query
string | null

What to watch for. Company monitors: only stories about this, e.g. "funding and acquisitions" (blank: every story about the companies; from a companies run: its query). Dataset monitors: the research request (blank: the run's query with its time window removed).

Maximum string length: 5000
topic
string | null

Deprecated: the old name of query for dataset monitors.

Maximum string length: 5000
schedule
ScheduleIn · object | null

Default: daily at 09:00 UTC; Standard/Max dataset monitors default to weekly (today's weekday), and may run daily too.

settings
SettingsIn · object

What the monitor delivers.

conversation_id
string<uuid> | null

Your chat conversation where each run's result is also posted.

Response

Successful Response

A monitor.

monitor_id
string<uuid>
required
name
string
required
companies
Companies · object[]
required

Its companies now (a list monitor: its list's).

schedule
Schedule · object
required
settings
Settings · object
required
enabled
boolean
required
kind
string
default:companies

companies or dataset.

dataset
Dataset · object | null

Dataset monitors: topic, columns, mode, max_rows, source_run_id, window_to (where the last complete run ended).

list_id
string<uuid> | null

The company list it follows (companies added to or removed from the list are monitored from the next run on).

query
string | null

What it watches for: a company monitor's query (null: every story), a dataset monitor's research request.

paused_reason
string | null

Why the service paused it: "out_of_credits" (its organization's credits no longer cover it; top up, then resume) or "idle" (the organization's free monitor, its results not opened for 14 days; resume it). Null when running or paused by its user.

last_opened_at
string<date-time> | null

When its owner last opened its runs, stories or rows (the free monitor pauses after 14 days without).

next_run_at
string<date-time> | null

Next scheduled run (UTC).

last_run_id
string<uuid> | null
source_run_id
string<uuid> | null

The run it was made from ("Keep updated", "Monitor this"): its first run.

conversation_id
string<uuid> | null
created_at
string<date-time> | null
updated_at
string<date-time> | null