Job Artifacts

This feature is only available in the hosted gradient Gradient version. Contact Sales to learn more.

About

Interact with any job artifacts available to either the current authenticated user or the team, if the user belongs to a team. The artifacts method has 3 sub commands - list, get & destroy.

Artifacts List

gradient jobs artifacts list --size --link --files model.* --id <job id>

Parameters

ParameterName

Type

Attributes

Description

-s,--size

boolean

<optional>

Show the file Size

-l,--links

boolean

<optional>

Show the file URL

--files

string

<optional>

Filter to get only a given file. Can use * as a wildcard.

--id JOB_ID

string

required

job id to list artifacts for

Artifacts Get

Get all of the artifacts associated with a job.

gradient jobs artifacts get --id <job id>

Parameters

ParameterName

Type

Attributes

Description

--id JOB_ID

string

required

job id to get artifacts for

Artifacts Destroy

Destroy all of the artifacts associated with a job.

gradient jobs artifacts destroy --id <job id>

Parameters

ParameterName

Type

Attributes

Description

--id JOB_ID

string

required

job id to destroy artifacts for