The REST API¶
At its core, the DSS public API is a REST HTTP API. The reference HTTP documentation of the DSS REST API can be found here: https://doc.dataiku.com/dss/api/4.2/rest.
The API base URL is: http://dss_host:dss_port/public/api/
Request and response formats¶
For POST and PUT requests, the request body must be JSON, with the Content-Type header set to application/json.
For almost all requests, the response will be JSON.
Whether a request succeeded is indicated by the HTTP status code. A 2xx status code indicates success, whereas a 4xx or 5xx status code indicates failure. When a request fails, the response body is still JSON and contains additional information about the error.
Authentication on the REST API is done via the use of API keys. API keys can be managed through the DSS administration UI.
The API key must be sent using HTTP Basic Authorization:
- Use the API key as username
- The password can remain blank