Documents
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
pageinteger · min: 1Optional
Page number (default 1)
pageSizeinteger · min: 1 · max: 100Optional
Items per page (default 20, max 100)
Responses
200
Paginated list of documents
application/json
totalCountintegerOptional
pageintegerOptional
pageSizeintegerOptional
totalPagesintegerOptional
401
Unauthorized
get/documents/get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
documentIdstringRequired
Document request identifier
Responses
200
Document payload
application/json
idstringOptional
Unique identifier for the document (matches request id)
typestringOptional
Document type
formatstring · enumOptionalPossible values:
Stored result format
titlestring · nullableOptional
Optional document title
statusintegerOptional
Current progress percentage (100 when completed)
createdOnstring · date-timeOptional
UTC timestamp when the document row was created
contentstring · nullableOptional
Text or HTML content when format is text or html
urlstring · nullableOptional
Direct PDF URL when format is pdf
401
Unauthorized
404
Document not found
get/documents/{documentId}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
documentIdstringRequired
Document request identifier
Responses
200
Document download
application/octet-stream
string · binaryOptional
401
Unauthorized
404
Document not found or not ready
502
Upstream asset unavailable
get/documents/{documentId}/download
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
documentIdstringRequired
Document request identifier
Responses
200
Document preview
string · binaryOptional
401
Unauthorized
404
Document not found or not ready
502
Upstream asset unavailable
get/documents/{documentId}/preview
Last updated