## Get Ocr Health

**get** `/api/v1/admin/ocr/statusz`

Get OCR service health status including GPU availability.

### Cookie Parameters

- `session: optional string`

### Returns

- `status: "degraded" or "ok" or "unavailable"`

  - `"degraded"`

  - `"ok"`

  - `"unavailable"`

- `device: optional string`

- `error_message: optional string`

- `gpu_available: optional boolean`

- `gpu_device_count: optional number`

- `gpu_device_name: optional string`

### Example

```http
curl https://api.cloud.llamaindex.ai/api/v1/admin/ocr/statusz \
    -H "Authorization: Bearer $LLAMA_CLOUD_API_KEY"
```

#### Response

```json
{
  "status": "degraded",
  "device": "device",
  "error_message": "error_message",
  "gpu_available": true,
  "gpu_device_count": 0,
  "gpu_device_name": "gpu_device_name"
}
```
