---
title: "Single server | Docs | Private AI Workspace by R&D Copilot"
description: "Install the gateway, indexing workers and model runtime on one host."
canonical: "https://private-ai.rdcopilot.com/docs/deployment/single-server/"
language: en
updated: 2026-11-22
---

# Single server

Install the gateway, indexing workers and model runtime on one host.

## Prepare the host

Use the installation package and the configuration agreed for your installation. Keep application data on persistent storage and secrets outside application files. Only the gateway is reachable by users; model and index services remain on the internal network.

1.  Install the supplied release and record its version before starting services.
2.  Configure the account identity endpoint, host certificate, data paths and model package.
3.  Start storage and indexing before enabling the gateway for users.

## Verify the installation

Read workspace health and model state through the API. Index a readable file in the test space, ask a question, then test a user without access. A successful health request alone does not establish that permissions or indexing work.

## Recover a restart

After a host restart, confirm persistent files and permissions are present, the queue resumes and the configured model is loaded. Resolve failed indexing before repeating a question about affected files.

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