REST API - Models

Create Model

post
https://api.akk.io
/v1/models
Create Model
// Example cURL
curl --location -g --request POST 'https://api.akk.io/v1/models?dataset_id=id_string&api_key=api_key_string&data=[{'\''field name 1'\'': '\''value 1'\'', '\''field name 2'\'': 0}]&force=true&duration =10&predict_fields=['\''field1'\'','\''field2'\'']&ignore_fields=['\''field3'\'',field4'\'']'

Make Prediction

post
https://api.akk.io
/v1/models
Make Prediction
// Example cURL
curl --location -g --request POST 'https://api.akk.io/v1/models?id=id_string&api_key=api_key_string&data=[{'\''field name 1'\'': '\''value 1'\'', '\''field name 2'\'': 0}]'

Get All Models

get
https://api.akk.io
/v1/models
Get All Models
// Example cURL
curl --location --request GET 'https://api.akk.io/v1/models?api_key=api_key_string'

Delete Model

delete
https://api.akk.io
/v1/models
Delete Model
// Example cURL
curl --location --request DELETE 'https://api.akk.io/v1/models?id=id_string&api_key=api_key_string'
Copy link
On this page
post
Create Model
post
Make Prediction
get
Get All Models
delete
Delete Model