Job Logs

Stream the logs for the job with the given id, while the job is running or after it has stopped.

Example Use

gradient jobs logs --jobId <j123abc>

Example Output

Hello Paperspace
Creating file /artifacts/myoutput1.txt
Creating file /artifacts/myoutput2.txt
Finished; returning exit code 0

Properties

Name

Type

Attributes

Description

jobId

string

Required

Id of the job to logs

follow

string

<optional>

line

number

<optional>

Optional; if line is specified logs only logs after that line will be returned (up to limit).

limit

number

<optional>

Optional; number of log lines to retrieve on each request; default limit is 2000.

Last updated