The identity and technical contract details declared by the specification.
SearchPageResult
object
Search result representing a page in a space.
10 properties
8 required
ChangeRequestChangeCounts
object
Exact semantic entity and page-document block counts for a change request at its current head and base revisions.
4 properties
2 required
BlockReason
string
A short description giving context on the reason for the block.
CustomizationAnnouncement
object
5 properties
3 required
SiteSetupStepId
string
A step of the setup of a site, in the order they are done.
SiteAdaptiveJSONSchemaPrimitives
Expression
string
Expression to evaluate
CustomizationSidebarBackgroundStyle
string
- default: No background, content sits directly against sidebar edge. - filled: Muted background color that extends to sidebar edges.
DocumentBlockDivider
object
5 properties
4 required
CustomizationThemedColor
object
2 properties
2 required
BillingCreditsBundle
string
The AI credit bundle to top up every month
DocumentBlockIf
object
6 properties
4 required
BillingProduct
string
Name of the product
ContentRefPage
object
3 properties
2 required
DocumentBlockDrawing
object
6 properties
4 required
CustomizationCorners
string
MergeRulesConfigurationRules
object
The merge rules are composed of individual rules that must all pass.
2 properties
2 required
CustomizationThemedURL
object
2 properties
2 required
CardsImageObjectFit
string
Object fit for image display in card views
CustomizationLinksStyle
string
The style used for regular links in the main content, header and footer. Sidebar items are styled separately. - default: Links are colored in the primary color…
CustomizationFontDefinitionInput
object
Defines a font family along with its various font-face declarations for use in CSS '@font-face' rules.
4 properties
4 required
OrganizationSupportCost
What support costs the organization, per ticket or per hour of agent time, used to estimate how much AI answers save in site insights.
DocumentTableDefinitionCheckbox
DocumentFragment
object
5 properties
2 required
CustomizationTheme
string
The theme to apply to the site. Supercedes the old header preset themes. - clean: Modern theme featuring translucency and minimally-styled elements. - muted: S…
DocumentInlineExpression
object
5 properties
4 required
LocalizedString256
object
Localized string value with a 256 character limit, keyed by locale. Contains overrides for non-default languages only.
BillingInterval
string
Interval for a billing subscription
SubscriptionTrial
object
The current or last trial of an organization.
3 properties
3 required
DocumentTableDefinitionUsers
SiteAdaptiveRegions
object
Groups of countries exposed to adaptive content as visitor.region. The key of each entry is the region name; visitor.region is undefined for a visitor whose co…
DocumentBlockStepper
object
6 properties
3 required
ContentRef
A relative reference to content in GitBook.
OrganizationPricePair
object
Pricing pair for monthly and yearly intervals
2 properties
2 required
IntegrationExternalLinks
array
External urls configured by the developer of the integration
BillingMeterAddon
object
1 property
1 required
DocumentText
object
3 properties
2 required
SiteTitle
string
Title of the site
GitSyncInstallationStatus
string
SiteSectionGroupTitle
string
Title of the site section group
IntegrationConfigurations
object
3 properties
LocalizedString
object
Localized string value, keyed by locale. Contains overrides for non-default languages only.
DocumentMarkBold
object
2 properties
2 required
DocumentBlockHint
object
6 properties
4 required
ContentRefURL
object
2 properties
2 required
DocumentInlineIcon
object
5 properties
4 required
DocumentTableDefinitionSelect
SiteSectionGroup
object
9 properties
6 required
SearchRecordResult
object
Search result representing a site context record.
6 properties
5 required
DocumentBlockFile
object
6 properties
4 required
CustomizationPageActionType
string
Type of a built-in page action that can be displayed in the page actions menu of a published page.
SiteAdaptiveTemplateCondition
object
A template condition based on the site visitor schema.
2 properties
2 required
SiteAdaptiveSchema
object
3 properties
3 required
Site
object
23 properties
13 required
OrganizationCommunityType
string
SearchSpaceResult
object
Search result representing a space.
5 properties
5 required
GitSyncOperationErrorAction
object
An action the user can take to resolve a failed Git Sync operation.
2 properties
2 required
DocumentBlockIntegration
object
6 properties
4 required
MergeRulesSpaceConfiguration
CustomizationIconsStyle
string
CustomizationCodeTheme
string
IntegrationCategory
string
DocumentInlineAnnotation
object
7 properties
5 required
VisitorAuthIntegrationBackend
object
1 property
1 required
CustomizationSuggestedQuestions
array
Suggested questions to display at the start of the chosen AI mode.
SiteExternalLink
object
11 properties
5 required
IntegrationSummary
string
Long form markdown summary of the integration
SiteStyleguideRun
object
A style guide check run: one time a user asked GitBook Agent to check a set of the site's spaces against the site's style guide, opening a change request for e…
7 properties
7 required
DocumentBlockEmbed
object
6 properties
4 required
SiteSectionDescription
string
Description of the site section
DocumentBlockReusableContent
object
6 properties
4 required
BillingTrialStatus
string
- notapplicable, no trial can be started for this organization. - none, no trial has been started yet. - active, trial is active. - ended, the trial has ended…
DocumentTableDefinitionFiles
DefaultLevel
Default level for a piece of content
DocumentMarkSubscript
object
2 properties
2 required
CustomizationHeaderItem
object
6 properties
3 required
MergeRulesConfigurationInherit
object
The merge rules inherits from the organization configuration.
1 property
1 required
ContentRefTag
object
3 properties
2 required
PreviousGitSyncState
object
What is still known about a target's Git Sync after its installation was removed. Never returned alongside gitSync, which describes a live installation.
1 property
1 required
OpenAPIWebhookPointer
object
Pointer to a webhook in the OpenAPI spec.
2 properties
2 required
DocumentBlockOpenAPI
object
6 properties
4 required
SiteSection
object
14 properties
7 required
ContentRefCollection
object
2 properties
2 required
CustomizationThemedCodeTheme
object
2 properties
2 required
DocumentTableDefinitionContentRef
IntegrationConfigurationSchema
object
Schema for a configuration
2 properties
1 required
DocumentBlockQuote
object
6 properties
3 required
Space
object
28 properties
17 required
SiteSocialAccounts
array
The social accounts of the site.
ChangeRequestChangeCountsByType
object
Counts of entities grouped by how they changed relative to the change request base.
3 properties
3 required
IntegrationTitle
string
Title of the integration
SiteIntegrationScript
object
3 properties
2 required
CustomizationAIMode
string
SiteAdsTopic
string
Topic of the content
CustomizationSuggestedQuestion
string
CustomizationHeaderPreset
string
The header preset to use for the site. This is a legacy setting and the site styling theme should be used instead.
ChangeRequestLinks
array
External links associated with the change request.
SitePointer
object
2 properties
2 required
CustomizationHeadingFont
Font used for headings. null means headings use the main font (styling.font).
GitSyncProvider
string
The provider of the Git Sync installation.
IntegrationBlock
object
6 properties
2 required
DocumentBlockTable
object
6 properties
5 required
SiteStructureItem
object
A site structure item can be a site space, a site section, a site section group, or an external link. It is used to represent the structure of a site.
IntegrationVisibility
string
CustomizationAnnouncementMessage
string
The text content of the announcement.
DocumentAction
object
Action to perform when an inline button is clicked.
DocumentBlockTabs
object
6 properties
3 required
DocumentBlockParagraph
object
6 properties
3 required
DocumentInlineEmoji
object
5 properties
4 required
CustomizationBackground
string
The background style has been deprecated and will be removed in a future release. Use the tint settings instead.
SiteStructureItemMovePosition
object
Position at which to move the site structure item relative to any sibling of the same structure level.
2 properties
DocumentMarkKeyboard
object
2 properties
2 required
IntegrationBlocks
array
Custom blocks defined by this integration.
DocumentTableSelectOption
object
3 properties
3 required
GitSyncState
object
11 properties
3 required
DocumentTableCellSpan
integer
Number of rows or columns covered by a table cell merge
Error
object
1 property
1 required
SiteSpace
object
14 properties
7 required
GitSyncOperationState
string
running: The operation is still running failure: The operation failed success: The operation was successful timeout: The operation timed out
ContentImportTarget
object
3 properties
1 required
DocumentTableCellMerge
object
Positional table cell merge range. The anchor and spans are resolved against the current sorted record order and visible column order. The current document mod…
3 properties
3 required
OrganizationHostname
string
Default hostname for the organization's public content, e.g. .gitbook.io
IntegrationConfigurationComponent
object
ContentKit component for configuration
1 property
1 required
CustomizationLocale
string
Language for the UI element
IntegrationCategories
array
Categories for which the integration is listed in the marketplace
ChangeRequestLinkInput
object
External link associated with a change request.
3 properties
1 required
SiteCustomizationFeature
string
A list of all premium customizations.
DocumentBlockListUnordered
object
6 properties
3 required
CustomizationDefaultThemeMode
string
DocumentBlockHeading
object
7 properties
4 required
OpenAPIOperationPointer
object
Pointer to an operation in the OpenAPI spec.
2 properties
2 required
FontFace
object
A single font-face declaration specifying the weight and source files for a particular variation of the font.
2 properties
2 required
DocumentInlineMath
object
5 properties
4 required
MemberRoleOrGuest
The role of a member in an organization, null for guests
SiteFeatureKey
string
The site feature identifier
IntegrationContentSource
object
Definition of a content source provided by the integration.
5 properties
3 required
DocumentBlockOpenAPISchemas
object
6 properties
4 required
DocumentTableDefinitionRating
AICreditThreshold
An AI credit threshold from 5% to 50%, or null when disabled.
DocumentTextLeaf
object
3 properties
3 required
DocumentMarkStrikethrough
object
2 properties
2 required
FontWeight
integer
Numeric representation of the font weight (400=regular, 500=medium, 700=bold, 900=black).
SiteExternalLinksTarget
string
How external links should open when clicked. - self: External links open in the current tab. - blank: External links open in a new browser tab.
ChangeRequestLinkExpanded
External ticket data resolved for this link by a configured connector.
DocumentBlockPrompt
object
6 properties
4 required
SiteSectionTitle
string
Title of the site section
DocumentBlockExpandable
object
7 properties
5 required
OrganizationEmailDomains
array
Icon
string
Name of the icon
IntegrationDescription
string
Description of the integration
OrganizationBilling
object
22 properties
13 required
ContentRefUser
object
2 properties
2 required
MemberRole
string
"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review…
SiteSocialAccountPlatform
string
The platform of the social handle.
DocumentBlockOpenAPIWebhook
object
6 properties
4 required
SiteProxy
object
2 properties
2 required
Organization
object
27 properties
12 required
DocumentInlineMention
object
5 properties
4 required
IntegrationPropertyTitle
string
Property title for an integration configuration property
VisitorAuthCustomBackend
object
1 property
1 required
Integration
object
20 properties
14 required
IntegrationScopes
array
Permissions that should be granted to the integration
DocumentMarkSuperscript
object
2 properties
2 required
CustomizationAIInstructions
string
Additional instructions for the AI Assistant, injected after the base system prompt. Use them to adjust tone of voice and contribute site-specific knowledge. T…
DocumentBlockUpdates
object
6 properties
4 required
SiteAdaptiveJSONSchemaClaimsProperties
OrganizationPricing
object
Pricing information for an organization
2 properties
2 required
DocumentBlockCode
object
6 properties
4 required
DocumentInlineImage
object
5 properties
4 required
DocumentTableDefinitionNumber
ContentRefAnchor
object
4 properties
2 required
SearchResultScore
number
Relevance score for a search result. Higher is better and the score is unbounded.
DocumentTableDefinitionText
DocumentBlockCodeLine
object
6 properties
4 required
SiteCustomizationSettingsBase
object
20 properties
17 required
ChangeRequestStatus
string
OrganizationAISettings
object
AI preferences. Missing feature keys leave features enabled, subject to the master AI setting and feature eligibility.
13 properties
JSONDocument
object
4 properties
3 required
SiteFeature
object
A site feature and the plan it is available on.
4 properties
3 required
DocumentBlockUpdate
object
6 properties
4 required
ContentVisibility
string
public: Anyone can access the content, and the content is indexed by search engines. unlisted: Anyone can access the content, and the content is not indexed by…
OrganizationTitle
string
Name of the organization
DocumentBlockImages
object
6 properties
5 required
ContentRefFile
object
3 properties
2 required
SiteSocialAccount
object
3 properties
3 required
BlockSource
string
Source for an organization block
SiteBasename
string
Basename for the site. For e.g. api
DocumentBlockListTasks
object
6 properties
3 required
SiteHostname
string
Custom hostname for the site, for e.g. docs.mycompany.com
DocumentBlockColumns
object
6 properties
5 required
OpenAPISchemasPointer
object
Pointer to schemas in the OpenAPI spec.
3 properties
1 required
SiteAdaptiveJSONSchemaWithRegions
object
JSON schema describing the expected attributes of an Adaptive site schema, with the regions visitor.region is resolved from.
5 properties
3 required
DocumentMarkCode
object
2 properties
2 required
OrganizationDefaultContent
The default content for the organization
CustomizationContentLink
object
3 properties
2 required
DocumentTableImageRecord
A table record value for image columns, supporting both direct ContentRefs and the additional format with record-level settings.
TranslationLanguage
string
DocumentBlockStepperStep
object
6 properties
4 required
DocumentBlockImage
object
6 properties
5 required
GitSyncOperationDirection
string
CustomizationMonospaceFont
DocumentTableViewCards
object
8 properties
3 required
ChangeRequestSubject
string
Subject of the change request
ContentRefOpenAPI
object
2 properties
2 required
FontSource
object
A font file referenced within a font-face declaration, specifying the file's location and format.
2 properties
1 required
LocalizedString64
object
Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only.
SearchSectionResult
object
Search result representing a section in a page.
7 properties
6 required
SiteAdaptiveDeterministicJSONSchemaPrimitives
PublishedContentSite
object
5 properties
5 required
OrganizationUseCase
string
SiteVisibility
string
The visibility setting of the site determines the audience of the site. public: Anyone can access the site, and the site is indexed by search engines. unlisted…
ContentRefSpace
object
2 properties
2 required
SiteCustomizationSettings
SiteProxyOrigin
string
Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc.
SiteSpacePath
string
Path to the space on the site
ContentRefReusableContent
object
3 properties
2 required
DocumentTableDefinitionBase
object
2 properties
2 required
ChangeRequestLinkTitle
string
Optional title to display for the link.
DocumentBlockTabsItem
object
7 properties
4 required
SiteSetup
object
Steps to set up a site, each completed or not from the site's current data.
1 property
1 required
DocumentBlockColumn
object
6 properties
4 required
CustomizationTint
object
1 property
1 required
ContentImportRun
object
14 properties
2 required
SiteAdaptiveContent
object
1 property
1 required
SiteStructureItemPointer
object
2 properties
2 required
DocumentTableViewGrid
object
7 properties
3 required
CustomizationSidebarListStyle
string
- default: Simple list items without special styling, groups are inset with a line. - pill: Rounded capsule shape around selected/active items. - line: Continu…
CustomizationSearchStyle
string
The style of the search button. - prominent: large search bar in the middle of the header, with less room for other header items, - subtle: small search bar in…
CustomizationDepth
string
The degree of visual depth (through shadows, gradients and elevation effects) of elements on the site. - subtle: Subtle shadows and minimal elevation. - flat:…
MergeRulesStandaloneConfiguration
DocumentMarkColor
object
3 properties
3 required
SubscriptionNotice
object
A notice about the organization's subscription to relay to the user, such as how many days are left in their trial. It is returned by the operations whose feat…
8 properties
6 required
DocumentTableRecord
object
2 properties
2 required
DocumentBlockOpenAPIOperation
object
6 properties
4 required
SiteSectionPath
string
Path to the section on the site
EntityId
string
A unique entity identifier
Emoji
string
Unicode codepoint or character of the emoji
DocumentBlockMath
object
5 properties
4 required
ChangeRequest
object
26 properties
14 required
CustomizationDefaultFont
string
DocumentMarkItalic
object
2 properties
2 required
CustomizationAIGreeting
string
Initial greeting displayed by the AI Assistant when a visitor starts a conversation.
DocumentBlockContentRef
object
5 properties
4 required
CustomizationDefaultMonospaceFont
string
CustomizationFooterGroup
object
3 properties
2 required
DocumentBlockListItem
object
6 properties
3 required
DocumentTableDefinitionImage
User
object
6 properties
4 required
SiteType
string
The type of the site
DocumentTextColor
string
Allowed color tokens for color marks (text and background; background reuses this enum). Named colors are fixed palette keys. $ tokens are semantic: resolved f…
FontFamily
string
The human-readable font-family name used in CSS (e.g., "Open Sans", "Playfair Display").
DocumentBlockListOrdered
object
6 properties
4 required
SpaceTitle
string
Title of the space
LocalizedString128
object
Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only.
MergeRulesConfigurationNone
object
The merge rules are disabled, change requests can be merged without review.
1 property
1 required
SpaceEditMode
string
Determines how a Space can be edited. live: Users can directly edit the space locked: All edits are locked for this space.
IntegrationContentSecurityPolicy
Security policy to validate the content of the integrations scripts and Contentkit. Will be sent as headers when processing the script fetch event and the bloc…
DocumentInlineLink
object
6 properties
4 required
SiteSocialAccountHandle
string
A handle on a social platform, without prefixes like the @ symbol.
CustomizationContentLinkTitle
string
IntegrationTarget
string
The target on which the integration can operate and needs to be configured for
DocumentInlineButton
object
5 properties
4 required
The full machine-readable OpenAPI contract behind this narrative.
Other APIs GitBook publishes across the network.