Add a watchdog
Arms immediately, using the endpoint's existing history so there is no blind first window. GET /watchdogs/suggest proposes an interval from what the endpoint actually receives.
Authorization
apiKey API key in the Authorization header: Authorization: Bearer wv_live_…. Keys are created on the API keys page in the app, shown once, and scoped to your workspace. X-Api-Key: wv_live_… is accepted as a fallback for tools that can't set Authorization.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"endpointId": "c8d2c7e1-e4b1-4108-9e29-3429a36a1ef3",
"endpointName": "string",
"name": "string",
"state": "waiting",
"active": true,
"pausedByPlan": true,
"match": {},
"expectedIntervalSeconds": 0,
"graceSeconds": 0,
"armedAt": "2019-08-24T14:15:22Z",
"lastMatchedAt": "2019-08-24T14:15:22Z",
"lastMatchedRequestId": 0,
"dueAt": "2019-08-24T14:15:22Z",
"alarmAt": "2019-08-24T14:15:22Z",
"alarmedAt": "2019-08-24T14:15:22Z",
"recoveredAt": "2019-08-24T14:15:22Z",
"lastAlertedAt": "2019-08-24T14:15:22Z",
"alertContactIds": [
"2120fb08-6235-482f-8d22-9118e2776815"
],
"createdAt": "2019-08-24T14:15:22Z"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"traceId": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"traceId": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"traceId": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"traceId": "string"
}