Skip to main content
GET
Get document

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatbotId
string
required

Chatbot ID.

documentId
string
required

Knowledge document ID.

Query Parameters

includeContent
boolean

Inline text content when available.

maxContentChars
integer

Maximum characters to inline per content field.

Required range: 1 <= x <= 500000

Response

Successful SiteGPT API v2 response.

ok
boolean
required
data
object
required
meta
object
required