Association Discovery with the BigML Dashboard

9.2 Using Associations via the BigML API

Associations have full citizenship in the BigML API, which allows you to programmatically create, update, list, and delete them.

See in the example below how you can create an association after you properly set the BIGML_AUTH environment variable, which was previously set with your authentication credentials:

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

Each association has a unique identifier in the form of “association/ID”, where ID is a string of 24 alpha-numeric characters that you can use to retrieve and further manipulate the association programatically. For more information on using associations through the BigML API, please refer to associations REST API documentation.