The Databox API allows you to integrate Databox with external systems, automate data ingestion, and extend platform functionality. It follows REST conventions with resource-oriented URLs, JSON request/response bodies, and standard HTTP methods/status codes.
- Retrieve an ingestion
Databox API (v1)
https://api.databox.com/
Request
Creates a new dataset within the specified data source. A dataset acts as a container for ingested data and can later be populated with rows. Once created, the dataset can be used for reporting, visualizations, and transformations within the platform.
Notes:
- Requires a valid
x-api-key
with permission to manage datasets in the target account. - Each dataset must belong to an existing data source; it cannot exist independently.
- The dataset is created empty; data is added afterward through ingestion events.
Human-readable name of the dataset. May be empty but not null.
- Production server
https://api.databox.com/v1/datasets
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.databox.com/v1/datasets \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"title": "Transactions",
"dataSourceId": 4754489,
"primaryKeys": [
"invoice_id"
]
}'
{ "requestId": "b0eac937-c25c-47a5-bb7e-552f6b860458", "status": "success", "id": "4e1219d8-7fa8-44b7-96c6-a8f2a9cfb0bf", "title": "Transactions", "created": "2025-10-01T12:00:00.000000Z" }
- Production server
https://api.databox.com/v1/datasets/{datasetId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://api.databox.com/v1/datasets/4e1219d8-7fa8-44b7-96c6-a8f2a9cfb0bf \
-H 'x-api-key: YOUR_API_KEY_HERE'
{ "requestId": "b0eac937-c25c-47a5-bb7e-552f6b860458", "status": "success", "message": "Dataset deleted successfully" }
- Production server
https://api.databox.com/v1/datasets/{datasetId}/purge
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.databox.com/v1/datasets/4e1219d8-7fa8-44b7-96c6-a8f2a9cfb0bf/purge \
-H 'Content-Type: string' \
-H 'x-api-key: YOUR_API_KEY_HERE'
{ "requestId": "b0eac937-c25c-47a5-bb7e-552f6b860458", "status": "success", "message": "Dataset purged successfully" }
Request
Adds a batch of data records to the specified dataset through an ingestion event.
You can include up to 100 records per ingestion event.
The returned ingestionId
values can be used with the corresponding ingestion details endpoint to retrieve more information the ingestion event.
- Production server
https://api.databox.com/v1/datasets/{datasetId}/data
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.databox.com/v1/datasets/4e1219d8-7fa8-44b7-96c6-a8f2a9cfb0bf/data \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"records": [
{
"transactionId": "9826",
"occurredAt": "2025-10-01T12:00:00.000000Z",
"amount": 42.5,
"tags": [
"promo",
"returning"
]
}
]
}'
{ "requestId": "b0eac937-c25c-47a5-bb7e-552f6b860458", "status": "success", "ingestionId": "8bfba187-84f4-41e2-9dd3-bee4bb884205", "message": "Data ingestion request accepted" }
Request
Retrieves a list of ingestions events that have been created for the specified dataset.
The returned ingestionId
values can be used with the corresponding ingestion details endpoint to retrieve more information about a specific ingestion event.
- Production server
https://api.databox.com/v1/datasets/{datasetId}/ingestions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.databox.com/v1/datasets/4e1219d8-7fa8-44b7-96c6-a8f2a9cfb0bf/ingestions \
-H 'x-api-key: YOUR_API_KEY_HERE'
{ "requestId": "b0eac937-c25c-47a5-bb7e-552f6b860458", "status": "success", "ingestions": [ { … } ] }
- Production server
https://api.databox.com/v1/datasets/{datasetId}/ingestions/{ingestionId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.databox.com/v1/datasets/4e1219d8-7fa8-44b7-96c6-a8f2a9cfb0bf/ingestions/8bfba187-84f4-41e2-9dd3-bee4bb884205 \
-H 'x-api-key: YOUR_API_KEY_HERE'
{ "requestId": "b0eac937-c25c-47a5-bb7e-552f6b860458", "status": "success", "ingestionId": "8bfba187-84f4-41e2-9dd3-bee4bb884205", "timestamp": "2025-10-01T12:00:00.000000Z", "metrics": { "datasetMetrics": { … }, "ingestionMetrics": { … } } }