/pattern/{pattern_id}/timeseries
DevelopingGET
/pattern/{pattern_id}/timeseriesLast modified: 2 months ago
Returns the timeseries for the pattern identified in the URL.
Request
Path Params
pattern_id
string
required
Query Params
resolution
string
optional
Resolution of results in seconds. Should be a multiple of 600. Defaults to 600 if not supplied. Example: 600.
max_graph_width
string
optional
Automatically determines the best resolution for the specified graph width. This parameter takes precedence over any value specified as "resolution". Example: 1000.
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": 1657643011,
"created_string": "Tue 12 Jul 2022 @ 16:23 (UTC)",
"duration": 0.272,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"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
]
]
}
}
Last modified: 2 months ago