media_list_optimizations_runs_logs {civis}R Documentation

Get the logs for a run

Description

Get the logs for a run

Usage

media_list_optimizations_runs_logs(id, run_id, last_id = NULL, limit = NULL)

Arguments

id

integer required. The ID of the optimization.

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.


[Package civis version 3.1.2 Index]