SlicingDice Documentation

SlicingDice - The All-in-One Solution Documentation

Welcome to the SlicingDice documentation. You'll find comprehensive guides and documentation to help you start working with SlicingDice as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Guides

SQL-based API endpoint

In addition to the SQL Drivers you can also have access to our SQL Drivers using an API endpoint. Using the SlicingDice SQL this way you don't need to worry about installing any driver on your machine.

Overview of the SQL-based API endpoint

Watch this quick video below to learn more about the SQL-based API endpoint.

The SQL-based API endpoint

To use the SQL-based API you need to make requests to a specific endpoint, the endpoint. This endpoint only receives POST requests and requires these parameters:

Authorization: Your Database Key received when a new database was created or a demo Database Key;

Content-Type: The Content-Type should be application/sql.

Using the SQL-based SQL Endpoint

To use the endpoint you simply need to make a request sending the required parameters showed above and a SQL statement on the body of the request. Below you can find some examples.

Insertion statement

Inserting one value to a string column (state) to one entity (Entity1).




$ curl -X POST \
    -H 'Authorization: MASTER_OR_WRITE_API_KEY' \
    -H 'Content-Type: application/sql' \
    -d 'INSERT INTO default ([entity-id], state) VALUES ("Entity1", "CA");'


A simple count entities query that asks how many users live on the California state.

$ curl -X POST \
    -H 'Authorization: MASTER_OR_WRITE_API_KEY' \
    -H 'Content-Type: application/sql' \
    -d 'SELECT COUNT([entity-id]) FROM users WHERE state = 'CA';'

SQL-based API endpoint

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.