-
Get all monitors (
GET /monitors
)- Parameters:
#/components/parameters/workspaceResultsQuery
- Responses:
- 200:
#/components/responses/getMonitors
- 401:
#/components/responses/common401Error
- 403:
#/components/responses/featureUnavailable403Error
- 500:
#/components/responses/common500ErrorServerError
- 200:
- Parameters:
-
Create monitor (
POST /monitors
)- Parameters:
#/components/parameters/workspaceQuery
- Note: Cannot create monitors for collections added to an API definition
- Request Body:
#/components/requestBodies/createMonitor
- Required fields:
- name: Monitor name
- collection: Collection ID to monitor
- schedule: Schedule configuration
- cron: Cron expression for timing
- timezone: Timezone for schedule
- Optional fields:
- environment: Environment ID to use
- options: Monitor options
- strictSSL: SSL verification setting
- followRedirects: Redirect handling
- requestTimeout: Request timeout in ms
- notifications: Notification settings
- Required fields:
- Responses:
- 200:
#/components/responses/createMonitor
- 400:
#/components/responses/monitors400CreateErrors
- 401:
#/components/responses/common401Error
- 403:
#/components/responses/common403ErrorAndFeatureUnavailable
- 500:
#/components/responses/common500ErrorServerError
- 200:
- Parameters:
-
Get specific monitor (
GET /monitors/{monitorId}
)- Parameters:
#/components/parameters/monitorId
(required)
- Responses:
- 200:
#/components/responses/getMonitor
- 401:
#/components/responses/common401Error
- 403:
#/components/responses/featureUnavailable403Error
- 404:
#/components/responses/instanceNotFoundMonitor
- 500:
#/components/responses/common500ErrorServerError
- 200:
- Parameters:
-
Update monitor (
PUT /monitors/{monitorId}
)- Parameters:
#/components/parameters/monitorId
(required)
- Request Body:
#/components/requestBodies/updateMonitor
- Optional fields:
- name: Updated monitor name
- collection: New collection ID
- environment: New environment ID
- schedule: Updated schedule configuration
- cron: New cron expression
- timezone: New timezone
- options: Updated monitor options
- strictSSL: SSL verification setting
- followRedirects: Redirect handling
- requestTimeout: Request timeout in ms
- notifications: Updated notification settings
- Optional fields:
- Responses:
- 200:
#/components/responses/updateMonitor
- 400:
#/components/responses/monitors400ErrorInvalidCronPattern
- 401:
#/components/responses/common401Error
- 403:
#/components/responses/featureUnavailable403Error
- 404:
#/components/responses/instanceNotFoundMonitor
- 500:
#/components/responses/common500ErrorServerError
- 200:
- Parameters:
-
Delete monitor (
DELETE /monitors/{monitorId}
)- Parameters:
#/components/parameters/monitorId
(required)
- Responses:
- 200:
#/components/responses/deleteMonitor
- 401:
#/components/responses/common401Error
- 403:
#/components/responses/featureUnavailable403Error
- 500:
#/components/responses/common500ErrorServerError
- 200:
- Parameters:
-
Run monitor (
POST /monitors/{monitorId}/run
)- Parameters:
#/components/parameters/monitorId
(required)#/components/parameters/async
- Note: For async=true, response won't include stats, executions, and failures
- Note: Use GET /monitors/{id} to get this information for async runs
- Responses:
- 200:
#/components/responses/runMonitor
- 401:
#/components/responses/common401Error
- 403:
#/components/responses/featureUnavailable403Error
- 500:
#/components/responses/common500ErrorServerError
- 200:
- Parameters:
- Monitor CRUD operations
- Scheduled runs
- Manual run capability
- Run results and statistics
- Workspace integration
- Async/sync run modes
- Feature availability control