Skip to main content

PaginatedResponse[KnowledgeDocumentDirectoryRead]

items object[]required
  • Array [
  • idIdrequired

    RAG directory id.

    product_id object

    Main app product id that owns this knowledge directory.

    anyOf
    integer
    agent_idAgent Idrequired

    Agent id whose chatbot can retrieve knowledge from this directory.

    nameNamerequired

    Human-readable directory name used to group knowledge documents in RAG context.

    descriptionDescription

    Optional directory description that helps explain what this directory contains.

    Default value:
    created_atdate-timerequired

    When this directory row was created in the RAG database.

    document_countDocument Count

    Number of knowledge documents currently stored in this directory.

    Default value: 0
  • ]
  • pagePagerequired
    limitLimitrequired
    totalTotalrequired
    pagesPagesrequired
    PaginatedResponse[KnowledgeDocumentDirectoryRead]
    {
    "items": [
    {
    "id": 0,
    "product_id": 0,
    "agent_id": 0,
    "name": "string",
    "description": "",
    "created_at": "2024-07-29T15:51:28.071Z",
    "document_count": 0
    }
    ],
    "page": 0,
    "limit": 0,
    "total": 0,
    "pages": 0
    }