Skip to main content
POST
Start a run from an alert

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Exactly one of alert_id or alert is required.

alert_id
string
required

Id of a known alert (archived or active).

country
string

Lowercase adapter country key (us, jm, ph, ...), not an enum so new adapters do not change the contract.

Example:

"us"

Response

Run created

id
string
required
status
enum<string>
required
Available options:
queued,
building_area,
finding_facilities,
measuring_joins,
scoring,
writing_reasons,
ready,
exporting,
done,
failed
alert
object
required
created_at
string<date-time>
required
warning_area
object
snapshot_id
string
country
string

Lowercase adapter country key (us, jm, ph, ...), not an enum so new adapters do not change the contract.

Example:

"us"

counts
object
updated_at
string<date-time>
error
any