latestOpenAPI 3.0.02026-08-1610635191.3 KB

355890b6b4cc

Documents

Get document

Returns the stored briefing document payload for the authenticated token.

get/documents/{documentId}

Path parameters

documentIdstring required

Document request identifier

Response

Document payload

idstring

Unique identifier for the document (matches request id)

typestring

Document type

format'text' | 'html' | 'pdf'

Stored result format

titlestring nullable

Optional document title

statusinteger

Current progress percentage (100 when completed)

createdOnstring date-time

UTC timestamp when the document row was created

contentstring nullable

Text or HTML content when format is text or html

urlstring nullable

Direct PDF URL when format is pdf