Skip to main content

Managing Resources

Resources are all managed within Snowflake via stored procedures within the Winning Variant Application. Read more here

Resource Kinds

  • Labs (Key: lab): Logical grouping of experiments. You can think of this as a workspace or even just as a folder containing experiments. Each experiment belongs to a lab.
  • Subject Types (Key: subjecttype): Used by experiments, these are types of identifiers that are assigned variants within an experiment. Subject types exist at the account level and can be used across all experiments within all labs. Each experiment must specify the subject type to use for assignments.
  • Experiments (Key: experiment): Any type of experiment you wish to run.

YAML

Schema

Each resource requires a top-level schemaVersion, a resource kind, and a metadata object. Subject types and experiments also require a spec section with details on the resource. For example:

Metadata

When defining a resource in YAML, each must have a metadata section. The following properties within metadata are shared across all resource types:

ResourceStatus

Possible statuses include:

Spec

This is specific to the resource kind. View the pages for Labs, Subjects, or Experiments for more info.

Examples