Skip to main content
PATCH
Update document config

Authorizations

Authorization
string
header
required

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

Path Parameters

chatbotId
string
required

Body

application/json
documentIds
string[]
required
Minimum array length: 1
syncFrequency
enum<string>
default:NEVER
Available options:
NEVER,
DAILY,
WEEKLY,
MONTHLY
scrapeOptions
object
onlyMainContent
boolean
default:true

Extract main page content only, excluding headers, footers, sidebars, and navigation.

includeSelectors
string[]

CSS selectors to include when scraping page content.

excludeSelectors
string[]

CSS selectors to exclude when scraping page content.

headers
object

Allowed request headers: User-Agent, Accept, Accept-Language.

Response

Successful SiteGPT API v2 response.

ok
boolean
required
data
object
required
meta
object
required