Alpha
Endpoints

Overview

Overview of all Deskctl API endpoints and capabilities.

Deskctl exposes a simple RESTful API. All endpoints are prefixed with /api.

Base URL

By default, the API is available at: http://<YOUR_PC_IP>:9990

Custom Ports

9990 is the default port. If you changed the port during installation or in the config.json file, make sure to use your custom port here.

Quick Reference

Endpoint Summary

MethodEndpointDescriptionStatus
GET/api/statusHealth check✅ Stable
GET/api/systemStatic system info✅ Stable
GET/api/usageDynamic usage data✅ Stable
POST/api/pw/*Power commands✅ Stable
GET/api/media/statusNow playing info✅ Stable
POST/api/media/controlMedia controls✅ Stable
GET/api/processesTop processes (Aggregated)✅ Stable
GET/api/processes/{name}Process details & PIDs✅ Stable
POST/api/processes/focusFocus window✅ Stable
POST/api/processes/killTerminate process✅ Stable
POST/api/processes/launchLaunch application✅ Stable
GET/api/streamSSE real-time stats✅ Stable
WS/api/wsWebSocket (bidirectional)✅ Stable
GET/api/statsCombined stats⚠️ Deprecated

Deprecated Endpoint

/api/stats is deprecated and will be removed in future updates. Use /api/system and /api/usage instead.

On this page