---
title: "Monitoring | Docs | Private AI Workspace by R&D Copilot"
description: "Detect unavailable models, stalled indexing and recovery failures."
canonical: "https://private-ai.rdcopilot.com/docs/administration/monitoring/"
language: en
updated: 2026-11-22
---

# Monitoring

Detect unavailable models, stalled indexing and recovery failures.

## 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.

1.  Alert when queued work keeps growing across successive observations.
2.  Alert when a required team has no loaded model.
3.  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

```bash
curl "$RDC_BASE_URL/private-ai/v1/admin/health" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```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

```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
<?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#

```csharp
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();
```

Response 200

```json
{
  "files": 3,
  "readyDocuments": 2,
  "queue": 0,
  "failedDocuments": 1,
  "notReadableFiles": 1,
  "loadedModels": 1,
  "memoryMiB": 6144,
  "capacityMiB": 12288
}
```
