Using the APIs inside of DSS#

When running inside of DSS, nothing is required in order to use the APIs contained in the dataiku package.

Just import the dataiku package and start using the functions and classes documented here.

The REST API client (dataikuapi package) can also be used from inside DSS. In that case, you don’t need to provide any API key, as the API client will automatically inherit connection credentials from the current context. Instead, simply use dataiku.api_client()

import dataiku

client = dataiku.api_client()

# client is now a DSSClient and can perform all authorized actions.
# For example, list the project keys for which you have access