SHOW RUNS IN EXPERIMENT

statementsupportedAI & ML

docs.snowflake.com ↗

Lists the runs in an experiment.

Syntax

supportedpartialnot supportednot scored

SHOW RUNS [ LIKE '<pattern>' ] IN EXPERIMENT <name>

Parameters

NameRequiredDescription
LIKE 'pattern'Optionally filters the command output by object name. The filter uses case-insensitive pattern matching, with support for SQL wildcard characters (% and _). For example, the following patterns return the same results: ... LIKE '%testing%' ... ... LIKE '%TESTING%' ... Default: No value (no filtering is applied to the output).
nameSpecifies the identifier of the experiment to inspect. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. For more information, see Identifier requirements.

Usage notes

Output

The output of the command includes the following columns, which describe the properties and metadata of the object: Column | Description created_on | Date and time when the run was created. name | The identifier for the run. database_name | The database that the run is stored in. schema_name | The schema that the run is stored in. experiment_name | The experiment that the run belongs to. metadata | A JSON object containing the run status and metrics. The status field of the run is one of RUNNING, PAUSED, FINISHED, FAILED, or CANCELLED. For more information, see Run statuses. The metrics field reports the metrics of the run. Only the latest metric value (the one with the highest step) is included.

Access control requirements

A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes USAGE | Experiment | Operating on an object in a schema requires at least one privilege on the parent database and at least one privilege on the parent schema. For instructions on creating a custom role with a specified set of privileges, see Creating custom roles. For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.

See also

Referenced by