Skip to main content
POST
Train from closed deals
Trains the ICP model on deals you actually won and lost, then rescores open accounts. Pass domains, or objects with amount, currency, and closed_at. One deal is enough to start. Won and lost together give the clearest signal.

Authorizations

Authorization
string
header
required

Workspace API key. Create one in Settings → API keys.

Body

application/json
won
(string | object)[]

A bare company domain.

Example:

"acme.com"

lost
(string | object)[]

A bare company domain.

Example:

"acme.com"

Response

What the model learned.

ok
boolean
won
integer
lost
integer
enriched
integer

Companies enriched.

surfaced
integer

New signals added to the model.

mode
enum<string>

lift compares won against lost. winners uses won deals only.

Available options:
lift,
winners
linked
object[]
discovered
object[]