GitBook Organizations API is one of 65 APIs that GitBook publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.
This API exposes 7 JSON Schema definitions.
Tagged areas include Organization. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, a JSON-LD context, and 7 JSON Schemas.
This API exposes
20 operations
across 15 paths,
and defines 200 schemas.
It is described by OpenAPI 3.2.0, at version 0.0.1-beta.
Requests are made against a single base URL, {host}/v1.
The identity and technical contract details declared by the specification.
SearchPageResult
object
Search result representing a page in a space.
10 properties
8 required
BlockReason
string
A short description giving context on the reason for the block.
Expression
string
Expression to evaluate
DocumentBlockDivider
object
5 properties
4 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
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
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
DocumentInlineExpression
object
5 properties
4 required
BillingInterval
string
Interval for a billing subscription
SubscriptionTrial
object
The current or last trial of an organization.
3 properties
3 required
DocumentTableDefinitionUsers
DocumentBlockStepper
object
6 properties
3 required
OptOutUpdate
Set false to disable, or null to remove the opt-out. Omit to leave unchanged.
ContentRef
A relative reference to content in GitBook.
OrganizationPricePair
object
Pricing pair for monthly and yearly intervals
2 properties
2 required
DocumentText
object
3 properties
2 required
GitSyncInstallationStatus
string
SiteTitle
string
Title of the site
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
DocumentBlockFile
object
6 properties
4 required
Site
object
23 properties
13 required
OrganizationCommunityType
string
SearchSpaceResult
object
Search result representing a space.
5 properties
5 required
DocumentBlockIntegration
object
6 properties
4 required
MergeRulesSpaceConfiguration
GitSyncOperationErrorAction
object
An action the user can take to resolve a failed Git Sync operation.
2 properties
2 required
SiteOnboardingAudience
string
Who the user wants to be able to access their site.
DocumentInlineAnnotation
object
7 properties
5 required
VisitorAuthIntegrationBackend
object
1 property
1 required
DocumentBlockEmbed
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…
DocumentBlockReusableContent
object
6 properties
4 required
DocumentTableDefinitionFiles
DefaultLevel
Default level for a piece of content
DocumentMarkSubscript
object
2 properties
2 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
ContentRefCollection
object
2 properties
2 required
DocumentTableDefinitionContentRef
StyleguideTemplates
object
1 property
1 required
DocumentBlockQuote
object
6 properties
3 required
Space
object
28 properties
17 required
SiteAdsTopic
string
Topic of the content
SitePointer
object
2 properties
2 required
GitSyncProvider
string
The provider of the Git Sync installation.
AuditEventTarget
object
3 properties
2 required
DocumentBlockTable
object
6 properties
5 required
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
DocumentMarkKeyboard
object
2 properties
2 required
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
GitSyncOperationState
string
running: The operation is still running failure: The operation failed success: The operation was successful timeout: The operation timed out
OrganizationHostname
string
Default hostname for the organization's public content, e.g. .gitbook.io
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
OrganizationSubscription
object
An organization's subscription, as needed to tell a user their plan, trial and how to upgrade.
7 properties
5 required
ContentImportTarget
object
3 properties
1 required
DocumentBlockListUnordered
object
6 properties
3 required
SiteCustomizationFeature
string
A list of all premium customizations.
OrganizationStyleguide
object
A style guide space and all the sites referencing it.
2 properties
2 required
DocumentBlockHeading
object
7 properties
4 required
OpenAPIOperationPointer
object
Pointer to an operation in the OpenAPI spec.
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
DocumentBlockOpenAPISchemas
object
6 properties
4 required
DocumentTableDefinitionRating
AICreditThreshold
An AI credit threshold from 5% to 50%, or null when disabled.
SiteOnboardingInterest
string
Something the user is interested in doing with the site.
DocumentTextLeaf
object
3 properties
3 required
DocumentMarkStrikethrough
object
2 properties
2 required
DocumentBlockPrompt
object
6 properties
4 required
AuditEvent
object
8 properties
8 required
SiteOnboardingPreferences
object
Preferences collected from the user during site onboarding, used to tailor recommendations and to apply their initial setup choices.
3 properties
3 required
DocumentBlockExpandable
object
7 properties
5 required
OrganizationEmailDomains
array
Icon
string
Name of the icon
AgentConversation
object
7 properties
5 required
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…
DocumentBlockOpenAPIWebhook
object
6 properties
4 required
SiteProxy
object
2 properties
2 required
Organization
object
27 properties
12 required
DocumentInlineMention
object
5 properties
4 required
VisitorAuthCustomBackend
object
1 property
1 required
StyleguideTemplate
object
A built-in style guide starter template used to seed and preview a style guide.
5 properties
3 required
AuditEventActor
object
4 properties
2 required
DocumentMarkSuperscript
object
2 properties
2 required
DocumentBlockUpdates
object
6 properties
4 required
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
OrganizationAISettingsUpdate
object
Partial AI preference update. Omitted keys are unchanged; null removes an opt-out.
9 properties
OrganizationStyleguides
object
1 property
1 required
SearchResultScore
number
Relevance score for a search result. Higher is better and the score is unbounded.
DocumentTableDefinitionText
DocumentBlockCodeLine
object
6 properties
4 required
OrganizationAISettings
object
AI preferences. Missing feature keys leave features enabled, subject to the master AI setting and feature eligibility.
13 properties
OrganizationTitle
string
Name of the organization
JSONDocument
object
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…
SiteFeature
object
A site feature and the plan it is available on.
4 properties
3 required
DocumentBlockImages
object
6 properties
5 required
ContentRefFile
object
3 properties
2 required
BlockSource
string
Source for an organization block
DocumentBlockListTasks
object
6 properties
3 required
OrganizationDefaultContent
The default content for the organization
OpenAPISchemasPointer
object
Pointer to schemas in the OpenAPI spec.
3 properties
1 required
DocumentBlockColumns
object
6 properties
5 required
SiteHostname
string
Custom hostname for the site, for e.g. docs.mycompany.com
DocumentMarkCode
object
2 properties
2 required
SiteBasename
string
Basename for the site. For e.g. api
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
DocumentTableViewCards
object
8 properties
3 required
ContentRefOpenAPI
object
2 properties
2 required
SearchSectionResult
object
Search result representing a section in a page.
7 properties
6 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
SiteProxyOrigin
string
Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc.
ContentRefReusableContent
object
3 properties
2 required
DocumentTableDefinitionBase
object
2 properties
2 required
DocumentBlockTabsItem
object
7 properties
4 required
DocumentBlockColumn
object
6 properties
4 required
AuditEventAction
object
3 properties
3 required
ContentImportRun
object
14 properties
2 required
SiteAdaptiveContent
object
1 property
1 required
DocumentTableViewGrid
object
7 properties
3 required
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
EntityId
string
A unique entity identifier
Emoji
string
Unicode codepoint or character of the emoji
DocumentBlockMath
object
5 properties
4 required
OrganizationAgentInstructions
object
5 properties
5 required
DocumentMarkItalic
object
2 properties
2 required
DocumentBlockContentRef
object
5 properties
4 required
DocumentBlockListItem
object
6 properties
3 required
DocumentTableDefinitionImage
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…
DocumentBlockListOrdered
object
6 properties
4 required
SpaceTitle
string
Title of the space
SiteOnboardingSource
string
Where the user's docs are coming from today.
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.
DocumentInlineLink
object
6 properties
4 required
CreateOrganization
object
3 properties
1 required
BillingMeterAddon
object
1 property
1 required
DocumentInlineButton
object
5 properties
4 required
The full machine-readable OpenAPI contract behind this narrative.
Other APIs GitBook publishes across the network.