POST /api/v1/_predict + /_search
Each prediction fans out to three Aito calls: _predict success_bucket for the 5-class distribution, _predict front_page for the binary headline, and _search for similar past submissions (re-ranked by token overlap). Estimated upvotes come from the modal bucket; the long-tail expectation is shown beneath.
Example query
{
"method": "POST",
"path": "/api/v1/_predict",
"body": {
"from": "hn_submissions",
"where": {
"title": "...",
"is_show_hn": false
},
"predict": "success_bucket"
}
}