Datasets
Our Datasets endpoint can be used to programmatically import data either as a new dataset, or appended to an existing one.
Get Dataset(s)
GET
https://api.akkio.com/v1/datasets
Get all datasets in your organization, or optionally get a specific dataset
Query Parameters
id
string
(Optional): If dataset ID is included, only the specific dataset is returned
api_key*
string
Your api key, accessible from https://app.akkio.com/team-settings
Create Dataset
POST
https://api.akkio.com/v1/datasets
Creates a dataset with a given name
Request Body
name*
string
The name of the dataset to be created
api_key*
string
Your API key, accessible from https://app.akkio.com/team-settings
Add Rows To Dataset
POST
https://api.akkio.com/v1/datasets
Request Body
rows
array
List of rows in form [{'field name 1': 'value 1', 'field name 2': 0}, {...}, ...]
id
string
The ID of the dataset to add rows to
api_key *
string
Your API key, accessible from https://app.akkio.com/team-settings
NOTE! The first time you add data to your dataset, it will define the schema for that dataset
When passing data via the form body, make sure the JSON is of the form:
{
"rows": [
{<row1>},
{<row2>}
]
}
Delete Dataset
DELETE
https://api.akkio.com/v1/datasets
Deletes a given dataset from a given ID
Request Body
api_key*
string
Your API key, accessible from https://app.akkio.com/team-settings
id
string
The ID of the dataset
Last updated
Was this helpful?