Get the logs for a Service deployment

services_list_deployments_logs(id, deployment_id, start_at = NULL,
  end_at = NULL, limit = NULL)

Arguments

id

integer required. The ID of the owning Service.

deployment_id

integer required. The ID for this deployment.

start_at

string optional. Log entries with a lower timestamp will be omitted.

end_at

string optional. Log entries with a higher timestamp will be omitted.

limit

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

Value

An array containing the following fields:

message

string, The log message.

stream

string, The stream of the log. One of "stdout", "stderr".

createdAt

string, The time the log was created.

source

string, The source of the log. One of "system", "user".