Anomaly Detection with the BigML Dashboard

7.2 Using Anomalies via the BigML API

Anomalies have full citizenship in the BigML API which allows you to programmatically create, configure, retrieve, list, update, delete, and use them to score new data.

See in the example below how to create an anomaly using an existing dataset after you have properly set the BIGML_AUTH environment variable to contain your authentication credentials:

curl "https://bigml.io/anomaly?$BIGML_AUTH" \
     -X POST \
     -H 'content-type: application/json' \
     -d '{"dataset": "dataset/50650bdf3c19201b64000322"}'

For more information on using anomalies through the BigML API, please refer to anomalies REST API documentation.