Create storage

Upload your database

In dev contact please avoid to create multiple Storage with 10000 lines maximum

API Reference:

A Storage can be created using an multipart POST

const form = new FormData();
form.append("name", "my first storage");
form.append("content_type", "text/csv");
// csv separator
form.append("csv_separator", ",");
// column name inside the file
form.append("csv_column_names", "[\"SHA256\",\"POSTAL_CODE\"]");
form.append("file", "/path/to/file");
// indicate if csv contains a header to remove
form.append("csv_has_header", "1");
// indicate column position containing the hash (position start at 1, index at 0)
form.append("csv_mapping_column_position", "1");

fetch("", {
  "method": "POST",
  "headers": {
    "x-api-token": "XXXXX-XXXXX-XXXXX-XXXXX",
    "content-type": "multipart/form-data; boundary=---011000010111000001101001"
.then(response => {
.catch(err => {

Check the status code, if 200 then it's ok. Now you must iterate on Storage to obtains the loading status until you got OK or ERROR.

Get Storage data (and status){id}/get If status is OK you will have some important information on your storage. For example in table_intersect.segment.distinct_mapping_column_values you can see the unique hash count Sirdata has data on. When this part is done you'll be able to create a Filter, allowing you to get statistics on selected segments for your Storage, keep Storage id.

Last updated