GET /api/documents/{doc_id}
Returns a document’s metadata plus every insight extracted from it. Use this for deep research after POST /api/insights/search has returned a relevant doc_id.
Authentication
X-API-Key: alch_YOUR_KEY
Path parameters
| Parameter | Type | Description |
|---|---|---|
doc_id | string | Document identifier from search results or GET /api/documents. |
Response 200
document fields
| Field | Type | Description |
|---|---|---|
doc_id | string | Document identifier |
document_url | string | URL to the primary source |
article_title | string | Document title |
summary | string | Brief summary |
source_name | string | Publishing organization |
published_date | string | null | Publication date |
extraction_status | string | "complete" when all insights have been extracted |
insights fields
| Field | Type | Description |
|---|---|---|
insight_id | string | Unique insight identifier |
title | string | Short title for the insight |
insight | string | The extracted finding as a complete statement |
excerpts | string[] | Verbatim source quotes that support the insight |