scripts_list_javascript_runs_logs: Get the logs for a run

Description Usage Arguments Value

Description

Get the logs for a run

Usage

1
scripts_list_javascript_runs_logs(id, run_id, last_id = NULL, limit = NULL)

Arguments

id

integer required. The ID of the javascript.

run_id

integer required. The ID of the run.

last_id

integer optional. The ID of the last log message received. Log entries with this ID value or lower will be omitted.Logs are sorted by ID if this value is provided, and are otherwise sorted by createdAt.

limit

integer optional. The maximum number of log messages to return. Default of 10000.

Value

An array containing the following fields:

id

integer, The ID of the log.

createdAt

string, The time the log was created.

message

string, The log message.

level

string, The level of the log. One of unknown,fatal,error,warn,info,debug.


civisanalytics/civis-r documentation built on June 27, 2020, 7:25 a.m.