> ## Documentation Index
> Fetch the complete documentation index at: https://developers.hubspot.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve a knowledge base

> Retrieve a specific knowledge base by its ID. Returns its name, language, domain, URL, access settings, language variants (translations), and related metadata.

> [accordion] Supported products

> [accordion] Required scopes


## OpenAPI

````yaml specs/2027-03-beta/cms-knowledge-base-v2027-03-beta.json GET /cms/knowledge-base/2027-03-beta/knowledge-bases/{knowledgeBaseId}
openapi: 3.0.1
info:
  title: CMS Knowledge Base
  description: Basepom for all HubSpot Projects
  version: 2027-03-beta
  x-hubspot-product-tier-requirements:
    marketing: FREE
    sales: FREE
    service: FREE
    cms: FREE
    commerce: FREE
    crmHub: FREE
    dataHub: FREE
servers:
  - url: https://api.hubapi.com
security: []
tags:
  - name: Basic
  - name: Categories
  - name: Drafts
  - name: Tags
paths:
  /cms/knowledge-base/2027-03-beta/knowledge-bases/{knowledgeBaseId}:
    get:
      tags:
        - Basic
      summary: Retrieve knowledge base
      description: >-
        Retrieve a specific knowledge base by its ID. Returns its name,
        language, domain, URL, access settings, language variants
        (translations), and related metadata.
      operationId: get-/cms/knowledge-base/2027-03-beta/knowledge-bases/{knowledgeBaseId}
      parameters:
        - name: knowledgeBaseId
          in: path
          description: The unique identifier of the knowledge base to retrieve.
          required: true
          style: simple
          explode: false
          schema:
            type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KnowledgeBase'
        default:
          $ref: '#/components/responses/Error'
          description: ''
      security:
        - oauth2:
            - cms.knowledge_base.settings.read
        - oauth2:
            - cms.knowledge_base.articles.publish
        - oauth2:
            - cms.knowledge_base.articles.write
        - oauth2:
            - cms.knowledge_base.articles.read
        - oauth2:
            - cms.knowledge_base.settings.write
components:
  schemas:
    KnowledgeBase:
      required:
        - accessType
        - createdAt
        - domain
        - id
        - language
        - name
        - path
        - relatedArticlesEnabled
        - translations
        - updatedAt
        - url
      type: object
      properties:
        accessType:
          type: string
          description: "The access level for the knowledge base: PUBLIC, SSO_LOGIN, or ACCESS_GROUP_MEMBERSHIP.\t"
          enum:
            - ACCESS_GROUP_MEMBERSHIP
            - PUBLIC
            - SSO_LOGIN
        createdAt:
          type: string
          description: >-
            The date and time the knowledge base was created, in ISO 8601
            format.
          format: date-time
        createdByUserId:
          type: string
          description: The ID of the user who created the knowledge base.
        domain:
          type: string
          description: The domain associated with the knowledge base.
        id:
          type: string
          description: The unique identifier for the knowledge base.
        language:
          type: string
          description: "The knowledge base’s language, as an ISO 639 code (e.g. en).\t"
        metaDescription:
          type: string
          description: A brief description of the knowledge base, used for SEO.
        name:
          type: string
          description: The name of the knowledge base.
        path:
          type: string
          description: >-
            The URL path segment for the knowledge base. Combined with domain,
            this forms the URL field.
        relatedArticlesEnabled:
          type: boolean
          description: >-
            A boolean indicating whether related articles are enabled for the
            knowledge base.
        translations:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/KnowledgeBaseTranslationSummary'
          description: >-
            The knowledge base’s translations, keyed by language code, with each
            value a KnowledgeBaseTranslationSummary.
        updatedAt:
          type: string
          description: >-
            The date and time when the knowledge base was last updated, in ISO
            8601 format.
          format: date-time
        updatedByUserId:
          type: string
          description: >-
            The unique identifier of the user who last updated the knowledge
            base.
        url:
          type: string
          description: The full URL of the knowledge base.
    KnowledgeBaseTranslationSummary:
      required:
        - domain
        - name
        - path
        - url
      type: object
      properties:
        domain:
          type: string
          description: The domain associated with the knowledge base translation.
          example: '{ "domain": "ayuda-es.example.com" }'
        metaDescription:
          type: string
          description: "A brief description of the knowledge base translation, used for SEO. null if not set.\t"
          example: '{ "metaDescription": "Aprende a usar nuestro producto." }'
        name:
          type: string
          description: The name of the knowledge base translation.
          example: '{ "name": "Guía de usuario" }'
        path:
          type: string
          description: "The URL path segment for the knowledge base translation. Combined with domain, this forms the URL field.\t"
          example: '{ "path": "ayuda" }'
        url:
          type: string
          description: >-
            The full URL of the knowledge base translation, combining domain and
            path.
          example: '{ "url": "https://ayuda-es.example.com/ayuda" }'
    Error:
      required:
        - category
        - correlationId
        - message
      type: object
      properties:
        category:
          type: string
          description: The error category
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Context about the error condition
          example: >-
            {invalidPropertyName=[propertyValue], missingScopes=[scope1,
            scope2]}
        correlationId:
          type: string
          description: >-
            A unique identifier for the request. Include this value with any
            error reports or support tickets
          format: uuid
          example: aeb5f871-7f07-4993-9211-075dc63e7cbf
        errors:
          type: array
          description: further information about the error
          items:
            $ref: '#/components/schemas/ErrorDetail'
        links:
          type: object
          additionalProperties:
            type: string
          description: >-
            A map of link names to associated URIs containing documentation
            about the error or recommended remediation steps
        message:
          type: string
          description: >-
            A human readable message describing the error along with remediation
            steps where appropriate
          example: An error occurred
        subCategory:
          type: string
          description: >-
            A specific category that contains more specific detail about the
            error
      description: >-
        Represents an error response returned by the API when an operation
        fails. This component is used in various endpoints to provide detailed
        information about the error encountered.
      example:
        message: Invalid input (details will vary based on the error)
        correlationId: aeb5f871-7f07-4993-9211-075dc63e7cbf
        category: VALIDATION_ERROR
        links:
          knowledge-base: https://www.hubspot.com/products/service/knowledge-base
    ErrorDetail:
      required:
        - message
      type: object
      properties:
        code:
          type: string
          description: The status code associated with the error detail
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Context about the error condition
          example: '{missingScopes=[scope1, scope2]}'
        in:
          type: string
          description: The name of the field or parameter in which the error was found.
        message:
          type: string
          description: >-
            A human readable message describing the error along with remediation
            steps where appropriate
        subCategory:
          type: string
          description: >-
            A specific category that contains more specific detail about the
            error
      description: >-
        Represents detailed information about an error that occurred in the API.
        This component is used to provide additional context and specifics about
        errors, typically as part of an error response.
  responses:
    Error:
      description: An error occurred.
      content:
        '*/*':
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://app.hubspot.com/oauth/authorize
          tokenUrl: https://api.hubapi.com/oauth/v1/token
          scopes:
            cms.knowledge_base.articles.publish: ''
            cms.knowledge_base.articles.read: ''
            cms.knowledge_base.articles.write: ''
            cms.knowledge_base.settings.read: ''
            cms.knowledge_base.settings.write: ''

````