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 sourcesPOST /api/v1/search/— retrieval-only search across a workspace (no generation)GET /api/v1/workspaces/— list your workspaces with ready-document countsPOST /api/v1/workspaces/— create a workspace (slug auto-derived from the name)GET /api/v1/documents/— list your documentsPOST /api/v1/documents/— upload a documentGET /api/v1/documents/{id}/— document detail: status, workspaces, version/chunk/fact countsGET /api/v1/documents/{id}/facts/— structured facts extracted from a documentGET /api/v1/documents/{id}/chunks/— paginated chunk inspectionPOST /api/v1/documents/{id}/search/— blended search scoped to a single documentPOST /api/v1/documents/assign/— assign or unassign documents to workspaces (shared, no duplication)POST /api/v1/documents/delete/— delete documentsPOST /api/v1/documents/restore/— restore deleted documents from trashPOST /api/v1/documents/purge/— permanently purge deleted documentsPOST /api/v1/urls/ingest/— ingest one or more URLs as documents
The interactive API reference always reflects the full, current endpoint list.
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.