We are currently transitioning our API documentation to Apidog and making changes to improve standardization, and as such, methods are subject to change.
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
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET '/org/events'
Responses
🟢200An example Response
application/json
Body
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"}]}}