Skip to main content
GET
Get document by ID

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string<uuid>
required

Document ID, as returned by /documents/list, chunks, agent sources and webhooks

Example:

"a586df65-76d8-4b04-864c-ceed76592f4d"

Response

The document, with temporary links to its files

V2 response model for document retrieval by ID. Uses database category codes directly.

id
string
required

Document ID. Use it with GET /api/v2/documents/{id}; chunks, agent sources and webhooks return the same ID.

documentCategory
string
required

Document category code as stored in the database. For detailed category descriptions, please refer to this page.

companyId
string
required

Unique ID of the company filing the document

originalFileUrl
string
required

Secure and temporary URL providing access to the original document file

markdownFileUrl
string
required

Secure and temporary URL providing access to the pre-processed, machine-readable document file

secFormType
string | null

Document SEC form type (only applicable if the document is an SEC filing)

title
string | null

Captide-generated document title

description
string | null

Captide-generated document description

date
string | null

Date of the document: the EDGAR filing date for SEC filings, otherwise the date the document was issued or published. When the document has no date of its own, the date it was published online.

fiscalQuarter
integer | null

Fiscal quarter the document relates to (from 1 to 4)

fiscalYear
integer | null

Fiscal year the document relates to (e.g., 2024)

fiscalPeriod
string | null

Fiscal period the document relates to. Valid values: year, multi-year, month, half-year, quarter, or null

language
string | null

Language of the document in ISO 639-1 code

companyName
string | null

Name of the company filing the document

companyTickers
string[]

Tickers of the company filing the document

layoutJsonFileUrl
string | null

Secure and temporary URL to the document's OCR layout as JSON: each page's blocks (text, section headers, tables, pictures, footnotes and lists) with their type, position on the page (bbox, polygon), HTML content and section hierarchy. null when the document wasn't processed by Captide's OCR pipeline.

metadata
Metadata · object

Additional document metadata: accessionNumber and 8kItems for SEC filings, and sourceUrl, the document's original address, for SEC filings and investor-relations documents