> ## 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.

# List and search content

> Paginated content listing. Filter exactly by label, topic, status or source, or set semanticSearch=true to rank by meaning instead. Interactive flows are never returned here.



## OpenAPI

````yaml /api-reference/specs/claudia/v1.json get /v1/knowledge-bases/{kbId}/entries
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}/entries:
    get:
      tags:
        - Knowledge Base Content
      summary: List and search content
      description: >-
        Paginated content listing. Filter exactly by label, topic, status or
        source, or set semanticSearch=true to rank by meaning instead.
        Interactive flows are never returned here.
      operationId: listEntries
      parameters:
        - name: kbId
          in: path
          description: Knowledge base to operate on. Get the ids from listMyKnowledgeBases.
          required: true
          schema:
            type: string
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            description: Rows to skip. Page with `total` and `hasNext` from the response.
            format: int32
            example: 0
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            description: Page size. Capped at 200.
            format: int32
            example: 50
        - name: sortBy
          in: query
          required: false
          schema:
            type: string
            description: >-
              Field to order by. Ignored when semanticSearch is true — relevance
              decides the order then.
            enum:
              - updatedAt
              - createdAt
              - type
              - tag
        - name: sortDir
          in: query
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
        - name: semanticSearch
          in: query
          required: false
          schema:
            type: boolean
            description: >-
              Rank by meaning instead of filtering. Needs searchTerm; a
              natural-language question works better here than keywords.
        - name: searchTerm
          in: query
          required: false
          schema:
            type: string
            description: >-
              What to search for. Substring match by default; the query to rank
              by when semanticSearch is true.
        - name: label
          in: query
          required: false
          schema:
            type: string
            description: Exact label match. Read the labels in use from getEntryTags.
        - name: topic
          in: query
          required: false
          schema:
            type: string
            description: Exact topic match. Read the topics in use from getEntryTopics.
        - name: type
          in: query
          required: false
          schema:
            type: string
            description: >-
              Content type filter. INTERACTIVE is rejected — flows are not part
              of this surface.
            enum:
              - N1
              - N2
              - INTERACTIVE
        - name: status
          in: query
          required: false
          schema:
            type: string
            description: Keep only active or only disabled content.
            enum:
              - PUBLISHED
              - DRAFT
              - SCHEDULED
              - DISABLED
        - name: sourceType
          in: query
          required: false
          schema:
            type: string
            description: Where the content came from (manual authoring, import, scraping).
            enum:
              - MANUAL
              - IMPORTED
              - DOCUMENT
      responses:
        '200':
          description: One page of content.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntryPage'
        '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:
    EntryPage:
      required:
        - hasNext
        - items
        - limit
        - offset
        - total
      type: object
      properties:
        items:
          type: array
          description: The content on this page.
          items:
            $ref: '#/components/schemas/Entry'
        total:
          type: integer
          description: Total matching the query, across all pages.
          format: int64
          example: 137
        offset:
          type: integer
          description: Offset this page started at.
          format: int32
          example: 0
        limit:
          type: integer
          description: Page size actually applied (capped at 200).
          format: int32
          example: 50
        hasNext:
          type: boolean
          description: Whether another page follows.
          example: true
      description: One page of content.
    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.
    Entry:
      required:
        - createdAt
        - disabled
        - updatedAt
      type: object
      properties:
        id:
          type: string
          description: Use this id in the single-entry endpoints.
          example: 6683f1c2a4b19e0012ab34cd
        title:
          type: string
          description: What the content is about — the question it answers.
          example: Prazo de entrega
        response:
          type: string
          description: The answer itself.
          example: Entregamos em até 5 dias úteis.
        label:
          type: string
          description: Tag applied to this content. Empty when untagged.
          example: logistica
        topic:
          type: string
          description: Topic this content is grouped under.
          example: Entregas
        type:
          type: string
          description: Support level this content answers at.
          example: N1
          enum:
            - N1
            - N2
            - INTERACTIVE
        disabled:
          type: boolean
          description: Disabled content stays stored but is not used to answer.
          example: false
        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 piece of content used to answer your customers.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````