Welcome to XplainDB (xDB)

Your Unified Multi-Model Database

What is XplainDB?

XplainDB is a powerful, developer-friendly database that unifies multiple data models into a single, cohesive engine. It combines the flexibility of NoSQL documents, the relational power of SQL, the connected insights of a Graph, and the semantic understanding of Vector search. All your data lives in one place, accessible through the lens that best fits your problem.

Getting Started

  1. Explore the API Documentation:
    Your instance includes auto-generated, interactive documentation. This is the best place to see all available endpoints and test them live.

    View API Docs
  2. Create a Database & Get Your Key:
    To start, you need to create a database instance and get your root admin key. Simply navigate to the /bootstrap endpoint for your chosen database name. For example, to create a database named 'test_db', you would visit: http://db.xplainnn.com/test_db/bootstrap.
  3. Run Your First Query:
    Once you have your API key, you can send queries to the /{db_name}/query endpoint. Here's an example using cURL to insert your first document:
    $ curl -X POST "http://db.xplainnn.com/test_db/query" \
      -H "X-API-Key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Host: a_tenant.your_domain.com" \
      -d '{     "query": {       "type": "insert",       "collection": "users",       "data": {"_id": "user_1", "name": "Alice"}     },     "convert_sql": false   }'