Cockpit serves a JSON based API on /api. CORS is enabled by default, so every application can access it by default.

The following resources can be modified using the API:


We do recommend always set the Content-Type: application/json header when POSTing data to this API.

Client Libraries

As of now, there is only one client library we are aware of. If yo u're in the process of developing one, feel free to submit a Pull Request into this documentation repo on GitHub.

Name Language / Framework
ginetta/cockpit-sdk JavaScript / Node.js
Last Updated: 2/4/2019, 4:10:39 PM