Anomify API Documentation

/anomalies

/anomalies

/anomaly

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

/image

/image/anomaly
/image/metric

/js

/js/eventsender

/login

/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/graph
/org/info
/org/summary
/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/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: /login

Detail

Log in a user and return a session token.

This method must be requested using POST and will fail with GET.

Parameters

Key Required Example
email yes myname@mydomain.org
password yes mysecretpassword

Example Output

{
    "status": {
        "created_timestamp": 1657034872,
        "created_string": "Tue 05 Jul 2022 @ 15:27 (UTC)",
        "duration": 0.127,
        "language": "en-gb",
        "timezone": {
            "timezone_type": 3,
            "timezone": "UTC"
        },
        "code": 200,
        "oldest_cached_component_age": 2767,
        "session_id": "659e8c297cb040430a660b284a50bd21",
        "org_onboarding_status_id": 300,
        "api_host": "api-stage.anomify.ai",
        "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": true,
            "pattern_trained": true
        }
    },
    "data": {
        "two_factor_auth_required": false,
        "session": {
            "id": "659e8c297cb040430a660b284a50bd21",
            "user": {
                "id": 101,
                "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": false,
                    "alerts_intro": false,
                    "alerts_from_search": false,
                    "training_intro": false,
                    "alert_created": true,
                    "test_alert_sent": true,
                    "two_alerts_sent": true,
                    "pattern_trained": true
                }
            }
        }
    }
}

Live Request

URL: /login

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.