Get Document
Retrieves a source document for display in the frontend.
NOTE: Consuming applications should NOT use this endpoint directly. Instead, they should
use the sourceLink
URLs returned by other endpoints (like /rag/agent-query-stream
or /rag/chunks
).
This endpoint is documented here purely for reference purposes.
This endpoint is designed to be called when a consuming application has received
a response containing a sourceLink
from other endpoints (like /rag/agent-query-stream
or /rag/chunks
). It returns the full HTML content and metadata of the referenced
document for display and highlighting in the frontend.
Supported document types:
- SEC filings (10-K, 10-Q)
- International SEC filings (20-F, 40-F, 6-K)
- 8-K documents (with embedded images)
- Earnings call transcripts
- Proxy statements (DEF 14A, DEFM14A, DEF 14C, DEFM14C, etc.)
Note: All JSON fields use camelCase naming convention.
Query Parameters |
---|
sourceType Sourcetype — REQUIREDType of document (10-K, 10-Q, 8-K, 20-F, 40-F, 6-K, transcript, DEF 14A, DEFM14A, DEF 14C, S-1, etc.) Type of document (10-K, 10-Q, 8-K, 20-F, 40-F, 6-K, transcript, DEF 14A, DEFM14A, DEF 14C, S-1, etc.) |
documentId Documentid — REQUIREDUUID of the document UUID of the document |
Responses | |||||||
---|---|---|---|---|---|---|---|
200 Successful Response
| |||||||
422 Validation Error
|