For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create a new documentation site in an organization

Creates a new documentation site within the organization. Optionally links one or more existing spaces as content sources at creation time. The site is created in an unpublished state; call the publish endpoint separately to make it publicly accessible.

Available in MCP
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
Body
typestring · enumOptional

The type of the site. Defaults to:

  • Sponsored for community organizations
  • Ultimate for all other organizations
Possible values:
titlestring · min: 2 · max: 128Optional

Title of the site

visibilitystring · enumOptional

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: Anyone can access the site, and the site is not indexed by search engines
  • share-link: Anyone with a secret token in the url can access the site.
  • visitor-auth: Anyone authenticated through a JWT token can access the site.
Possible values:
spacesstring[]Optional

ID of spaces to be added to the site

Responses
201

Site created

application/json
post/orgs/{organizationId}/sites
201

Site created

Last updated

Was this helpful?

Powered by GitBook