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
- Base URLhttps://forge.laravel.com/api
- AuthOAuth 2Authorization codehttps://forge.laravel.com/oauth/authorizeToken URLhttps://forge.laravel.com/oauth/tokenScopesserver:create-monitors
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
organizationstring required
The organization slug
serverinteger required
The server ID
Request body
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.