Skip to main content

Hi all,

I would like to export datapools as json using content-cli in the ML workbench in order to backup them in Git. I have created an API key in my profile and used it in a python script with content-cli pull data-pool --id data-pool-id, which successfully generated a json of the datapool.

However, I don't want to do this with a user-based API key but with an Application key (created under admin&settings).

When I run the same command using the Application key, I get the error "error: The provided team or api key is wrong."

With get_celonis(api_token=“applicationkey”, key_type="APP_KEY") however, I can see the Application key and all its permissions.

Is content-cli possible with an Application key and if so, how can I use it?

Be the first to reply!

Reply