---
title: "Get Document"
method: GET
path: "/api/document/{document_ext_id}"
tags: ["document"]
---

# Get Document

`GET /api/document/{document_ext_id}`

Retrieve document metadata by its external ID.
Returns decrypted document information with proper access controls.

## Path parameters

- `document_ext_id` string, required

## Response `200`

Successful Response

- DocResponse
  - `external_id` string, required
  - `workspace_ext_id` string, required
  - `file_name` string, nullable
  - `status` string, nullable
  - `n_pages` integer, nullable
  - `n_chunks` integer, nullable
  - `tokens` integer, nullable
  - `file_type` string, nullable
  - `file_size` integer, nullable
  - `storage_type` string, nullable
  - `storage_uri` string, nullable
  - `title` string, required
  - `doc_date` string, date, nullable
  - `shared` boolean, nullable
  - `re_ocred` boolean, nullable
  - `config_ext_id` string, nullable
  - `created_by_ext_id` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

## Changes

- **2025-08-19** `5287337ab0fe` — 1 info
  - added the optional property `config_ext_id` to the response with the `200` status
- **2025-08-06** `43c12480eb1b` — 5 info
  - added the optional property `tokens` to the response with the `200` status
  - the response property `title` became required for the status `200`
  - response property `title` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - added the required property `created_at` to the response with the `200` status
  - …1 more

[Change history](https://skmtc.dev/arbicity/apis/arbi/changes/api/document/:document_ext_id/get.md)

---

[API](https://skmtc.dev/arbicity/apis/arbi.md) · [All operations](https://skmtc.dev/arbicity/apis/arbi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/arbicity/arbi/revisions/8d3e894e6c0b/schema)
