Get insight

Get the insight details.


GET/api/servers/{server}/insights/{id}

Get an insight

This endpoint allows you to retrieve the details of a specific insight on your server.

Request

GET
/api/servers/{server}/insights/{id}
curl -G "https://ploi.io/api/servers/{server}/insights/{id}" \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json"

Response

{
  "data": {
    "id": 1,
    "status": "open",
    "description": "Your **supervisor** service is running, but you do not seem to use it. You can save resources by stopping this service, you can always start it when you need it.",
    "log_file": "/var/log/supervisor/supervisor.log",
    "priority": "medium",
    "meta": null,
    "is_fixable": true,
    "processed_at": null,
    "created_at": "2021-11-09 12:50:40"
  }
}