How to list all the deployed API’s from all the infrastructures uisng pytho?

Sunny
Registered Posts: 6 ✭
How to list and check for authorization
Best Answer
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,254 Dataiker
Hi @Sunny
,You can use the api : https://doc.dataiku.com/dss/latest/python-api/api-services.html#api-deployer
Example :import dataikuapi deployer_client = dataikuapi.DSSClient("http://localhost:11000", "<personal_api_key_from_deployer_node") api_deployer = deployer_client.get_apideployer() print(api_deployer.list_deployments())
Hope that helps
Answers
-
Hi @AlexT
, Thanks for the response.