Generates and retrieves a new analysis for the account

Syntax
.create(/data/)

Arguments

Field nameTypeDescription
token
stringToken for the generated analysis.
id
stringId of the new analysis.
name
string
A name for the analysis.
description
string
[optional]
A description of the analysis. 
interval
string
The time interval for when the analysis is to run. Default is Never 
active
bool
[optional] 
Set if the analysis will be active. Default True. 
variables
array
[optional] 
Environment variables to be passed when the analysis runs.
tags array
[optional] 
An array of objects with key and value.

Returns {Promise<JSON>}