Anomify API Documentation
Anomify AI Main Site | Anomify Documentation
This copy of our API documentation is no longer updated and may be inaccurate. Please go to http://api-docs.anomify.ai/.

/anomalies

/anomalies

/anomaly

/anomaly/lookup
/anomaly/train
/anomaly/{anomaly_id}

/billing

/billing/checkoutcallback
/billing/getcheckoutsession
/billing/getportalsession
/billing/history

/doc

/doc/openapi

/exclusion

/exclusion/add
/exclusion/delete
/exclusion/list
/exclusion/test
/exclusion/types

/image

/image/anomaly
/image/metric

/js

/js/eventsender

/login

/login

/login DEBUG 100

/login DEBUG 100

/login DEBUG 1069

/login DEBUG 1069

/login DEBUG STAGE

/login DEBUG STAGE

/login

/login/forgotpassword
/login/resetpassword
/login/validateclient

/match

/match/{match_id}
/match/{match_id}/graph
/match/{match_id}/motif/graph

/metric

/metric/{metric_name}
/metric/{metric_name}/anomalies
/metric/{metric_name}/anomalysummary
/metric/{metric_name}/bundle
/metric/{metric_name}/graph
/metric/{metric_name}/patterns
/metric/{metric_name}/timeseries
/metric/{metric_name}/yhat

/metrics

/metrics
/metrics/mostanomalous
/metrics/mostrecentlyanomalous
/metrics/mostrecentlymatched

/misc

/misc/phonecodes
/misc/timesince
/misc/timezones

/org

/org/adminalert/{alert_code}
/org/adminalerts
/org/channels
/org/events
/org/getquotametrics
/org/graph
/org/info
/org/removequotametrics
/org/stripecallback
/org/summary
/org/testmetrics
/org/update
/org/users

/pattern

/pattern/{pattern_id}
/pattern/{pattern_id}/disable
/pattern/{pattern_id}/matches
/pattern/{pattern_id}/timeseries

/patterns

/patterns/pending

/ping

/ping

/signup

/signup/demo
/signup/demo-orgs
/signup/selfserve
/signup/verify

/status

/status

/user

/user/delete
/user/info
/user/logout
/user/ping
/user/reportissue
/user/update
/user/updatepassword

/watcher

/watcher/create
/watcher/{watcher_id}/delete
/watcher/{watcher_id}/undelete
/watcher/{watcher_id}/update

/watchers

/watchers/chips
/watchers/list

Method: /metric/{metric_name}

Detail

This method is not available to demo user accounts.

Return a summary for an individual metric.

Parameters

None. The metric name is specified in the URL, e.g.

/metric/graphite-labs_wikimedia_org.cloudinfra.cloud-cumin-01.cpu.total.idle

Example Output

{
    "status": { ... see /login method for status block structure ... },
    "data": {
        "metric": {
            "id": 699,
            "metric": "graphite-labs_wikimedia_org.cloudinfra.cloud-cumin-01.cpu.total.idle",
            "total_anomalies": 67,
            "total_patterns": 2,
            "total_pattern_matches": 2,
            "created_timestamp": 1584626685,
            "created_timestamp_string": "March 19th 2020",
            "trainable": true
        },
        "last_analyzed_timestamp": null,
        "last_analyzed_timestamp_string": null,
        "matching_watchers": [
            {
                "id": 269,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 151,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": "[phone number redacted]",
                    "slack_member_id": "[slack member id redacted]",
                    "demo": false,
                    "admin": true,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "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": true
                    },
                    "onboarding_flags": {
                        "main_intro": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": true,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": true
                    }
                }
            },
            {
                "id": 270,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 151,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": "[phone number redacted]",
                    "slack_member_id": "[slack member id redacted]",
                    "demo": false,
                    "admin": true,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "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": true
                    },
                    "onboarding_flags": {
                        "main_intro": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": true,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": true
                    }
                }
            },
            {
                "id": 266,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 103,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": "[phone number redacted]",
                    "slack_member_id": "[slack member id redacted]",
                    "demo": false,
                    "admin": true,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "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": true
                    },
                    "onboarding_flags": {
                        "main_intro": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": true,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": true
                    }
                }
            },
            {
                "id": 265,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 103,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": "[phone number redacted]",
                    "slack_member_id": "[slack member id redacted]",
                    "demo": false,
                    "admin": true,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "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": true
                    },
                    "onboarding_flags": {
                        "main_intro": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": true,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": true
                    }
                }
            },
            {
                "id": 264,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 103,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": "[phone number redacted]",
                    "slack_member_id": "[slack member id redacted]",
                    "demo": false,
                    "admin": true,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "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": true
                    },
                    "onboarding_flags": {
                        "main_intro": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": true,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": true
                    }
                }
            },
            {
                "id": 181,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 102,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": null,
                    "slack_member_id": null,
                    "demo": false,
                    "admin": true,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "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": true
                    },
                    "onboarding_flags": {
                        "main_intro": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": false,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": true
                    }
                }
            },
            {
                "id": 281,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 151,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": "[phone number redacted]",
                    "slack_member_id": "[slack member id redacted]",
                    "demo": false,
                    "admin": true,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "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": true
                    },
                    "onboarding_flags": {
                        "main_intro": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": true,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": true
                    }
                }
            },
            {
                "id": 302,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 328,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": null,
                    "slack_member_id": null,
                    "demo": false,
                    "admin": false,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "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": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": false,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": false
                    }
                }
            }
        ]
    }
}

Live Request

URL: /metric/

You need to be logged in to your Anomify account to to make live API requests.

Please log in here or sign up to Anomify

Email
Password

Live request results will appear here.