Create a find request and enqueue processing
API Reference · Miner
Create a lawsuit find
Creates a real find request, debits credits and enqueues async processing. Returns request_id, status pending and cost.
POST
Create a find request and enqueue processing
Authorizations
Replace with the actual API key requirement for your Miner API deployment.
Body
application/json
Mirrors requestLawsuitsInputSchema in @judit-io/miner-shared (strict object).
Cross-field rules (enforced server-side):
- If both
amount_minandamount_maxare set,amount_min≤amount_max. - For
sentence-execution:budget_yearsandnaturesmust be absent. - For
judgement-bond:tagsmust be absent. amount_tiercannot be used together withamount_minoramount_max.
Available options:
judgement-bond, sentence-execution Minimum lawsuit amount filter (cannot be combined with amount_tier)
Maximum lawsuit amount filter (cannot be combined with amount_tier)
Available options:
0-100k, 100k-250k, 250k-500k, 500k-750k, 750k-1.5M, 1.5M+ Only when kind is judgement-bond
Only when kind is judgement-bond
Available options:
alimentary, common Only when kind is sentence-execution
Available options:
precatory_dispatched, possible_precatory, possible_approved_calculation Caps how many lawsuits are included in a find request (/requests/create only).
Required range:
x >= 1