/org/events
DevelopingGET
/org/eventsLast modified: 2 months ago
Return a list of recent (or custom timeframe) events for the current org.
Request
Query Params
from
string
optional
Timestamp. Example: 1588603852.
until
string
optional
Timestamp. Defaults to current timestamp if unspecified. Example: 1588690252.
period
string
optional
One of: "3h" (3 hours, default), "24h" (24 hours), "3d" (3 days), or "7d" (7 days). This will take preference over a "from" timestamp if both are specified. Example: 24h.
report
string
optional
One of: "anomalies", "matches", "training", or "all" (default). Example: all.
order
string
optional
One of: "asc", "desc" (default). Example: desc.
filter
string
optional
One of: "recent" (most recent events per metric only), or "all" (default). Example: all.
Request samples
Responses
An example Response(200)
An example Response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": {
"created_timestamp": 1674149633,
"created_string": "Thu 19 Jan 2023 @ 17:33 (GMT)",
"duration": 0.994,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "Europe/London"
},
"code": 200,
"oldest_cached_component_age": 14,
"session_id": "d6037f30af93eff210e40d2fc83210ed",
"org_onboarding_status_id": 300,
"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": false,
"test_alert_sent": false,
"two_alerts_sent": false,
"pattern_trained": false
}
},
"data": {
"events": [
{
"event_type": "anomaly",
"event_id": 252500,
"metric_id": 722,
"metric_name": "org_101.graphite-labs_wikimedia_org.clouddb-services.clouddb1003.memory.Active"
},
{
"event_type": "anomaly",
"event_id": 252495,
"metric_id": 723,
"metric_name": "org_101.graphite-labs_wikimedia_org.clouddb-services.clouddb1003.memory.Cached"
},
{
"event_type": "anomaly",
"event_id": 252494,
"metric_id": 722,
"metric_name": "org_101.graphite-labs_wikimedia_org.clouddb-services.clouddb1003.memory.Active"
}
]
}
}
Last modified: 2 months ago