Anomify API Documentation
Anomify AI Main Site | Anomify Documentation

/anomalies

/anomalies

/anomaly

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

/billing

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

/exclusion

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

/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/events
/org/getquotametrics
/org/getstripesession
/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: /pattern/{pattern_id}/timeseries

Detail

Returns the timeseries for the pattern identified in the URL.

Parameters

Key Required Example Description
resolution no 600 Resolution of results in seconds. Should be a multiple of 600. Defaults to 600 if not supplied
max_graph_width no 1000 Automatically determines the best resolution for the specified graph width. This parameter takes precedence over any value specified as "resolution"

Pattern id is supplied in the URL, e.g.

/pattern/928/timeseries

Example Output

{
    "status": { ... see /login method for status block structure ... }
},
        "code": 200,
        "oldest_cached_component_age": 2359,
        "session_id": "103bfbd9f2cdd43fe809104eefc713f7",
        "org_onboarding_status_id": 300,
        "api_host": "api-stage.anomify.ai",
        "user_onboarding_flags": {
            "main_intro": true,
            "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": {
        "resolution": 2400,
        "columns_timeseries": [
            "timestamp",
            "datetime_string",
            "average"
        ],
        "timeseries": [
            [
                1639468800,
                "December 14th 2021",
                206205.33333333334
            ],
            [
                1639471200,
                "December 14th 2021",
                206836.75
            ],
            [
                1639473600,
                "December 14th 2021",
                207159
            ],
            [
                1639476000,
                "December 14th 2021",
                207251.375
            ],
            [
                1639478400,
                "December 14th 2021",
                207310.675
            ],
            [
                1639480800,
                "December 14th 2021",
                207305.825
            ],
            [
                1639483200,
                "December 14th 2021",
                207363.475
            ],
            [
                1639485600,
                "December 14th 2021",
                207405.025
            ],
            [
                1639488000,
                "December 14th 2021",
                207318.8
            ],
            [
                1639490400,
                "December 14th 2021",
                207264.225
            ],
            [
                1639492800,
                "December 14th 2021",
                207301.325
            ],
            [
                1639495200,
                "December 14th 2021",
                207175.4
            ],
            [
                1639497600,
                "December 14th 2021",
                207204.5
            ],
            [
                1639500000,
                "December 14th 2021",
                207196.475
            ],
            [
                1639502400,
                "December 14th 2021",
                207195.95
            ],
            [
                1639504800,
                "December 14th 2021",
                207121.5
            ],
            [
                1639507200,
                "December 14th 2021",
                207110.075
            ],
            [
                1639509600,
                "December 14th 2021",
                207155.025
            ],
            [
                1639512000,
                "December 14th 2021",
                207292
            ],
            [
                1639514400,
                "December 14th 2021",
                207182
            ],
            [
                1639516800,
                "December 14th 2021",
                207231.675
            ],
            [
                1639519200,
                "December 14th 2021",
                207015.6
            ],
            [
                1639521600,
                "December 14th 2021",
                206909.3
            ],
            [
                1639524000,
                "December 14th 2021",
                207154.35
            ],
            [
                1639526400,
                "December 15th 2021",
                207210.775
            ],
            [
                1639528800,
                "December 15th 2021",
                207275.3
            ],
            [
                1639531200,
                "December 15th 2021",
                207119.375
            ],
            [
                1639533600,
                "December 15th 2021",
                207192.175
            ],
            [
                1639536000,
                "December 15th 2021",
                207277.525
            ],
            [
                1639538400,
                "December 15th 2021",
                207330.4
            ],
            [
                1639540800,
                "December 15th 2021",
                207322.85
            ],
            [
                1639543200,
                "December 15th 2021",
                207408.85
            ],
            [
                1639545600,
                "December 15th 2021",
                207289.65
            ],
            [
                1639548000,
                "December 15th 2021",
                207249
            ],
            [
                1639550400,
                "December 15th 2021",
                207370.15
            ],
            [
                1639552800,
                "December 15th 2021",
                207377.425
            ],
            [
                1639555200,
                "December 15th 2021",
                207341.2
            ],
            [
                1639557600,
                "December 15th 2021",
                222452.91666412354
            ]
        ]
    }
}

Live Request

URL: /pattern//timeseries

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.