Skip to main content
Knowledge Bases store files and URLs that an agent can search during calls through RAG. RAG access is gated at two levels:
  • The account must have Knowledge Base (RAG) enabled.
  • The organization must have Knowledge Base (RAG) enabled.
If either gate is disabled, RAG endpoints return 403 forbidden.

Workflow

  1. Create or list knowledge bases for an organization.
  2. Add sources to a knowledge base.
  3. For file sources, upload the file to the returned presigned URL, then enqueue ingestion.
  4. Assign the knowledge base to an agent with Update Agent.
  5. Enable ragEnabled for that agent.

Endpoints

Supported Files

File sources support PDF, DOCX, TXT, HTML, CSV, and Markdown up to 50 MB.