Monitoring
Detect unavailable models, stalled indexing and recovery failures.
On this page
Observe the components
Monitor gateway availability, identity checks, indexing progress, model state, storage and backup completion. Read health over the same permitted network as the integration. Set alert thresholds from the accepted workload, not from a generic hardware figure.
- Alert when queued work keeps growing across successive observations.
- Alert when a required team has no loaded model.
- Track permission sync failures and backup restore tests independently.
Respond to an alert
Identify the affected space and host before restarting anything. Preserve the failed document record or operation identifier. After recovery, confirm indexing resumes, a permitted chat completes and an unauthorised request still fails.
Protect monitoring data
Keep dashboards and alert receivers inside the permitted destinations. Use identifiers and state codes in alerts rather than document content or credentials. A monitoring route must not become an unrestricted outbound path.
curl
curl "$RDC_BASE_URL/private-ai/v1/admin/health" \
-H "Authorization: Bearer $RDC_TOKEN" JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/private-ai/v1/admin/health`, {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.RDC_TOKEN}`,
},
});
const result = await response.json(); Python
import os
import requests
response = requests.request(
'GET',
f'{os.environ["RDC_BASE_URL"]}/private-ai/v1/admin/health',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
)
result = response.json() PHP
<?php
$curl = curl_init(getenv('RDC_BASE_URL') . '/private-ai/v1/admin/health');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('RDC_TOKEN'),
],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl); C#
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/private-ai/v1/admin/health");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); {
"files": 3,
"readyDocuments": 2,
"queue": 0,
"failedDocuments": 1,
"notReadableFiles": 1,
"loadedModels": 1,
"memoryMiB": 6144,
"capacityMiB": 12288
}