Skip to main content
GET
/
v0
/
containers
/
{container_id}
/
docs
Knowledge Domains: List Documents
curl --request GET \
  --url https://api.example.com/v0/containers/{container_id}/docs
{
  "documents": [
    {}
  ],
  "entities": [
    {}
  ],
  "relationships": [
    {}
  ],
  "stats": {}
}

Overview

Fetch all documents for a knowledge domain container, plus the extracted entities and relationships. Access is restricted to the container owner derived from your BBOT-API-Key.

Authentication

Send your API key:
BBOT-API-Key
string
Your BBOT API key

Path Parameters

container_id
string
required
Knowledge container id (example: userId_expertId_knowledge_name)

Response

documents
array
Document objects for the container (includes sections, chunks, and token counts where available)
entities
array
Entities extracted from the documents
relationships
array
Relationships inferred between entities
stats
object
Summary counts: document_count, entity_count, relationship_count

Example Request

cURL
curl --location 'https://api.b-bot.space/api/v0/containers/<container_id>/docs' \
  --header 'BBOT-API-Key: <your-bbot-api-key>'