Reranks three fixed documents against a fixed query through Bedrock and reports the model, latency and, in sample, each result index with its score. A Bedrock failure still answers 200, with ok: false, model: unknown and the error class and message. Super admins only.
POST
/ai/admin/ping/rerank
curl \
--request POST 'http://api.example.com/ai/admin/ping/rerank' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"ok": true,
"purpose": "admin_ping",
"model": "string",
"latencyMs": 412,
"sample": "string",
"errorClass": "string",
"errorMessage": "string"
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}