> ## Documentation Index
> Fetch the complete documentation index at: https://docs.okrapdf.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Document Status

> Retrieve the current status and metadata for a document.

## Overview

Returns the current processing status, page count, and metadata for a document. This endpoint does not require authentication for public documents.

## Request

<ParamField path="id" type="string" required>
  Document ID (e.g. `doc-abc123`) or 6-char short hash.
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl https://api.okrapdf.com/v1/documents/doc-abc123 \
    -H "Authorization: Bearer okra_YOUR_KEY"
  ```
</RequestExample>

### Response (200)

```json theme={null}
{
  "id": "doc-abc123",
  "status": "completed",
  "file_name": "annual-report.pdf",
  "total_pages": 42,
  "pages_completed": 42,
  "inserted_at": "2025-01-15T08:30:00Z",
  "updated_at": "2025-01-15T08:32:00Z",
  "is_public": false
}
```
