API Reference
GET
monitor_service_details/{dropletId}Get Service Details
Get Service Details is a GET request to https://api.sharkcluster.com/monitor_service_details/{dropletId} in the Server Management section of the SharkCluster API. Scans the server for the operational status of critical services (e.g., Nginx, MySQL, Redis) and provides security alerts such as recent failed SSH login attempts. It takes 1 parameter, 1 required (dropletId).
Request URL
GET
https://api.sharkcluster.com/monitor_service_details/{dropletId}How do you call Get Service Details?
- 1Get a token from the login endpoint (POST /login) and send it as Authorization: Bearer <token>. See Login.
- 2Send a GET request to https://api.sharkcluster.com/monitor_service_details/{dropletId}, replacing {dropletId} in the path with your own value.
Request parameters
| Parameter | Type | Description |
|---|---|---|
dropletIdRequired | string | The Internal Server ID or Provider Instance ID. |
AuthorizationRequired | header | Bearer token for authentication (e.g., Bearer eyJ...). |
What does Get Service Details return?
A successful call returns a JSON object with the fields last_boot, failed_logins, cron_failures, service_status and alerts.
Request sample
const axios = require('axios');
const dropletId = "0000-1111-2222";
axios.get(`https://api.sharkcluster.com/monitor_service_details/${dropletId}`, {
headers: { 'Authorization': 'Bearer YOUR_TOKEN' }
})
.then(res => console.log("Real-time Stats:", res.data.data))
.catch(err => console.error(err));Response
{
"last_boot": "2026-05-05 08:53:08",
"failed_logins": 82,
"cron_failures": 0,
"service_status": "All services running",
"alerts": [
{
"label": "Failed Logins",
"value": "82 attempts"
}
]
}Related Server Management endpoints
Stuck on an integration?
Raise a ticket from the panel with the endpoint and the response you got back — it reaches an engineer with your server already attached.