API Module
import api from 'api';Methods
logs(options)
Queries the org's log. Very useful for creating daily activity reports, searching for access anomalies, etc.
Arguments
options(Object)wheremapgroupsortlimitskip
stats(options)
Queries the org's stats.
Arguments
options(Object)wheremapgroupsortlimitskip
Examples
The following example finds statistics on all the scripts that ran yesterday (does not factor in script errors or local time).Logs Example
Logs Example Response
The following example returns the login statistics for the previous two days.Stats Example
Stats Example Response
Last updated
Was this helpful?