/org/graph
DevelopingGET
/org/graphModified at: 20 days ago
Return a graph in either PNG or JSON format as requested, summarising activity on your organisation.
Request
Query Params
from
string
optional
Timestamp. Example: 1588603852.
until
string
optional
Timestamp. Example: 1588690252.
format
string
optional
Preferred format for output. Defaults to JSON if not specified. Example: png,json.
width
string
optional
An optional integer from 1 upwards. Does not apply to JSON output. Example: number.
height
string
optional
An optional integer from 1 upwards. Does not apply to JSON output. Example: number.
aspect_ratio
string
optional
An optional integer from 1 upwards. Example: number.
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": 1657638861,
"created_string": "Tue 12 Jul 2022 @ 15:14 (UTC)",
"duration": 0.415,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 1868,
"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": {
"bokehjson": "{ ... lots of JSON data here ... }"
}
}
Last modified: 20 days ago