Seeds a pending doc with a polished demo: applies the preset's theme (colors, fonts, default mode), creates a single "Documentation" section, and injects 14 entries (3 top-level pages + 2 folders containing 3 and 6 pages). Welcome page hero image is the preset-specific asset. Transitions status to "generated". Used by the wizard's "Start from template" path.
Authentication
API Key (BearerAuth)
Header:
Authorization
Path Parameters
Organization ID
Documentation ID
Request Body
Preset selection
Required
Example:
{
"preset": "string"
}Responses
Response Fields:
audience(string)config(object)created_at(string)description(string)has_pending_changes(boolean)id(string)name(string)organization_id(string)published_at(string)slug(string)status(string)updated_at(string)version_selector_enabled(boolean)version_selector_position(string)
Example:
{
"audience": "public",
"config": {
"assistant": {
"enabled": true,
"floating": true
},
"favicon_url": "string",
"footer": {
"copyright": "string",
"enabled": true,
"links": [
{
"icon": "...",
"label": "...",
"style": "...",
"url": "..."
}
],
"powered_by_gitdocai": true
},
"kb": {
"enabled": true,
"hero_description": "string",
"hero_placeholder": "string",
"hero_title": "string",
"icon": "string",
"name": "string",
"popular_articles": [
"string"
],
"popular_title": "string",
"search_suggestions": [
"string"
],
"show_categories": true
},
"navbar": [
{
"icon": "string",
"label": "string",
"style": "string",
"url": "string"
}
],
"seo": {
"default_description": "string",
"default_og_image": "string",
"google_analytics_id": "string",
"site_title": "string",
"title_template": "string"
},
"theme": {
"dark": {
"accent_color": "string",
"bg_color": "string",
"logo_url": "string",
"text_color": "string"
},
"default": {},
"font_family": "string",
"heading_font": "string",
"light": {
"accent_color": "string",
"bg_color": "string",
"logo_url": "string",
"text_color": "string"
},
"modes": [
"dark"
],
"preset": {},
"show_name": true
}
},
"created_at": "string",
"description": "string",
"has_pending_changes": true,
"id": "string",
"name": "string",
"organization_id": "string",
"published_at": "string",
"slug": "string",
"status": "pending",
"updated_at": "string",
"version_selector_enabled": true,
"version_selector_position": "navbar_right"
}Example:
{
"key": "value"
}Example:
{
"key": "value"
}