Skip to main content

Knowledge Base API

The Knowledge Base API enables you to upload, manage, and retrieve proprietary company documentation. Uploaded files (PDF, DOCX, TXT) are automatically parsed, chunked, converted into vector embeddings, and stored in Pingr AI’s vector database. During live Voice AI phone conversations and automated WhatsApp messaging, agents query this knowledge base via semantic search to deliver accurate, grounded answers in real time.

Key Capabilities

Multi-Format Ingestion

Upload standard documentation formats including Portable Document Format (PDF), Microsoft Word (DOCX), and plain text (TXT).

Automated Vectorization

Background workers chunk document content and generate high-precision vector embeddings for instant semantic search.

Secure Cloud Storage

Source document files are encrypted and securely stored in S3/R2 object storage with streaming download support.

Voice AI RAG Integration

Conversational Voice agents reference document vectors mid-call to answer caller inquiries without hallucinating.

Supported File Formats


Rate Limiting Tiers

  • Document Upload: RateLimitTier.EXPENSIVE — Protects background vectorization queues and object storage quotas.
  • Document Listing & Download: RateLimitTier.READ — High-throughput cached metadata and file streaming.
  • Document Deletion: RateLimitTier.WRITE — Fast purging across metadata, storage, and vector indexes.

Available Endpoints


Previous
Upload document
POST /api/v1/knowledge-base/upload
Next