---
title: "Readiness check"
---

> Documentation Index
> Fetch the complete documentation index at: https://sandrinodm.github.io/logbrook/llms.txt
> Use this file to discover all available pages before exploring further.

# Readiness check

Path: Logbrook API › Server

`GET /ready`

## Code samples

### cURL

```bash
curl --request GET \
  --url '<base-url>/ready'
```

### TypeScript

```typescript
const url = '<base-url>/ready';
const options = {method: 'GET'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "<base-url>/ready"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

Successful response

#### Example

```json
{
  "status": "ready"
}
```

- `status` (`getReadiness.response.200.status`; string, required)

### 400

Invalid input

#### Example

```json
{
  "error": "string"
}
```

- `error` (`getReadiness.response.400.error`; string, required)

### 401

Missing or invalid token

#### Example

```json
{
  "error": "string"
}
```

- `error` (`getReadiness.response.401.error`; string, required)

### 403

Source outside read scope

#### Example

```json
{
  "error": "string"
}
```

- `error` (`getReadiness.response.403.error`; string, required)

### 413

Payload exceeds configured budget

#### Example

```json
{
  "error": "string"
}
```

- `error` (`getReadiness.response.413.error`; string, required)

### 429

Capacity exhausted; Retry-After: 1

#### Example

```json
{
  "error": "string"
}
```

- `error` (`getReadiness.response.429.error`; string, required)

### 503

Storage unavailable

#### Example

```json
{
  "error": "storage unavailable"
}
```

- `error` (`getReadiness.response.503.error`; string, required)

### 504

Query deadline expired

#### Example

```json
{
  "error": "string"
}
```

- `error` (`getReadiness.response.504.error`; string, required)


Source: https://sandrinodm.github.io/logbrook/api/ready/index.md
