API & Billing

API & Billing

API

Ragbee's REST API lets you build your own front ends on top of your document workspaces. Full interactive docs live at ragbee.ai/api/ (schema browser), and the API quickstart has copy-paste examples.

Getting a key: Dashboard → API keys — create a key and keep it secret; it authenticates all calls for your tenant.

Main endpoints:

  • POST /api/v1/chat/ — ask a grounded question against a workspace, get an answer with sources
  • GET /api/v1/documents/ — list your documents
  • POST /api/v1/documents/ — upload a document
  • POST /api/v1/documents/delete/ — delete documents
  • POST /api/v1/search/ — retrieval-only search across a workspace (no generation)
  • POST /api/v1/urls/ingest/ — ingest a URL's content as a document

All requests authenticate with your API key and are tenant-scoped — a key can only ever reach your own documents and workspaces.

Typical first call:

curl -X POST https://ragbee.ai/api/v1/chat/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"workspace_id": 1, "question": "What is the PTO policy?"}'

Billing

  • Plans and current usage live under Dashboard → Billing
  • Monthly question limits apply across chat and chatbot usage; every plan includes the chatbots
  • Details at ragbee.ai/billing/pricing

Need a custom volume, on-prem, or a security review? Contact support — we answer every message.