Monitors

Create server monitor

Add a new monitor to the server.

Processing mode: <small><code>async</code></small>

post/orgs/{organization}/servers/{server}/monitors

Request

Path parameters

organizationstring required

The organization slug

serverinteger required

The server ID

Request body

type'cpu_load' | 'disk' | 'free_memory' | 'used_memory' required
operator'gte' | 'lte' required
thresholdnumber required

The threshold to alert on once breached.

minutesinteger

The frequency in minutes to evaluate the monitor.

notifystring email required

The email address to notify when the monitor is in an alert state.

Example request

{
  "threshold": 90,
  "minutes": 1,
  "notify": "taylor@laravel.com"
}

Response

MonitorResource

Example response

{
  "data": {
    "attributes": {
      "threshold": 90,
      "minutes": 1,
      "notify": "taylor@laravel.com",
      "state_changed_at": "2025-07-30T09:00:00Z",
      "created_at": "2025-07-29T09:00:00Z",
      "updated_at": "2025-07-30T09:00:00Z"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.