Check Entity Quality
check_entity_qualityEstimate or queue quality checks for named assets and attackers lacking a current verdict; call without confirmation for a cost estimate, then confirm to run checks in the background.
Instructions
Ask for the quality check of the assets and attackers you name (every
one when you name none) that have no current verdict: an entity whose
quality reads unchecked, or one changed since its last check.
Without confirm_estimate it only estimates; with it, the checks are
queued and run in the background. Creates no model version.
Checking may be paid. Call it first without confirm_estimate, RELAY
THE ESTIMATE TO THE PERSON, and confirm only when they agree; never
confirm on your own. The answer says where each named entity stands:
current (its verdict answers it as it stands; it is not checked
again: to dispute it, answer its flag with answer_entity_question),
checking (its check is queued already), answered (a stored
verdict answers it and is served again, at no cost), platform_scope
(made stale by a change to the platform; checked at Mipiti's cost) and
customer_scope (checked at the caller's cost; estimate gives an
upper bound, the deeper review running only where the first pass flags).
A confirmation the caller's balance cannot cover is refused with 402 and
queues nothing; an id naming no asset or attacker of the model is refused
400 unknown_entity. Read each entity again with get_entity for its
verdict once it lands. To ask every entity again whatever is stored, use
revalidate_entity_quality.
Returns {platform_scope, customer_scope, current, checking, answered, estimate, billing, confirmed, queued, message}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model. | |
| entity_ids | No | JSON array of asset and attacker ids (e.g. ``["A-17", "T-04"]``); empty for every entity. | |
| server_version | Yes | ||
| confirm_estimate | No | Queue the checks the estimate describes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||