Links

REST API - Datasets

Get Dataset(s)

get
https://api.akk.io
/v1/datasets
Get Dataset(s)
# Example cURL
curl --location --request GET 'https://api.akk.io/v1/datasets?id=id_string&api_key=api_key_string'

Create Dataset

post
https://api.akk.io
/v1/datasets
Create Dataset
# Example cURL to create a new empty dataset
curl --location --request POST 'https://api.akk.io/v1/datasets?name=name_string&api_key=api_key_string'
# Example cURL to create a new dataset from a CSV
curl --location --request POST 'https://api.akk.io/v1/datasets?name=name_string&api_key=api_key_string' -F '[email protected]/path/to/your/file.csv'

Update Dataset Fields

post
https://api.akk.io
/v1/datasets
Update Dataset Fields
# Example cURL
curl --location -g --request POST 'https://api.akk.io/v1/datasets?fields=[{'\''name'\'': '\''field name 1'\'', '\''type'\'': '\''integer'\''}]&id=id_string&api_key=api_key_string'

Add Rows To Dataset

post
https://api.akk.io
/v1/datasets
Add Rows To Dataset
# Example cURL
curl --location -g --request POST 'https://api.akk.io/v1/datasets?rows=[{'\''field name 1'\'': '\''value 1'\'', '\''field name 2'\'': 0}]&id=id_string&api_key=api_key_string'

Delete Dataset

delete
https://api.akk.io
/v1/datasets
Delete Dataset
# Example cURL
curl --location --request DELETE 'https://api.akk.io/v1/datasets?id=id_string&api_key=api_key_string'