/watcher/{watcher_id}
DesigningGET
/watcher/{watcher_id}Last modified: 2 months ago
Return the full information for the watcher identified by {watcher_id}
Request
Path Params
watcher_id
integer
required
Request samples
Responses
An example Response(200)
Record Not Found(404)
An example Response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
#/definitions/875319required
data
object
required
watcher
object
required
Example
{
"status": {
"created_timestamp": 1708025356,
"created_string": "Thu 15 Feb 2024 @ 19:29 (GMT)",
"duration": 0.052,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "Europe/London"
},
"code": 200,
"oldest_cached_component_age": 619,
"session_id": "1a25cfc4c14ae7195522878ccb0cd28f",
"org_onboarding_status_id": 300,
"org_upgraded": 10000,
"api_host": "anomalarm.dev.dropbox.dev.local",
"user_onboarding_flags": {
"main_intro": false,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": false,
"pattern_trained": false,
"seen_card_anomalies": false,
"seen_card_matches": false,
"seen_card_training": false,
"seen_card_all": false
}
},
"data": {
"watcher": {
"id": 12,
"type": "ai",
"name": "Si Test Org 100 Alert",
"is_alert": true,
"is_deleted": false,
"expiration_time_seconds": 600,
"owner": {
"id": 153,
"org_id": 100,
"name": "Fraser’s Dolphin",
"email": "aa-admin+100@anomify.ai",
"phone_number": "",
"slack_member_id": "",
"demo": false,
"org_admin": false,
"system_admin": false,
"org": {
"id": 100,
"name": "Internal Production",
"timezone": "Europe/London",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": false
},
"onboarding_flags": {
"main_intro": false,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": false,
"pattern_trained": false,
"seen_card_anomalies": false,
"seen_card_matches": false,
"seen_card_training": false,
"seen_card_all": false
}
},
"threshold": null,
"slack_channel": null,
"teams_webhook_url": null,
"recipients": [
{
"user": {
"id": 153,
"org_id": 100,
"name": "Fraser’s Dolphin",
"email": "aa-admin+100@anomify.ai",
"phone_number": "",
"slack_member_id": "",
"demo": false,
"org_admin": false,
"system_admin": false,
"org": {
"id": 100,
"name": "Internal Production",
"timezone": "Europe/London",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": false
},
"onboarding_flags": {
"main_intro": false,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": false,
"pattern_trained": false,
"seen_card_anomalies": false,
"seen_card_matches": false,
"seen_card_training": false,
"seen_card_all": false
}
},
"notification_type": "alert_email"
}
]
}
}
}
Last modified: 2 months ago