The DataRobot Python Client Library (v3.13.0) provides a programmatic interface for interacting with the DataRobot AI Platform, enabling users to manage projects, create models, perform predictions, and automate MLOps workflows. It follows a regular release cadence, typically monthly or bi-monthly, aligning with platform updates.
pip install datarobotVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to initialize the DataRobot client, which by default reads configuration from environment variables (DATAROBOT_ENDPOINT, DATAROBOT_API_TOKEN). It then lists the first five projects accessible to the authenticated user. Ensure your environment variables are set for successful execution.
For versions 3.0 and newer, set `DATAROBOT_ENDPOINT` and `DATAROBOT_API_TOKEN` environment variables. If you need to explicitly pass them, use `dr.Client(endpoint='...', token='...')`.
Consult the DataRobot Python Client documentation for your specific version, especially for `Project.get_recommended_model().predict()` or `Deployment.predict()`, to ensure correct method signatures and return types.
Set the `REQUESTS_CA_BUNDLE` environment variable to the path of your corporate CA certificate bundle or `CURL_CA_BUNDLE` for similar effect. Alternatively, you might need to configure proxy settings via `HTTP_PROXY` and `HTTPS_PROXY` environment variables. As a last resort (not recommended for production), `dr.Client(verify_ssl=False)` can temporarily bypass SSL verification.
For large dataset uploads, consider using `dr.Dataset.create_from_file(filepath, max_wait=3600)` and ensure your client timeout is sufficient. For downloading predictions, use methods that allow for streaming or chunking, or retrieve predictions from a prediction server/deployment directly.
No dependency data recorded yet.