---
title: "Get Documents"
method: GET
path: "/api/document/"
tags: ["document"]
---

# Get Documents

`GET /api/document/`

Get one or more documents by external IDs.

## Query parameters

- `external_ids` string[], required

## Headers

- `workspace-key` string

## 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
  - `shared` boolean, nullable
  - `re_ocred` boolean, nullable
  - `config_ext_id` string, nullable
  - `created_by_ext_id` string, required
  - `updated_by_ext_id` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `doctags` DocTagResponse[]
    - `doc_ext_id` string, required
    - `tag_ext_id` string, required
    - `note` string, nullable
    - `citations` object, nullable
    - `created_by_ext_id` string, required
    - `updated_by_ext_id` string, nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `doc_metadata` DocMetadata — Structured model for document metadata stored in JSONB column.
    - `doc_nature` string, nullable
    - `doc_author` string, nullable
    - `doc_subject` string, nullable
    - `doc_date` string, date, nullable
    - `title` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-01-07** `249354af19dc` — 1 info
  - added the optional property `items/doctags/items/citations` to the response with the `200` status
- **2026-01-06** `1c863a2a0ea7` — 1 warning, 3 info
  - removed the optional property `items/doc_metadata/anyOf[subschema #1: DocMetadata]/doc_summary` from the response with the `200` status
  - added the optional property `items/doc_metadata/anyOf[subschema #1: DocMetadata]/doc_author` to the response with the `200` status
  - added the optional property `items/doc_metadata/anyOf[subschema #1: DocMetadata]/doc_nature` to the response with the `200` status
  - added the optional property `items/doc_metadata/anyOf[subschema #1: DocMetadata]/doc_subject` to the response with the `200` status
- **2025-12-25** `aa4b06f8dede` — 3 info
  - added the optional property `items/updated_by_ext_id` to the response with the `200` status
  - the response property `items/created_by_ext_id` became required for the status `200`
  - response property `items/created_by_ext_id` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
- **2025-12-19** `7073d8652386` — 2 breaking
  - removed the required property `items/doc_date` from the response with the `200` status
  - removed the required property `items/title` from the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/arbicity/apis/arbi/changes/api/document/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/1f956ac3d1c1/schema)
