Association Discovery with the BigML Dashboard

8.5 Consuming Association Sets

You can perform all the association set actions explained in this document such as creating, retrieving, listing, updating, and deleting association sets via the BigML API.

The example below shows how to create an association set with the definition of the input data after the BIGML_AUTH environment variable, which was previously set with your authentication credentials:

curl "https://bigml.io/associationset?$BIGML_AUTH" \
     -X POST \
     -H 'content-type: application/json' \
     -d '{"association": "association/5423625af0a5ea3eea000028",
          "input_data": ["oranges", "apples"}'

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