models_list_builds_logs {civis}R Documentation

Get the logs for a build

Description

Get the logs for a build

Usage

models_list_builds_logs(id, build_id, last_id = NULL, limit = NULL)

Arguments

id

integer required. The ID of the model.

build_id

integer required. The ID of the build.

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]