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

# Get a knowledge base

> A single knowledge base by id. Every other endpoint takes this id, so this is how you confirm one is reachable with your credentials before operating on it.



## OpenAPI

````yaml /api-reference/specs/claudia/v1.json get /v1/knowledge-bases/{kbId}
openapi: 3.0.1
info:
  title: Claudia API
  version: 1.0.0
servers:
  - url: https://api.cloudhumans.com/claudia
    description: Production
  - url: https://api.cloudhumans.com/claudia/staging
    description: Staging
security:
  - bearerAuth: []
tags:
  - name: MCP Servers
    description: >-
      The MCP servers your agents can call tools on. Registering one here is
      what makes its tools selectable in an agent; the credentials it needs are
      stored encrypted and never read back.
  - name: Knowledge Base Content
    description: Read, search and edit the content that answers your customers.
  - name: Content Quality
    description: Rewrites proposed for content that is answering your customers badly.
  - name: Playground
    description: >-
      Talk to one of your agents as if you were a customer, without touching a
      real conversation.
  - name: Project Settings
    description: >-
      Read and change how a ClaudIA project behaves — the settings screens of
      the ClaudIA app, as an API.
  - name: Content Improvements
    description: Answers Claudia proposes for questions your content does not cover yet.
  - name: Knowledge Bases
    description: The knowledge bases your account can manage.
  - name: Content Sources
    description: The sites Claudia crawls to keep a knowledge base in sync.
paths:
  /v1/knowledge-bases/{kbId}:
    get:
      tags:
        - Knowledge Bases
      summary: Get a knowledge base
      description: >-
        A single knowledge base by id. Every other endpoint takes this id, so
        this is how you confirm one is reachable with your credentials before
        operating on it.
      operationId: getKnowledgeBase
      parameters:
        - name: kbId
          in: path
          description: Knowledge base to read. Get the ids from listMyKnowledgeBases.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The knowledge base.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KnowledgeBase'
        '400':
          description: The request could not be answered as written.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, expired or invalid credentials.
        '403':
          description: The credentials hold no account allowed to manage this content.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: >-
            No such resource, or none these credentials can reach — the two are
            deliberately indistinguishable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit applied by the API gateway. Back off and retry.
components:
  schemas:
    KnowledgeBase:
      required:
        - accountId
        - createdAt
        - instance
        - name
        - updatedAt
      type: object
      properties:
        id:
          type: string
          description: Use this id in the content endpoints.
          example: 6683f1c2a4b19e0012ab34cd
        name:
          type: string
          description: Display name.
          example: Support FAQ
        accountId:
          type: string
          description: >-
            Account this knowledge base belongs to, e.g. `7`. Only unique within
            `instance`: read the two together — the pair is what identifies the
            account, and accountId on its own does not.
        instance:
          type: string
          description: >-
            CloudChat instance the account lives in, e.g. `4`. With `accountId`
            it forms the pair that identifies this row's account, which is what
            tells rows apart when one listing spans several accounts.
        createdAt:
          type: string
          description: When it was created (ISO-8601).
          example: '2026-08-10T14:32:05'
        updatedAt:
          type: string
          description: When it last changed (ISO-8601).
          example: '2026-08-10T18:20:41'
      description: A knowledge base you can manage.
    Error:
      required:
        - error
      type: object
      properties:
        error:
          type: string
          description: What went wrong.
          example: 'Forbidden: token holds no claim for the requested account'
      description: Something the caller needs to fix.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````