Sends a fixed ping prompt to the Claude haiku model through Bedrock and reports the model, latency and, in sample, the first 64 characters of the reply. A Bedrock failure still answers 200, with ok: false, model: unknown and the error class and message. Super admins only.
POST
/ai/admin/ping/claude
curl \
--request POST 'http://api.example.com/ai/admin/ping/claude' \
--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"
}