---
title: "Retire a candidate rule"
method: POST
path: "/v1/apps/{id}/mining/hypotheses/{hypothesisId}/retire"
tags: ["Apps"]
---

# Retire a candidate rule

`POST /v1/apps/{id}/mining/hypotheses/{hypothesisId}/retire`

## Request

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

Marks the candidate rule `retired`, a decision later checks never overwrite, and dismisses its open approval-queue candidate if it has one. Requires the `configure` access tier on the app.

## Path parameters

- `id` string, uuid, required
- `hypothesisId` string, uuid, required

## Response `200`

The retired candidate rule.

- AppRulesHypothesis: One candidate rule in full.
  - `id` string, uuid
  - `app_id` string, uuid
  - `app_version` integer
  - `round_id` string, uuid, nullable
  - `statement` string
  - `falsifier` string: What would prove the rule wrong.
  - `direction` 'necessary' | 'sufficient'
  - `kind` 'rule' | 'mapping' | 'identity'
  - `status` 'hypothesis' | 'proposal' | 'verified' | 'stale' | 'refuted' | 'retired' | 'superseded'
  - `evidence` object, nullable
  - `supersedes` string, uuid, nullable
  - `notes` string, nullable
  - `stale_reason` string, nullable
  - `qualified_by` object[], nullable
    - `finding_id` string, uuid
    - `statement` string
    - `at` string, date-time
  - `evaluated_at` string, date-time, nullable
  - `created_at` string, date-time
  - `contradicting` object[]: Up to 50 records from the latest check that contradict the rule (only on the read of one candidate rule).
    - `subject` string
    - `detail` string, nullable
    - `label` 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.
- `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/hypotheses/:hypothesisId/retire/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)
