Apps

Start a round of finding and checking business rules

Changed on

Starts one round over the app's records under its active version. The round runs the phase given in phase, else the next phase of the campaign; a round beyond the planned ones is allowed and reported as extra. dry_run: true only re-checks the existing candidate rules and spends nothing. The idempotency key is derived from the version, the existing rules and the data, so repeating an unchanged start returns the same round. 409 when live rounds are switched off, a spend cap would be crossed, or another externally driven round is open; 422 for phase: reconcile (use POST .../mining/rounds/reconcile). Requires the run access tier on the app.

post/v1/apps/{id}/mining/rounds

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Request body

object required
dry_run, boolean

Re-check existing candidate rules only; spends nothing.

phase, 'discovery' | 'hypothesis' | 'reconcile'

Run this phase instead of the campaign's next one. reconcile is refused here with 422.

Response

The round was accepted.

AppRulesRoundStarted required
run_id, string uuid

The round's id; read it with GET .../mining/rounds/{runId}.

status, string

The run's status.

dry_run, boolean
phase, 'discovery' | 'hypothesis' | 'reconcile' | 'regrade'

regrade for a dry run.

generation, integer

The exploration generation the round counts against.

extra, boolean

True when the round goes beyond the campaign's planned rounds.

idempotency_key, string

Changes