---
title: "Start a round of finding and checking business rules"
method: POST
path: "/v1/apps/{id}/mining/rounds"
tags: ["Apps"]
---

# Start a round of finding and checking business rules

`POST /v1/apps/{id}/mining/rounds`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/apps/{id}/mining/rounds`
- Auth: HTTP bearer

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.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `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 `202`

The round was accepted.

- AppRulesRoundStarted
  - `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

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `409`: The request conflicts with the current resource state.
- `422`: The request is well-formed but violates the declared task contract.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/apps/:id/mining/rounds/post.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
